mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
Teach the script the prefix in advance instead of letting it guess.
PR: ports/19383 Submitted by: o'brien
This commit is contained in:
parent
ce940401d9
commit
ad7e58cdd2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29920
@ -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>
|
||||
|
@ -7,7 +7,7 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
prefix=$(dirname $(dirname $0))
|
||||
prefix='%%PREFIX%%'
|
||||
|
||||
lockfile=$HOME/.netscape/lock
|
||||
defs="-irix-session-management"
|
||||
|
Loading…
Reference in New Issue
Block a user