From d798482a346c19e6f8a63ea49912df636ba76765 Mon Sep 17 00:00:00 2001 From: knu Date: Tue, 27 Jun 2000 18:44:45 +0000 Subject: Teach the script the prefix in advance instead of letting it guess. PR: ports/19383 Submitted by: o'brien --- www/netscape-wrapper/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'www/netscape-wrapper/Makefile') 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 -- cgit