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.
This commit is contained in:
Satoshi Asami 1997-03-10 10:49:00 +00:00
parent 0d14e8f2bb
commit c021677ca3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5927
3 changed files with 18 additions and 15 deletions

View File

@ -3,7 +3,7 @@
# Date created: 18 Februar 1995
# Whom: Gennady Sorokopud <gena@netvision.net.il>
#
# $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 <bsd.port.mk>

View File

@ -3,7 +3,7 @@
# Date created: 18 Februar 1995
# Whom: Gennady Sorokopud <gena@netvision.net.il>
#
# $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 <bsd.port.mk>

View File

@ -3,7 +3,7 @@
# Date created: 18 Februar 1995
# Whom: Gennady Sorokopud <gena@netvision.net.il>
#
# $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 <bsd.port.mk>