summaryrefslogtreecommitdiffstats
path: root/www/netscape3/Makefile
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1998-03-15 15:10:48 +0000
committermarkm <markm@FreeBSD.org>1998-03-15 15:10:48 +0000
commita0895a16975cbe522b6e623f8612683c59471374 (patch)
tree356220b0825a6dbbebc8e5ef8c11e7a3afa82f6d /www/netscape3/Makefile
parentf8c5deb17b4e58136bf7b3915c8dcd77c2387f41 (diff)
downloadFreeBSD-ports-a0895a16975cbe522b6e623f8612683c59471374.zip
FreeBSD-ports-a0895a16975cbe522b6e623f8612683c59471374.tar.gz
Using Fortify and setting USE_128BIT, this port can now do 128 bit
encryption legally.
Diffstat (limited to 'www/netscape3/Makefile')
-rw-r--r--www/netscape3/Makefile33
1 files changed, 21 insertions, 12 deletions
diff --git a/www/netscape3/Makefile b/www/netscape3/Makefile
index 319c91f..fe62354 100644
--- a/www/netscape3/Makefile
+++ b/www/netscape3/Makefile
@@ -3,32 +3,41 @@
# Date created: 21 August 1995
# Whom: asami
#
-# $Id: Makefile,v 1.18 1997/11/13 19:11:56 jkh Exp $
+# $Id: Makefile,v 1.19 1998/01/26 09:53:03 vanilla Exp $
#
DISTNAME= netscape-3.04
CATEGORIES= www
-.if defined(GOLD)
-MASTER_SITES= ftp://ftp.netscape.com/pub/navigator/3.04/shipping/english/unix/bsdi11/navigator_gold_complete/
-DIST_SUBDIR= gold
-PKGNAME= ${DISTNAME}-gold
-.else
MASTER_SITES= ftp://ftp.netscape.com/pub/navigator/3.04/shipping/english/unix/bsdi11/navigator_complete/
-.endif
DISTFILES= netscape-v304-export.x86-unknown-bsd.tar.gz
MAINTAINER= ports@FreeBSD.ORG
NO_WRKSUBDIR= yes
-pre-fetch:
-.if !defined(GOLD)
- @${ECHO_MSG} "Note you can make the \"gold\" version by typing \"make GOLD=yes\"."
-.else
- @${ECHO_MSG} "Making the \"gold\" version."
+.if defined(GOLD)
+MASTER_SITES= ftp://ftp.netscape.com/pub/navigator/3.04/shipping/english/unix/bsdi11/navigator_gold_complete/
+DIST_SUBDIR= gold
+PKGNAME= ${DISTNAME}-gold
+.endif
+
+.if defined(USE_128BIT) && ${USA_RESIDENT} == NO
+MASTER_SITES+= ftp://ftp.fortify.net/pub/Fortify/ \
+ ftp://ftp.za.freebsd.org/pub/Fortify/
+DISTFILES+= Fortify-1.2.1-unix.tar.gz
+RESTRICTED= "Contains strong cryptography"
+.endif
+
+.if !defined(USE_128BIT) && ${USA_RESIDENT} == NO
+pre-extract:
+ @${ECHO} "You can make Netscape use 128-bit encryption by defining USE_128BIT"
.endif
post-install:
+.if defined(USE_128BIT) && ${USA_RESIDENT} == NO
+ cd ${WRKSRC}/Fortify-1.2.1-unix && \
+ (${ECHO} yes ; ${ECHO} no) | ./Fortify.sh ${PREFIX}/lib/netscape/netscape.bin
+.endif
@${CAT} ${PKGDIR}/DESCR
.include <bsd.port.mk>
OpenPOWER on IntegriCloud