1997-11-15 14:35:38 +01:00
|
|
|
# New ports collection makefile for: netscape (navigator only)
|
1998-11-19 00:14:02 +01:00
|
|
|
# Version required: 4.5
|
|
|
|
# Date created: 20 Sept 1998
|
|
|
|
# Whom: brett@peloton.physics.montana.edu
|
1997-02-24 20:00:30 +01:00
|
|
|
#
|
1998-11-19 22:57:42 +01:00
|
|
|
# $Id: Makefile,v 1.27 1998/11/18 23:14:01 billf Exp $
|
1997-02-24 20:00:30 +01:00
|
|
|
#
|
|
|
|
|
1998-11-19 00:14:02 +01:00
|
|
|
DISTNAME= netscape-navigator-4.5b2
|
1997-02-24 20:00:30 +01:00
|
|
|
CATEGORIES= www
|
1998-11-19 00:14:02 +01:00
|
|
|
MASTER_SITES= ftp://ftp.netscape.com/pub/communicator/4.5/4.5_PR2/english/unix/unsupported/freebsd/navigator_standalone/
|
|
|
|
DISTFILES= navigator-v45b2-export.x86-unknown-freebsd.tar.gz
|
1997-11-15 02:11:00 +01:00
|
|
|
|
1998-11-19 00:14:02 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.ORG
|
1997-11-15 02:11:00 +01:00
|
|
|
|
1998-11-19 22:57:42 +01:00
|
|
|
BROKEN= needs upgrade.
|
1998-11-19 00:14:02 +01:00
|
|
|
NO_LATEST_LINK= yes
|
|
|
|
WRKSRC= ${WRKDIR}/navigator-v45b2.x86-unknown-freebsd
|
1997-04-09 17:12:15 +02:00
|
|
|
NO_BUILD= Yes
|
|
|
|
|
|
|
|
NDIR= ${PREFIX}/lib/netscape
|
|
|
|
BINDIR= ${PREFIX}/bin
|
1997-02-24 20:00:30 +01:00
|
|
|
|
1998-11-19 00:14:02 +01:00
|
|
|
.if defined(USE_128BIT) && defined(USA_RESIDENT) && ${USA_RESIDENT} == NO
|
1998-02-18 12:51:05 +01:00
|
|
|
MASTER_SITES+= ftp://ftp.fortify.net/pub/Fortify/ \
|
|
|
|
ftp://ftp.za.freebsd.org/pub/Fortify/
|
1998-11-19 00:14:02 +01:00
|
|
|
DISTFILES+= Fortify-1.2.2-unix.tar.gz
|
1998-02-18 12:51:05 +01:00
|
|
|
RESTRICTED= "Contains strong cryptography"
|
|
|
|
.endif
|
|
|
|
|
1998-11-19 00:14:02 +01:00
|
|
|
.if !defined(USE_128BIT) && defined(USA_RESIDENT) && ${USA_RESIDENT} == NO
|
1998-03-15 16:15:22 +01:00
|
|
|
pre-extract:
|
|
|
|
@${ECHO} "You can make Netscape use 128-bit encryption by defining USE_128BIT"
|
1998-11-19 00:14:02 +01:00
|
|
|
@${ECHO} "and defining USA_RESIDENT to NO"
|
1998-03-15 16:15:22 +01:00
|
|
|
.endif
|
|
|
|
|
1997-04-09 17:12:15 +02:00
|
|
|
do-install:
|
1998-11-19 00:14:02 +01:00
|
|
|
cd ${WRKSRC} && yes "" | \
|
|
|
|
LC_TIME=C MOZILLA_HOME="${NDIR}" ./ns-install
|
|
|
|
mv -f ${NDIR}/netscape ${NDIR}/navigator-4.5.bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/netscape ${BINDIR}/navigator-4.5
|
|
|
|
ln -sf navigator-4.5 ${BINDIR}/navigator-4
|
1997-11-20 16:48:27 +01:00
|
|
|
ln -sf navigator-4 ${BINDIR}/netscape
|
1997-04-09 17:12:15 +02:00
|
|
|
if [ ! -f ${NDIR}/mailcap ] ; then \
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/mailcap ${NDIR}; \
|
|
|
|
fi
|
1998-03-16 15:48:53 +01:00
|
|
|
.if defined(USE_128BIT) && defined(USA_RESIDENT) && ${USA_RESIDENT} == NO
|
1998-11-19 00:14:02 +01:00
|
|
|
cd ${WRKDIR}/Fortify-1.2.2-unix && \
|
|
|
|
(${ECHO} yes ; ${ECHO} no) | ./Fortify.sh ${NDIR}/navigator-4.5.bin
|
1998-02-18 12:51:05 +01:00
|
|
|
.endif
|
1998-03-15 16:15:22 +01:00
|
|
|
chown -R bin.bin ${NDIR}
|
1997-02-24 20:00:30 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGDIR}/DESCR
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|