summaryrefslogtreecommitdiff
path: root/www/navigator/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>1999-06-21 08:45:04 +0000
committerjlam <jlam@pkgsrc.org>1999-06-21 08:45:04 +0000
commitf7d2c9105a4a555c2d2953e3844fc71f6fd24470 (patch)
tree39c31d2c84da253e00ddf2f08c78bfebf24da5df /www/navigator/Makefile
parent07117435f245895ab81eaa9388da9cc7b13454e2 (diff)
downloadpkgsrc-f7d2c9105a4a555c2d2953e3844fc71f6fd24470.tar.gz
Update navigator-4.61 to allow installing 128-bit key strong encryption
version of Netscape.
Diffstat (limited to 'www/navigator/Makefile')
-rw-r--r--www/navigator/Makefile24
1 files changed, 21 insertions, 3 deletions
diff --git a/www/navigator/Makefile b/www/navigator/Makefile
index b78ba3b17ad..7e6d72457af 100644
--- a/www/navigator/Makefile
+++ b/www/navigator/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 1999/06/19 02:59:45 abs Exp $
+# $NetBSD: Makefile,v 1.11 1999/06/21 08:45:04 jlam Exp $
#
# Every effort has been made to keep the communicator and navigator
# Makefiles as similar as possible.
@@ -6,6 +6,7 @@
BINNAME= navigator
NS_VERS= 4.61
NS_VERS_SHORT= 461
+NS_ENCRYPTION?= export
#
.if (${MACHINE_ARCH} == "alpha")
.if !exists(/emul/osf1/sbin/loader)
@@ -30,7 +31,7 @@ DIST_DIR_NAME= unsupported/sunos413
WRKNAME= ${UNAME}
.endif
#
-DISTNAME= ${BINNAME}-v${NS_VERS_SHORT}-export.${UNAME}
+DISTNAME= ${BINNAME}-v${NS_VERS_SHORT}-${NS_ENCRYPTION}.${UNAME}
PKGNAME= ${BINNAME}-${NS_VERS}
CATEGORIES= www
SUB= english/${NS_VERS}/unix/${DIST_DIR_NAME}/navigator_standalone
@@ -47,7 +48,24 @@ NO_BUILD= yes
WRKSRC= ${WRKDIR}/${BINNAME}-v${NS_VERS_SHORT}.${WRKNAME}
MOZILLA_HOME= ${PREFIX}/lib/netscape/${PKGNAME}
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
-NS_PLIST_SED= "s,\$${NS_VERS},${NS_VERS},g"
+NS_PLIST_SED= "s,\$${NS_VERS},${NS_VERS},g"
+
+.if (${NS_ENCRYPTION} == "us")
+MASTER_SITES=
+RESTRICTED= "128-bit key strong encryption; export-controlled"
+MIRROR_DISTFILE= no
+ONLY_FOR_PLATFORM= *-*-alpha *-*-i386
+
+do-fetch:
+ @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
+ ${ECHO_MSG}; \
+ ${ECHO_MSG} " The 128-bit key strong encryption version of"; \
+ ${ECHO_MSG} " Netscape for this platform must be fetched"; \
+ ${ECHO_MSG} " into ${DISTDIR} from"; \
+ ${ECHO_MSG} " http://www.netscape.com/download/"; \
+ ${ECHO_MSG}; \
+ fi
+.endif
do-install:
${SED} -e ${NS_PLIST_SED} ${PKGDIR}/PLIST.pre >${PLIST_SRC}