1130b656e5
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
21 lines
342 B
Makefile
21 lines
342 B
Makefile
# $FreeBSD$
|
|
|
|
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;' < $> > $@
|
|
|
|
LDADD+= -ltcl -lm
|
|
DPADD+= ${LIBTCL} ${LIBM}
|
|
|
|
.include <bsd.prog.mk>
|