1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/www/netscape4-communicator.us/Makefile

78 lines
2.2 KiB
Makefile
Raw Normal View History

# 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
#
1999-08-31 02:43:35 +00:00
# $FreeBSD$
#
PORTNAME= netscape-communicator
PORTVERSION= 4.07.us
CATEGORIES= www linux
DISTNAME= communicator-v407-us.x86-unknown-linux2.0_libc5
MAINTAINER= obrien@FreeBSD.org
1999-01-13 04:00:10 +00:00
Y2K= http://home.netscape.com/products/year2000/faq/client.html
RUN_DEPENDS= /compat/linux/lib/ld-linux.so.1:${PORTSDIR}/emulators/linux_base
RESTRICTED= "Commerial & USA ITAR export restrictions"
NO_LATEST_LINK= yes
ONLY_FOR_ARCHS= i386
NO_FETCH= yes
NO_BUILD= Yes
WRKSRC= ${WRKDIR}/communicator-v407.x86-unknown-linux2.0
NDIR= ${PREFIX}/lib/netscape.us
BINDIR= ${PREFIX}/bin
.include <bsd.port.pre.mk>
# 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
@${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
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE='You must manually obtain ${DISTNAME}${EXTRACT_SUFX} distribution and place it in ${DISTDIR}.'
.endif
.else
pre-fetch:
@${ECHO}
@${ECHO} There is no version of this port for NON-USA and NON-Canadian users.
@${ECHO}
@${FALSE}
.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
${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
if [ ! -f ${NDIR}/mailcap ] ; then \
1998-12-11 08:04:22 +00:00
${INSTALL_DATA} ${FILESDIR}/mailcap ${NDIR}; \
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}
post-install:
@${CAT} ${PKGDIR}/DESCR
.include <bsd.port.post.mk>