summaryrefslogtreecommitdiffstats
path: root/net-mgmt/scotty3/Makefile
diff options
context:
space:
mode:
authorerich <erich@FreeBSD.org>1996-10-10 14:54:38 +0000
committererich <erich@FreeBSD.org>1996-10-10 14:54:38 +0000
commitca35e5251fa5c8992e590453713f99b2928ee8b3 (patch)
tree5bcbcf6b30501a6e8fcddbefa68e12006de93766 /net-mgmt/scotty3/Makefile
parent76dfb452840504411e99c077d6519aa1f292385b (diff)
downloadFreeBSD-ports-ca35e5251fa5c8992e590453713f99b2928ee8b3.zip
FreeBSD-ports-ca35e5251fa5c8992e590453713f99b2928ee8b3.tar.gz
make package now works.
some files are installed in .../$(uname -m)-$(uname)-$(uname -r)/..., so we've got to use the `construct a PLIST' trick. Pointed out by: Satoshi
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 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>
OpenPOWER on IntegriCloud