diff options
author | gahr <gahr@FreeBSD.org> | 2014-01-13 20:05:03 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2014-01-13 20:05:03 +0800 |
commit | 5a8ba4bc3fd43e9c967b8923746a81e500deddf8 (patch) | |
tree | 35ebe925ae07da4e73fdd2dbe6c110964e7c73b4 /sysutils | |
parent | da005c5a0dd5e8fddefa60b3f695ba1908ed39b0 (diff) | |
download | freebsd-ports-gnome-5a8ba4bc3fd43e9c967b8923746a81e500deddf8.tar.gz freebsd-ports-gnome-5a8ba4bc3fd43e9c967b8923746a81e500deddf8.tar.zst freebsd-ports-gnome-5a8ba4bc3fd43e9c967b8923746a81e500deddf8.zip |
- Convert to USES=tcl
- STAGE-clean
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/tclsyslog/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sysutils/tclsyslog/Makefile b/sysutils/tclsyslog/Makefile index be31adf0587e..c4e98fec3749 100644 --- a/sysutils/tclsyslog/Makefile +++ b/sysutils/tclsyslog/Makefile @@ -10,26 +10,24 @@ MASTER_SITES= http://ftp.wagner.pp.ru/pub/tcl/tclsyslog/ MAINTAINER= frank@fenor.de COMMENT= Tcl Interface to Syslog -USE_TCL= 84+ -MANN= syslog.n -MANCOMPRESSED= no +USES= tcl WRKSRC= ${WRKDIR}/tclsyslog PLIST_FILES= lib/syslog/libsyslog.so.2.1 \ - lib/syslog/pkgIndex.tcl + lib/syslog/pkgIndex.tcl \ + man/mann/syslog.n.gz PLIST_DIRS= lib/syslog -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -E \ -e 's|CC=gcc|CC=${CC}|' \ -e 's| gcc| $${CC} $${CFLAGS}|' \ -e 's|CFLAGS=|CFLAGS=${CFLAGS} |' \ -e 's|LDFLAGS=-shared -L/usr/local/lib|LDFLAGS=-shared -L${PREFIX}/lib|' \ - -e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|' \ + -e 's|PREFIX=/usr/local|PREFIX=${STAGEDIR}${PREFIX}|' \ -e 's|INCLUDES=-I/usr/local/include|INCLUDES=-I${TCL_INCLUDEDIR}|' \ - -e 's|LOADLIBES=-ltclstub8.2|LOADLIBES=-ltclstub${TCL_VER:S/.//}|' \ + -e 's|LOADLIBES=-ltclstub8.2|LOADLIBES=-ltclstub${TCL_SHLIB_VER}|' \ ${WRKSRC}/Makefile .include <bsd.port.mk> |