1998-02-11 03:31:31 +00:00
|
|
|
# ex:ts=8
|
2000-02-13 03:25:05 +00:00
|
|
|
# Ports collection makefile for: netscape (full communicator version)
|
|
|
|
# Date created: 14 Feb 1998
|
|
|
|
# Whom: obrien@cs.ucdavis.edu
|
1998-02-11 03:31:31 +00:00
|
|
|
#
|
1999-08-31 02:43:35 +00:00
|
|
|
# $FreeBSD$
|
1998-02-11 03:31:31 +00:00
|
|
|
#
|
|
|
|
|
2000-04-10 00:07:29 +00:00
|
|
|
PORTNAME= netscape-communicator
|
|
|
|
PORTVERSION= 4.07.us
|
2000-02-28 08:34:04 +00:00
|
|
|
CATEGORIES= www linux
|
2000-04-10 00:07:29 +00:00
|
|
|
DISTNAME= communicator-v407-us.x86-unknown-linux2.0_libc5
|
1998-02-11 03:31:31 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
1998-02-11 03:31:31 +00:00
|
|
|
|
1999-01-13 04:00:10 +00:00
|
|
|
Y2K= http://home.netscape.com/products/year2000/faq/client.html
|
|
|
|
|
1999-07-21 14:55:43 +00:00
|
|
|
RUN_DEPENDS= /compat/linux/lib/ld-linux.so.1:${PORTSDIR}/emulators/linux_base
|
1998-10-19 17:37:36 +00:00
|
|
|
|
1998-02-11 03:31:31 +00:00
|
|
|
RESTRICTED= "Commerial & USA ITAR export restrictions"
|
2000-01-25 03:22:00 +00:00
|
|
|
NO_LATEST_LINK= yes
|
1999-01-06 04:18:20 +00:00
|
|
|
ONLY_FOR_ARCHS= i386
|
1998-02-11 03:31:31 +00:00
|
|
|
|
|
|
|
NO_FETCH= yes
|
|
|
|
NO_BUILD= Yes
|
|
|
|
|
1998-10-07 13:23:19 +00:00
|
|
|
WRKSRC= ${WRKDIR}/communicator-v407.x86-unknown-linux2.0
|
1998-02-11 03:31:31 +00:00
|
|
|
NDIR= ${PREFIX}/lib/netscape.us
|
|
|
|
BINDIR= ${PREFIX}/bin
|
|
|
|
|
1999-01-31 22:23:03 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1998-02-11 03:31:31 +00:00
|
|
|
# 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}
|
1999-09-05 21:52:16 +00:00
|
|
|
@${ECHO} You must set variable USA_RESIDENT to YES, if you are USA or
|
1998-02-11 03:31:31 +00:00
|
|
|
@${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}
|
1999-08-23 04:23:59 +00:00
|
|
|
@${FALSE}
|
1998-02-11 03:31:31 +00:00
|
|
|
#
|
|
|
|
.elif defined(USA_RESIDENT)
|
|
|
|
.if ${USA_RESIDENT} == YES || ${USA_RESIDENT} == yes
|
1999-01-31 22:23:03 +00:00
|
|
|
|
|
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
|
|
|
IGNORE='You must manually obtain ${DISTNAME}${EXTRACT_SUFX} distribution and place it in ${DISTDIR}.'
|
|
|
|
.endif
|
|
|
|
|
1998-02-11 03:31:31 +00:00
|
|
|
.else
|
|
|
|
pre-fetch:
|
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} There is no version of this port for NON-USA and NON-Canadian users.
|
|
|
|
@${ECHO}
|
1999-08-23 04:23:59 +00:00
|
|
|
@${FALSE}
|
1998-02-11 03:31:31 +00:00
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
1998-12-11 08:04:22 +00:00
|
|
|
cd ${WRKSRC} && \
|
|
|
|
yes "" | LC_TIME=C MOZILLA_HOME="${NDIR}" ./ns-install
|
|
|
|
${MV} -f ${NDIR}/netscape ${NDIR}/communicator-4.07.us.bin
|
1998-10-07 13:23:19 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/netscape ${BINDIR}/communicator-4.07.us
|
1998-12-11 08:04:22 +00:00
|
|
|
${LN} -sf communicator-4.07.us ${BINDIR}/communicator-4.us
|
|
|
|
${LN} -sf communicator-4.07.us ${BINDIR}/netscape.us
|
1998-02-11 03:31:31 +00:00
|
|
|
if [ ! -f ${NDIR}/mailcap ] ; then \
|
1998-12-11 08:04:22 +00:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/mailcap ${NDIR}; \
|
1998-02-11 03:31:31 +00:00
|
|
|
fi
|
1998-12-11 08:04:22 +00:00
|
|
|
${RM} -rf ${NDIR}/netscape-dynMotif
|
|
|
|
${RM} -rf ${NDIR}/libnullplugin-dynMotif.so
|
|
|
|
${RM} -rf ${NDIR}/movemail-src
|
1999-08-22 19:01:07 +00:00
|
|
|
${CHOWN} -R ${BINOWN}.${BINGRP} ${NDIR}
|
1998-02-11 03:31:31 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGDIR}/DESCR
|
|
|
|
|
1999-01-31 22:23:03 +00:00
|
|
|
.include <bsd.port.post.mk>
|