summaryrefslogtreecommitdiff
path: root/net/scotty
diff options
context:
space:
mode:
authoragc <agc>1998-09-17 15:56:30 +0000
committeragc <agc>1998-09-17 15:56:30 +0000
commitf6b7058ab9afe4864b267e8664fc0ee88313a7ef (patch)
tree5ce1dbf21838eee9e6eef7155dc54f11a61559b4 /net/scotty
parent987342dd7beaf43b327c6cf529f109127a55519a (diff)
downloadpkgsrc-f6b7058ab9afe4864b267e8664fc0ee88313a7ef.tar.gz
Modify Makefile to use PLIST_SRC, and not write in a potentially RO
directory.
Diffstat (limited to 'net/scotty')
-rw-r--r--net/scotty/Makefile12
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"