summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-22 01:29:00 +0000
committerjlam <jlam>2002-09-22 01:29:00 +0000
commit8b3985b2f01d7a6b6b62e2e286b1b2f2e7edf31c (patch)
treebf9c861d4dc304ebd1ac204ee86a9c01e8cac809 /www
parentdb717e838487d6f02e44c4513d775fb472de421b (diff)
downloadpkgsrc-8b3985b2f01d7a6b6b62e2e286b1b2f2e7edf31c.tar.gz
Create the netscape wrapper script in ${WRKDIR}, not in ${FILESDIR}.
Fixes pkg/18370 by Tracy Di Marco White <nb-pr@gendalia.org>.
Diffstat (limited to 'www')
-rw-r--r--www/netscape7/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/netscape7/Makefile b/www/netscape7/Makefile
index a1670954a2b..aedebd2c27b 100644
--- a/www/netscape7/Makefile
+++ b/www/netscape7/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2002/09/20 13:54:53 jschauma Exp $
+# $NetBSD: Makefile,v 1.3 2002/09/22 01:29:00 jlam Exp $
#
DISTNAME= netscape-i686-pc-linux-gnu-installer
@@ -31,7 +31,7 @@ WRKSRC= ${WRKDIR}/netscape-installer
pre-build:
${SED} -e "s|@PREFIX@|${PREFIX}|g" ${FILESDIR}/netscape.sh > \
- ${FILESDIR}/netscape7
+ ${WRKDIR}/netscape7
@delay=10; \
${SED} -e "s|@WRKSRC@|${WRKSRC}|g" -e "s|@delay@|$${delay}|g" \
${FILESDIR}/extract_instructions; \
@@ -44,7 +44,7 @@ do-build:
do-install:
${INSTALL_PROGRAM_DIR} ${PREFIX}/lib/netscape/netscape7
cd ${WRKSRC}/dest && ${PAX} -rw . ${PREFIX}/lib/netscape/netscape7
- ${INSTALL_SCRIPT} ${FILESDIR}/netscape7 ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/netscape7 ${PREFIX}/bin
${CHMOD} 755 ${PREFIX}/bin/netscape7
.include "../../mk/bsd.prefs.mk"