summaryrefslogtreecommitdiff
path: root/www/communicator/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>1999-06-21 08:44:29 +0000
committerjlam <jlam@pkgsrc.org>1999-06-21 08:44:29 +0000
commit07117435f245895ab81eaa9388da9cc7b13454e2 (patch)
treecd43293dc9b5780c7174f270ecf29e3bab7bc774 /www/communicator/Makefile
parentf5cdfdbf9905419a0d93ff118da9eb2ea0291b19 (diff)
downloadpkgsrc-07117435f245895ab81eaa9388da9cc7b13454e2.tar.gz
Update communicator-4.61 to allow installing 128-bit key strong encryption
version of Netscape.
Diffstat (limited to 'www/communicator/Makefile')
-rw-r--r--www/communicator/Makefile22
1 files changed, 20 insertions, 2 deletions
diff --git a/www/communicator/Makefile b/www/communicator/Makefile
index c98e4c9f418..5ac74543c50 100644
--- a/www/communicator/Makefile
+++ b/www/communicator/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 1999/06/19 02:59:44 abs Exp $
+# $NetBSD: Makefile,v 1.13 1999/06/21 08:44:29 jlam Exp $
#
# Every effort has been made to keep the communicator and navigator
# Makefiles as similar as possible.
@@ -6,6 +6,7 @@
BINNAME= communicator
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}/complete_install
@@ -50,6 +51,23 @@ MOZILLA_HOME= ${PREFIX}/lib/netscape/${PKGNAME}
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
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}
${MKDIR} ${MOZILLA_HOME}/java/classes