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