summaryrefslogtreecommitdiff
path: root/www/netscape7
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-22 01:29:00 +0000
committerjlam <jlam@pkgsrc.org>2002-09-22 01:29:00 +0000
commit1f6b6ef6f12b638305f56ded2a369e7509572523 (patch)
treebf9c861d4dc304ebd1ac204ee86a9c01e8cac809 /www/netscape7
parent5727cd77b9ee0460f0b0a6a5ddcb241a698ef870 (diff)
downloadpkgsrc-1f6b6ef6f12b638305f56ded2a369e7509572523.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/netscape7')
-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"