diff options
author | knu <knu@FreeBSD.org> | 2001-08-19 16:33:28 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-08-19 16:33:28 +0800 |
commit | 1228f8155b3ae5e15b64622a85d2bae0f80e4e73 (patch) | |
tree | 835dc3dff084daacc2e8b3713e13753b6c24e41b /japanese/netscape48-communicator | |
parent | 84d99a81ad8e71c71e620d10351dd0636e249caa (diff) | |
download | freebsd-ports-gnome-1228f8155b3ae5e15b64622a85d2bae0f80e4e73.tar.gz freebsd-ports-gnome-1228f8155b3ae5e15b64622a85d2bae0f80e4e73.tar.zst freebsd-ports-gnome-1228f8155b3ae5e15b64622a85d2bae0f80e4e73.zip |
Avoid the usage of a variable named "BROWSER", not to conflict with
user's environment variable with the same name.
cf. http://tuxedo.org/~esr/BROWSER/
http://www.dwheeler.com/browse/secure_browser.html
Approved by: cjh, girgen@partitur.se, sada, trevor
Diffstat (limited to 'japanese/netscape48-communicator')
-rw-r--r-- | japanese/netscape48-communicator/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/japanese/netscape48-communicator/Makefile b/japanese/netscape48-communicator/Makefile index 60fe60555603..7086773785dd 100644 --- a/japanese/netscape48-communicator/Makefile +++ b/japanese/netscape48-communicator/Makefile @@ -15,7 +15,7 @@ DISTNAME?= communicator-ja-euc-v407-export.generic-generic-generic MAINTAINER?= sada@FreeBSD.org # ?= for ports that include this Makefile -RUN_DEPENDS?= ${PREFIX}/bin/${BROWSER_ARC}-${BROWSER_VERSION}:${PORTSDIR}/www/netscape${BROWSER_VER}-${BROWSER} +RUN_DEPENDS?= ${PREFIX}/bin/${BROWSER_ARC}-${BROWSER_VERSION}:${PORTSDIR}/www/netscape${BROWSER_VER}-${BROWSER_NAME} RUN_DEPENDS+= ${PKG_DBDIR}/ja-netscape-fonts-1.0:${PORTSDIR}/japanese/netscape-fonts .if (!defined(BROWSER_VERSION) || ${PORTVERSION} == "4.76") @@ -29,8 +29,8 @@ PKGINSTALL= ${WRKDIR}/INSTALL PLIST_SUB= BROWSER=${BROWSER_ARC} NSUBDIR=${NSUBDIR} LANG=${LANG} VER=${BROWSER_VER} WRKSRC= ${WRKDIR}/netscape-ja_euc -BROWSER?= communicator -BROWSER_ARC?= ${BROWSER} +BROWSER_NAME?= communicator +BROWSER_ARC?= ${BROWSER_NAME} BROWSER_BIN?= ${BROWSER_ARC}-${BROWSER_VERSION}.bin BROWSER_CMD?= ja-${BROWSER_ARC}-${BROWSER_VER} BROWSER_VER?= 4 @@ -58,7 +58,7 @@ do-configure: >${WRKDIR}/Netscape ${MAKESCRIPT} ${MASTERDIR}/files/INSTALL >${PKGINSTALL} ${CP} ${WRKSRC}/about ${WRKDIR}/about -.if (${BROWSER} == navigator) +.if (${BROWSER_NAME} == navigator) ${CP} ${WRKDIR}/Netscape ${WRKDIR}/Netscape.orig ${SED} "s/Communicator/Navigator/g" ${WRKDIR}/Netscape.orig \ > ${WRKDIR}/Netscape |