summaryrefslogtreecommitdiffstats
path: root/usr.bin/tclsh/Makefile
blob: c847be75c701af0c9d82254ef3c23f5d4d8cc467 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $Id: Makefile,v 1.5 1997/08/18 11:39:19 peter Exp $

PROG=   tclsh
SRCS=   tclAppInit.c

BINDIR= /usr/bin

.PATH: ${DESTDIR}/usr/libdata/tcl

MAN1=   tclsh.1

CLEANFILES=     ${MAN1}

tclsh.1:        ${.CURDIR}/../../contrib/tcl/doc/tclsh.1
	sed '/\.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;' < ${.ALLSRC} > ${.TARGET}

CFLAGS+= -I${DESTDIR}/usr/include/tcl
LDADD+= -ltcl -lm
DPADD+= ${LIBTCL} ${LIBM}

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud