diff options
author | agc <agc@pkgsrc.org> | 1998-09-17 15:56:30 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1998-09-17 15:56:30 +0000 |
commit | 5dc8e1b22f77ca8b3c471d16eeb72ea16c8cb23a (patch) | |
tree | 5ce1dbf21838eee9e6eef7155dc54f11a61559b4 /net | |
parent | 9db74e9f8a25c66beac5b0c2a9b28acf16fc0369 (diff) | |
download | pkgsrc-5dc8e1b22f77ca8b3c471d16eeb72ea16c8cb23a.tar.gz |
Modify Makefile to use PLIST_SRC, and not write in a potentially RO
directory.
Diffstat (limited to 'net')
-rw-r--r-- | net/scotty/Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/net/scotty/Makefile b/net/scotty/Makefile index b0aad625f40..acc64cea74e 100644 --- a/net/scotty/Makefile +++ b/net/scotty/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 1998/08/20 15:17:19 tsarna Exp $ +# $NetBSD: Makefile,v 1.13 1998/09/17 15:56:30 agc Exp $ # FreeBSD Id: Makefile,v 1.21 1997/08/27 23:01:53 cwt Exp # @@ -15,8 +15,8 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-tcl-config=${PREFIX}/lib/tcl8.0 \ --with-tk-config=${PREFIX}/lib/tk8.0 -WRKSRC=${WRKDIR}/${DISTNAME}/unix -PLIST= ${PKGDIR}/PLIST.tmp +WRKSRC= ${WRKDIR}/${DISTNAME}/unix +PLIST_SRC= ${WRKDIR}/PLIST-src post-extract: @${RM} -f ${WRKSRC}/../doc/http.n @@ -24,10 +24,6 @@ post-extract: pre-install: @cd ${WRKSRC};make sinstall @${CP} ${WRKSRC}/../tnm/ntping/ntping.8 ${WRKSRC}/../doc - @sed "s,@NETBSD_VERSION@,$$(uname -m)-$$(uname)-$$(uname -r)," ${PKGDIR}/PLIST >${PLIST}.tmp -PLIST_SRC=${PLIST}.tmp - -pre-clean: - @${RM} -f ${PKGDIR}/PLIST.tmp + @${SED} "s,@NETBSD_VERSION@,$$(uname -m)-$$(uname)-$$(uname -r)," ${PKGDIR}/PLIST >${PLIST_SRC} .include "../../mk/bsd.pkg.mk" |