diff options
Diffstat (limited to 'net-mgmt/scotty3/Makefile')
-rw-r--r-- | net-mgmt/scotty3/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/net-mgmt/scotty3/Makefile b/net-mgmt/scotty3/Makefile index 2f8274b..e0d41e1 100644 --- a/net-mgmt/scotty3/Makefile +++ b/net-mgmt/scotty3/Makefile @@ -3,7 +3,7 @@ # Date created: 18 Februar 1995 # Whom: Gennady Sorokopud <gena@netvision.net.il> # -# $Id: Makefile,v 1.10 1996/07/10 02:55:48 asami Exp $ +# $Id: Makefile,v 1.11 1996/09/17 12:50:34 erich Exp $ # DISTNAME= scotty-2.1.3 @@ -13,13 +13,21 @@ MASTER_SITES= ftp://ftp.ibr.cs.tu-bs.de/pub/local/tkined/ LIB_DEPENDS= tk41\\.1\\.:${PORTSDIR}/x11/tk41 GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-tcl-config=/usr/libdata/tcl --with-tk-config=/usr/local/lib +CONFIGURE_ARGS= --with-tcl-config=/usr/libdata/tcl \ + --with-tk-config=/usr/local/lib WRKSRC=${WRKDIR}/${DISTNAME}/unix pre-install: @cd ${WRKSRC};make sinstall @cp ${WRKSRC}/../tnm/ntping/ntping.8 ${WRKSRC}/../doc + @sed "s,@FREEBSD_VERSION@,$$(uname -m)-$$(uname)-$$(uname -r)," pkg/PLIST.in >/tmp/PLIST +.if defined(NOMANCOMPRESS) + @sed "s,@GZIP@,," /tmp/PLIST >pkg/PLIST +.else + @sed "s,@GZIP@,.gz," /tmp/PLIST >pkg/PLIST +.endif + @rm /tmp/PLIST post-install: .if !defined(NOMANCOMPRESS) @@ -46,4 +54,7 @@ post-install: gzip -9nf ${PREFIX}/man/mann/udp.n .endif +pre-clean: + @rm -f pkg/PLIST + .include <bsd.port.mk> |