aboutsummaryrefslogtreecommitdiffstats
path: root/www/netscape-wrapper/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-06-28 02:44:45 +0800
committerknu <knu@FreeBSD.org>2000-06-28 02:44:45 +0800
commitd798482a346c19e6f8a63ea49912df636ba76765 (patch)
tree7444a65277f4885275083ffe2718d4d166dc7a54 /www/netscape-wrapper/Makefile
parentffec74dfa6462ba9fe3811d4bb9240c44529bcb7 (diff)
downloadfreebsd-ports-gnome-d798482a346c19e6f8a63ea49912df636ba76765.tar.gz
freebsd-ports-gnome-d798482a346c19e6f8a63ea49912df636ba76765.tar.zst
freebsd-ports-gnome-d798482a346c19e6f8a63ea49912df636ba76765.zip
Teach the script the prefix in advance instead of letting it guess.
PR: ports/19383 Submitted by: o'brien
Diffstat (limited to 'www/netscape-wrapper/Makefile')
-rw-r--r--www/netscape-wrapper/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/www/netscape-wrapper/Makefile b/www/netscape-wrapper/Makefile
index a023ec9ec946..9441b75c8f45 100644
--- a/www/netscape-wrapper/Makefile
+++ b/www/netscape-wrapper/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= netscape-wrapper
-PORTVERSION= 2000.05.07
+PORTVERSION= 2000.06.28
CATEGORIES= www
MASTER_SITES= # none
DISTFILES= # none
@@ -16,9 +16,11 @@ MAINTAINER= knu@FreeBSD.org
RUN_DEPENDS= netscape-remote:${PORTSDIR}/www/netscape-remote
NO_WRKSUBDIR= yes
-NO_BUILD= yes
+
+do-build:
+ ${SED} 's,%%PREFIX%%,${PREFIX},g' ${FILESDIR}/netscape.sh > ${WRKSRC}/netscape.sh
do-install:
- ${INSTALL_SCRIPT} ${FILESDIR}/netscape.sh ${PREFIX}/bin/netscape
+ ${INSTALL_SCRIPT} ${WRKDIR}/netscape.sh ${PREFIX}/bin/netscape
.include <bsd.port.mk>