summaryrefslogtreecommitdiff
path: root/www/netscape4-communicator.us/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-02-11 03:31:31 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-02-11 03:31:31 +0000
commit94d3db799163fc6288a766fb808517be656b6334 (patch)
treededfef3c59b37615d972e0a3449e74e3b12cd6ee /www/netscape4-communicator.us/Makefile
parentUpgrade to 0.113 (diff)
Netscape Communicator with US strong encryption.
Notes
Notes: svn path=/head/; revision=9656
Diffstat (limited to 'www/netscape4-communicator.us/Makefile')
-rw-r--r--www/netscape4-communicator.us/Makefile71
1 files changed, 71 insertions, 0 deletions
diff --git a/www/netscape4-communicator.us/Makefile b/www/netscape4-communicator.us/Makefile
new file mode 100644
index 000000000000..60cd4a553e3f
--- /dev/null
+++ b/www/netscape4-communicator.us/Makefile
@@ -0,0 +1,71 @@
+# ex:ts=8
+# New ports collection makefile for: netscape (full communicator version)
+# Version required: 4.04
+# Date created: 24 Feb 1997
+# Whom: ache
+#
+# $Id: Makefile,v 1.14 1998/01/26 09:56:31 vanilla Exp $
+#
+
+DISTNAME= communicator-v404-us.x86-unknown-linux2.0
+#PKGNAME= linux-netscape4-us
+PKGNAME= netscape-communicator-4.04.us
+CATEGORIES= www
+
+MAINTAINER= obrien@FreeBSD.ORG
+
+RESTRICTED= "Commerial & USA ITAR export restrictions"
+
+NO_FETCH= yes
+NO_WRKSUBDIR= Yes
+NO_BUILD= Yes
+
+NDIR= ${PREFIX}/lib/netscape.us
+BINDIR= ${PREFIX}/bin
+
+# Need to define USA_RESIDENT to YES or NO
+.if !defined(USA_RESIDENT) || (${USA_RESIDENT} != YES && ${USA_RESIDENT} != yes && ${USA_RESIDENT} != NO && ${USA_RESIDENT} != no)
+pre-fetch:
+ @${ECHO}
+ @${ECHO} You must set variable USA_RESIDENT to YES, if you are USA or
+ @${ECHO} Canadian resident, in order to build this package.
+ @${ECHO} There is no version of this port for NON-USA and NON-Canadian users.
+ @${ECHO}
+ @false
+#
+.elif defined(USA_RESIDENT)
+.if ${USA_RESIDENT} == YES || ${USA_RESIDENT} == yes
+#
+pre-fetch:
+ @${ECHO} You must manually obtain ${DISTNAME}${EXTRACT_SUFX}
+ @${ECHO} distribution and placed it in ${DISTDIR}.
+.else
+pre-fetch:
+ @${ECHO}
+ @${ECHO} There is no version of this port for NON-USA and NON-Canadian users.
+ @${ECHO}
+ @false
+.endif
+.endif
+
+##post-configure:
+## ${PATCH} -d ${WRKSRC} --forward --quiet -E ${PATCH_STRIP} \
+## < ${PATCHDIR}/secondary.patch-ab
+
+do-install:
+ cd ${WRKSRC} && yes "" | \
+ LC_TIME=C MOZILLA_HOME="${NDIR}" ./ns-install
+ mv -f ${NDIR}/netscape ${NDIR}/communicator-4.04.us.bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/netscape ${BINDIR}/communicator-4.04.us
+ ln -sf communicator-4.04 ${BINDIR}/communicator-4.us
+ ln -sf communicator-4 ${BINDIR}/netscape.us
+ if [ ! -f ${NDIR}/mailcap ] ; then \
+ ${INSTALL_DATA} ${FILESDIR}/mailcap ${NDIR}; \
+ fi
+ rm -rf ${NDIR}/movemail-src
+ chown -R bin.bin ${NDIR}
+
+post-install:
+ @${CAT} ${PKGDIR}/DESCR
+
+.include <bsd.port.mk>