aboutsummaryrefslogtreecommitdiff
path: root/japanese/netscape48-communicator
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-08-19 08:33:28 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-08-19 08:33:28 +0000
commit11a8ef61f606997571179a992030d7d2a487fba9 (patch)
treefa525cf86cf83666fe1dea6762436d7c0ef971b0 /japanese/netscape48-communicator
parent0e40d5d60695f38cd07d2e81b7bb530fee106d09 (diff)
downloadports-11a8ef61f606997571179a992030d7d2a487fba9.tar.gz
ports-11a8ef61f606997571179a992030d7d2a487fba9.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
Notes
Notes: svn path=/head/; revision=46463
Diffstat (limited to 'japanese/netscape48-communicator')
-rw-r--r--japanese/netscape48-communicator/Makefile8
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