summaryrefslogtreecommitdiff
path: root/net/scotty/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/scotty/Makefile
parentUpgrade to v1.08 (diff)
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
Notes
Notes: svn path=/head/; revision=3954
Diffstat (limited to 'net/scotty/Makefile')
-rw-r--r--net/scotty/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/net/scotty/Makefile b/net/scotty/Makefile
index 2f8274be6e0d..e0d41e1575e0 100644
--- a/net/scotty/Makefile
+++ b/net/scotty/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>