diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-08-19 08:33:28 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-08-19 08:33:28 +0000 |
commit | 11a8ef61f606997571179a992030d7d2a487fba9 (patch) | |
tree | fa525cf86cf83666fe1dea6762436d7c0ef971b0 /korean/netscape48-communicator | |
parent | Update 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 'korean/netscape48-communicator')
-rw-r--r-- | korean/netscape48-communicator/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/korean/netscape48-communicator/Makefile b/korean/netscape48-communicator/Makefile index d589a3d86158..9e1c40a55761 100644 --- a/korean/netscape48-communicator/Makefile +++ b/korean/netscape48-communicator/Makefile @@ -16,7 +16,7 @@ DISTNAME= ${KOREAN_KIT} MAINTAINER?= cjh@FreeBSD.org # ?= for ports that include this Makefile -RUN_DEPENDS?= ${LOCALBASE}/bin/${BROWSER_ARC}-${BROWSER_VERSION}:${PORTSDIR}/www/netscape${BROWSER_VER}-${BROWSER} +RUN_DEPENDS?= ${LOCALBASE}/bin/${BROWSER_ARC}-${BROWSER_VERSION}:${PORTSDIR}/www/netscape${BROWSER_VER}-${BROWSER_NAME} RUN_DEPENDS+= ${X11BASE}/lib/X11/fonts/local/gulim12.pcf.gz:${PORTSDIR}/korean/baekmukfonts-bdf NO_BUILD= yes @@ -27,8 +27,8 @@ NDIR= ${PREFIX}/${NSUBDIR} NSUBDIR?= lib/netscape # should be changed by versions -BROWSER?= communicator -BROWSER_ARC?= ${BROWSER} +BROWSER_NAME?= communicator +BROWSER_ARC?= ${BROWSER_NAME} BROWSER_BIN?= ${BROWSER_ARC}-${BROWSER_VERSION}.bin BROWSER_CMD?= ko-${BROWSER_ARC}-${BROWSER_VER} BROWSER_VER?= 4 @@ -69,7 +69,7 @@ do-configure: > ${WRKSRC}/Netscape ${MAKESCRIPT} ${FILESDIR}/INSTALL >${PKGINSTALL} # make navigator resource -.if defined(BROWSER) && ${BROWSER} == navigator +.if defined(BROWSER_NAME) && ${BROWSER_NAME} == navigator ${SED} -e "s;Communicator;Navigator;g" \ ${WRKSRC}/about > ${WRKDIR}/about ${SED} -e "s;Communicator;Navigator;g" \ |