1998-11-24 17:05:18 -05:00
|
|
|
# New ports collection makefile for: netscape (communicator suite)
|
1998-08-29 23:10:27 -04:00
|
|
|
# Version required: 4.5
|
1997-02-24 14:00:30 -05:00
|
|
|
# Date created: 24 Feb 1997
|
1998-08-29 23:10:27 -04:00
|
|
|
# Whom: thepish
|
1997-02-24 14:00:30 -05:00
|
|
|
#
|
1999-01-12 23:00:10 -05:00
|
|
|
# $Id: Makefile,v 1.36 1999/01/06 04:18:16 simokawa Exp $
|
1997-02-24 14:00:30 -05:00
|
|
|
#
|
|
|
|
|
1998-10-19 09:15:14 -04:00
|
|
|
DISTNAME= communicator-v45-export.x86-unknown-freebsd
|
|
|
|
PKGNAME= netscape-communicator-4.5
|
1997-02-24 14:00:30 -05:00
|
|
|
CATEGORIES= www
|
1998-11-24 17:05:18 -05:00
|
|
|
MASTER_SITES= ftp://ftp.netscape.com/pub/communicator/4.5/english/unix/unsupported/freebsd/complete_install/
|
1998-12-03 17:08:48 -05:00
|
|
|
# DISTFILES must be set to begin with so USE_128BIT can add on to it.
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
1997-11-14 20:11:00 -05:00
|
|
|
|
1998-11-24 17:05:18 -05:00
|
|
|
MAINTAINER= thepish@FreeBSD.ORG
|
1998-10-20 02:45:18 -04:00
|
|
|
|
1999-01-12 23:00:10 -05:00
|
|
|
Y2K= http://home.netscape.com/products/year2000/faq/client.html
|
|
|
|
|
1999-01-05 23:18:20 -05:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
1998-08-31 04:43:01 -04:00
|
|
|
NO_LATEST_LINK= yes
|
1998-11-24 17:05:18 -05:00
|
|
|
WRKSRC= ${WRKDIR}/communicator-v45.x86-unknown-freebsd
|
|
|
|
NO_BUILD= Yes
|
|
|
|
PLIST_SUB= NDIRBASE=${NDIRBASE}
|
|
|
|
NO_FILTER_SHLIBS=yes
|
1997-04-09 11:12:15 -04:00
|
|
|
|
1998-11-24 17:05:18 -05:00
|
|
|
NDIRBASE= netscape-4.5
|
|
|
|
NDIR= ${PREFIX}/${NDIRBASE}
|
1997-04-09 11:12:15 -04:00
|
|
|
BINDIR= ${PREFIX}/bin
|
1998-12-11 03:11:23 -05:00
|
|
|
NBIN= communicator-4.5.bin
|
1997-02-24 14:00:30 -05:00
|
|
|
|
1998-10-19 09:15:14 -04:00
|
|
|
.if defined(USE_128BIT)
|
1998-11-24 15:39:55 -05:00
|
|
|
MASTER_SITES+= ftp://ftp.fortify.net/pub/Fortify/ \
|
|
|
|
ftp://ftp.za.freebsd.org/pub/Fortify/
|
1998-12-19 06:20:14 -05:00
|
|
|
DISTFILES+= Fortify-1.3.2-unix-x86.tar.gz
|
1998-11-24 17:05:18 -05:00
|
|
|
RESTRICTED= "Contains strong cryptography"
|
1998-11-24 15:39:55 -05:00
|
|
|
.else
|
|
|
|
pre-extract:
|
|
|
|
@${ECHO} "You can make Netscape use 128-bit encryption by defining USE_128BIT"
|
|
|
|
.endif # USE_128BIT
|
1998-03-15 10:13:57 -05:00
|
|
|
|
1998-11-24 17:05:18 -05:00
|
|
|
post-configure:
|
1998-12-11 03:11:23 -05:00
|
|
|
${SED} -e "s;@NDIR@;${NDIR};g" \
|
|
|
|
-e "s;@NBIN@;${NBIN};g" \
|
1998-11-24 17:05:18 -05:00
|
|
|
${FILESDIR}/netscape.sh >${WRKSRC}/netscape
|
1998-10-19 09:15:14 -04:00
|
|
|
|
1997-04-09 11:12:15 -04:00
|
|
|
do-install:
|
1998-10-19 09:15:14 -04:00
|
|
|
cd ${WRKSRC} && \
|
1998-12-11 03:11:23 -05:00
|
|
|
yes "" | LC_TIME=C MOZILLA_HOME="${NDIR}" ./ns-install
|
1998-10-19 09:15:14 -04:00
|
|
|
${MV} -f ${NDIR}/netscape ${NDIR}/communicator-4.5.bin
|
1998-08-29 23:10:27 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/netscape ${BINDIR}/communicator-4.5
|
1998-11-24 17:10:42 -05:00
|
|
|
${LN} -sf communicator-4.5 ${BINDIR}/communicator-4
|
|
|
|
${LN} -sf communicator-4 ${BINDIR}/netscape
|
1997-04-09 11:12:15 -04:00
|
|
|
if [ ! -f ${NDIR}/mailcap ] ; then \
|
1998-12-11 03:11:23 -05:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/mailcap ${NDIR}; \
|
1997-04-09 11:12:15 -04:00
|
|
|
fi
|
1998-10-19 09:15:14 -04:00
|
|
|
${RM} -rf ${NDIR}/movemail-src
|
1998-11-24 15:39:55 -05:00
|
|
|
.if defined(USE_128BIT)
|
1998-12-19 06:20:14 -05:00
|
|
|
cd ${WRKDIR}/Fortify-1.3.2-unix-x86 && \
|
1998-12-27 03:31:13 -05:00
|
|
|
(${ECHO} yes ; ${ECHO} no ; ${ECHO} no) | ./Fortify.sh ${NDIR}/communicator-4.5.bin
|
1998-11-24 15:39:55 -05:00
|
|
|
.endif
|
|
|
|
chown -R ${BINOWN}.${BINGRP} ${NDIR}
|
1997-02-24 14:00:30 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|