From c021677ca328375437196b01daa12eac3df866a4 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Mon, 10 Mar 1997 10:49:00 +0000 Subject: Fix this so it will package. Also, instead of making "PLIST" from "PLIST.in", make "PLIST.tmp" from "PLIST". The difference is that we can now do a grep on PLIST on the entire ports tree to find what the scotty port installed. --- net-mgmt/scotty3/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'net-mgmt/scotty3') diff --git a/net-mgmt/scotty3/Makefile b/net-mgmt/scotty3/Makefile index 29d91ef9bdf9..53cd44a5c804 100644 --- a/net-mgmt/scotty3/Makefile +++ b/net-mgmt/scotty3/Makefile @@ -3,7 +3,7 @@ # Date created: 18 Februar 1995 # Whom: Gennady Sorokopud # -# $Id: Makefile,v 1.15 1996/12/03 03:27:44 asami Exp $ +# $Id: Makefile,v 1.16 1997/03/04 22:34:21 phk Exp $ # DISTNAME= scotty-2.1.5 @@ -24,19 +24,20 @@ MAN8= ntping.8 straps.8 MANN= Tnm.n cmip.n dns.n gdmo.n http.n icmp.n ined.n job.n \ mib.n msqltcl.n netdb.n ntp.n rpc.n snmp.n sunrpc.n \ syslog.n udp.n +PLIST= ${PKGDIR}/PLIST.tmp 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 + @sed "s,@FREEBSD_VERSION@,$$(uname -m)-$$(uname)-$$(uname -r)," pkg/PLIST >/tmp/PLIST .if defined(NOMANCOMPRESS) - @sed "s,@GZIP@,," /tmp/PLIST >pkg/PLIST + @sed "s,@GZIP@,," /tmp/PLIST >pkg/PLIST.tmp .else - @sed "s,@GZIP@,.gz," /tmp/PLIST >pkg/PLIST + @sed "s,@GZIP@,.gz," /tmp/PLIST >pkg/PLIST.tmp .endif @${RM} /tmp/PLIST pre-clean: - @${RM} -f pkg/PLIST + @${RM} -f pkg/PLIST.tmp .include -- cgit v1.2.3