aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/scotty3/Makefile
diff options
context:
space:
mode:
authorEric L. Hernes <erich@FreeBSD.org>1996-10-10 14:54:38 +0000
committerEric L. Hernes <erich@FreeBSD.org>1996-10-10 14:54:38 +0000
commit585cf7dd5e1f9e605b318238e05f5a641d328a0a (patch)
treecf02cf25c9524aefa7176de493f769860a7a9150 /net-mgmt/scotty3/Makefile
parent38b78587122d9fc1582db7a9c3ede2c29c8fec22 (diff)
downloadports-585cf7dd5e1f9e605b318238e05f5a641d328a0a.tar.gz
ports-585cf7dd5e1f9e605b318238e05f5a641d328a0a.zip
Notes
Diffstat (limited to 'net-mgmt/scotty3/Makefile')
-rw-r--r--net-mgmt/scotty3/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/net-mgmt/scotty3/Makefile b/net-mgmt/scotty3/Makefile
index 2f8274be6e0d..e0d41e1575e0 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>