summaryrefslogtreecommitdiff
path: root/chinese/linux-netscape47-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 /chinese/linux-netscape47-communicator
parentUpdate to 20010819, with small improvements. (diff)
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 'chinese/linux-netscape47-communicator')
-rw-r--r--chinese/linux-netscape47-communicator/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/chinese/linux-netscape47-communicator/Makefile b/chinese/linux-netscape47-communicator/Makefile
index bbcfd2667a5b..780dee3a3fb1 100644
--- a/chinese/linux-netscape47-communicator/Makefile
+++ b/chinese/linux-netscape47-communicator/Makefile
@@ -17,17 +17,17 @@ MAINTAINER= keith@FreeBSD.org
# We need Arphic because there's no font with all sizes to deal with Java.
RUN_DEPENDS?= \
/compat/linux/CLE-0.9p1:${PORTSDIR}/chinese/cle_base \
- ${LOCALBASE}/bin/${BROWSER_ARC}-${BROWSER_VERSION}:${PORTSDIR}/www/linux-netscape47-${BROWSER} \
+ ${LOCALBASE}/bin/${BROWSER_ARC}-${BROWSER_VERSION}:${PORTSDIR}/www/linux-netscape47-${BROWSER_NAME} \
${X11BASE}/lib/X11/fonts/TrueType/bsmi00lp.ttf:${PORTSDIR}/chinese/arphicttf
# These variables can be defined in ports that include this Makefile.
PKGNAMEPREFIX?= zh_TW-
LOCALE?= zh_TW.Big5
REGION?= tw
-BROWSER?= communicator
+BROWSER_NAME?= communicator
BROWSER_VER?= 47
BROWSER_VERSION?= 4.77
-BROWSER_ARC?= ${BROWSER}-linux
+BROWSER_ARC?= ${BROWSER_NAME}-linux
BROWSER_BIN?= ${BROWSER_ARC}-${BROWSER_VERSION}.bin
BROWSER_CMD?= ${REGION}-${BROWSER_ARC}-${BROWSER_VER}
NSUBDIR?= lib/netscape-linux
@@ -56,7 +56,7 @@ post-extract:
${MAKESCRIPT} ${FILESDIR}/INSTALL.in > ${WRKDIR}/pkg-install
${MAKESCRIPT} ${FILESDIR}/MESSAGE.in > ${WRKDIR}/pkg-message
${MAKESCRIPT} ${FILESDIR}/DEINSTALL.in > ${WRKDIR}/pkg-deinstall
-.if (${BROWSER} == navigator)
+.if (${BROWSER_NAME} == navigator)
${SED} "s/Communicator/Navigator/g" ${NSKITDIR}/Netscape.ad \
> ${NSKITDIR}/Netscape
.else