Teach the script the prefix in advance instead of letting it guess.

PR:		ports/19383
Submitted by:	o'brien
This commit is contained in:
Akinori MUSHA 2000-06-27 18:44:45 +00:00
parent ce940401d9
commit ad7e58cdd2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29920
2 changed files with 6 additions and 4 deletions

View File

@ -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>

View File

@ -7,7 +7,7 @@
# $FreeBSD$
#
prefix=$(dirname $(dirname $0))
prefix='%%PREFIX%%'
lockfile=$HOME/.netscape/lock
defs="-irix-session-management"