2000-02-22 12:08:31 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.29 2000/02/22 17:08:47 espie Exp $
|
1998-07-12 20:35:00 -04:00
|
|
|
#
|
|
|
|
# Relevant URLs: http://www.bsdi.com/netscape/
|
|
|
|
# http://www.fortify.net/
|
|
|
|
|
1999-05-06 12:57:57 -04:00
|
|
|
# WARNING
|
|
|
|
# -------
|
|
|
|
# i386: Requires a kernel built with
|
1999-09-15 14:23:50 -04:00
|
|
|
# 'option COMPAT_BSDOS'
|
1999-05-06 12:57:57 -04:00
|
|
|
# SPARC: Requires a kernel built with
|
|
|
|
# 'option COMPAT_SUNOS'
|
1998-07-12 20:35:00 -04:00
|
|
|
|
1999-05-06 12:57:57 -04:00
|
|
|
ONLY_FOR_ARCHS= i386 sparc
|
2000-02-22 12:08:31 -05:00
|
|
|
NEED_VERSION= 1.210
|
1998-07-12 20:35:00 -04:00
|
|
|
|
1999-09-15 14:23:50 -04:00
|
|
|
NAVIGATOR_V= 4.61
|
|
|
|
NAVIGATOR_V2= 461
|
|
|
|
NS_I386= navigator-v${NAVIGATOR_V2}-export.x86-bsdi-bsd2.tar.gz
|
|
|
|
NS_SPARC= navigator-v${NAVIGATOR_V2}-export.sparc-sun-sunos4.1.3_U1.tar.gz
|
1999-10-28 16:21:16 -04:00
|
|
|
FORTIFY= Fortify-1.4.5-unix-src
|
1998-07-12 20:35:00 -04:00
|
|
|
|
1999-05-06 12:57:57 -04:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
1999-09-15 14:23:50 -04:00
|
|
|
DISTNAME= navigator-v${NAVIGATOR_V2}-export.x86-bsdi-bsd2
|
|
|
|
NAVIGATORNAME= navigator-v${NAVIGATOR_V2}.x86-bsdi-bsd2
|
|
|
|
MAINDIR= bsdi21/navigator_standalone
|
|
|
|
SUPDIR= sunos413/navigator_standalone
|
2000-01-04 02:22:26 -05:00
|
|
|
SUPDISTFILES= ${NS_SPARC}:0
|
1999-05-06 12:57:57 -04:00
|
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "sparc"
|
1999-09-15 14:23:50 -04:00
|
|
|
DISTNAME= navigator-v${NAVIGATOR_V2}-export.sparc-sun-sunos4.1.3_U1
|
|
|
|
NAVIGATORNAME= navigator-v${NAVIGATOR_V2}.sparc-sun-sunos4.1.3_U1
|
|
|
|
MAINDIR= sunos413/navigator_standalone
|
|
|
|
SUPDIR= bsdi21/navigator_standalone
|
2000-01-04 02:22:26 -05:00
|
|
|
SUPDISTFILES= ${NS_I386}:0
|
1999-05-06 12:57:57 -04:00
|
|
|
.endif
|
1998-07-12 20:35:00 -04:00
|
|
|
|
1999-10-07 15:40:43 -04:00
|
|
|
SUBMAIN=communicator/english/${NAVIGATOR_V}/unix/unsupported/${MAINDIR}
|
|
|
|
SUBSUP= communicator/english/${NAVIGATOR_V}/unix/unsupported/${SUPDIR}
|
1999-10-05 15:20:52 -04:00
|
|
|
|
1999-09-20 22:17:02 -04:00
|
|
|
PKGNAME= navigator-${NAVIGATOR_V}
|
1999-05-06 12:57:57 -04:00
|
|
|
CATEGORIES= www
|
1999-09-16 04:12:48 -04:00
|
|
|
DIST_SUBDIR= netscape
|
1999-09-15 14:23:50 -04:00
|
|
|
|
1999-10-05 15:20:52 -04:00
|
|
|
MASTER_SITES= \
|
1999-10-07 15:40:43 -04:00
|
|
|
http://wuarchive.wustl.edu/packages/www/Netscape/${SUBMAIN}/ \
|
|
|
|
ftp://netscape.Mirror.McGill.CA/pub/mirrors/ftp.netscape.com/pub/${SUBMAIN}/ \
|
|
|
|
ftp://ftp.netscape.com/pub/${SUBMAIN}/ \
|
|
|
|
ftp://uiarchive.uiuc.edu/pub/www/netscape/${SUBMAIN}/ \
|
|
|
|
ftp://ftp.the.net/pub/mirrors/ftp.netscape.com/pub/${SUBMAIN}/ \
|
|
|
|
ftp://sunsite.doc.ic.ac.uk/packages/netscape/pub/${SUBMAIN}/ \
|
|
|
|
ftp://ftp-de.netscape.com/pub/${SUBMAIN}/ \
|
|
|
|
ftp://ftp.heanet.ie/pub/netscape/${SUBMAIN}/ \
|
|
|
|
ftp://nic.funet.fi/pub/mirrors/ftp.netscape.com/pub/${SUBMAIN}/ \
|
|
|
|
ftp://sunsite.tut.fi/pub/Mirror/mirrorsite.netscape.com/pub/${SUBMAIN}/
|
2000-01-04 02:22:26 -05:00
|
|
|
MASTER_SITES0= \
|
|
|
|
http://wuarchive.wustl.edu/packages/www/Netscape/${SUBSUP}/ \
|
|
|
|
ftp://netscape.Mirror.McGill.CA/pub/mirrors/ftp.netscape.com/pub/${SUBSUP}/ \
|
|
|
|
ftp://ftp.netscape.com/pub/${SUBSUP}/ \
|
|
|
|
ftp://uiarchive.uiuc.edu/pub/www/netscape/${SUBSUP}/ \
|
|
|
|
ftp://ftp.the.net/pub/mirrors/ftp.netscape.com/pub/${SUBSUP}/ \
|
|
|
|
ftp://sunsite.doc.ic.ac.uk/packages/netscape/pub/${SUBSUP}/ \
|
|
|
|
ftp://ftp-de.netscape.com/pub/${SUBSUP}/ \
|
|
|
|
ftp://ftp.heanet.ie/pub/netscape/${SUBSUP}/ \
|
|
|
|
ftp://nic.funet.fi/pub/mirrors/ftp.netscape.com/pub/${SUBSUP}/ \
|
|
|
|
ftp://sunsite.tut.fi/pub/Mirror/mirrorsite.netscape.com/pub/${SUBSUP}/
|
1999-10-05 15:20:52 -04:00
|
|
|
MASTER_SITES1= ftp://ftp.fortify.net/pub/Fortify/ \
|
|
|
|
ftp://ftp.sunet.se/pub/security/tools/net/Fortify/ \
|
|
|
|
ftp://ftp.funet.fi/pub/crypt/mirrors/fortify/ \
|
|
|
|
ftp://ftp.replay.com/pub/crypto/apache/Fortify/ \
|
|
|
|
ftp://ftp.it.net.au/mirrors/Fortify/
|
2000-01-04 02:22:26 -05:00
|
|
|
DISTFILES= ${DISTNAME}.tar.gz \
|
1999-10-05 15:20:52 -04:00
|
|
|
${FORTIFY}.tar.gz:1
|
1998-07-12 20:35:00 -04:00
|
|
|
|
1999-05-06 12:57:57 -04:00
|
|
|
OBJMACHINE= "yes"
|
1999-12-17 22:18:40 -05:00
|
|
|
NO_CDROM= "NOFEE: see http://www.fortify.net/copyright.txt"
|
1998-07-12 20:35:00 -04:00
|
|
|
NO_CONFIGURE= "No configure scripts"
|
2000-02-10 18:14:27 -05:00
|
|
|
WRKDIST= ${WRKDIR}
|
1998-07-12 20:35:00 -04:00
|
|
|
|
1999-05-06 12:57:57 -04:00
|
|
|
MAINTAINER= brad@openbsd.org
|
1998-07-12 20:35:00 -04:00
|
|
|
|
|
|
|
pre-fetch:
|
1999-05-06 12:57:57 -04:00
|
|
|
.if !defined(NO_WARNINGS)
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
1999-12-17 22:18:40 -05:00
|
|
|
@echo ""
|
|
|
|
@echo " WARNING: This application requires a kernel compiled with"
|
|
|
|
@echo " 'option COMPAT_BSDOS' for proper operation. The"
|
|
|
|
@echo " GENERIC kernel contains this option."
|
|
|
|
@echo ""
|
1998-12-16 15:08:42 -05:00
|
|
|
.endif
|
1999-05-06 12:57:57 -04:00
|
|
|
.if ${MACHINE_ARCH} == "sparc"
|
1999-12-17 22:18:40 -05:00
|
|
|
@echo ""
|
|
|
|
@echo " WARNING: This application requires a kernel compiled with"
|
|
|
|
@echo " 'option COMPAT_SUNOS' and SunOS shared librarys"
|
|
|
|
@echo " for proper operation, see compat_sunos(8) for"
|
|
|
|
@echo " further details. The GENERIC kernel contains"
|
|
|
|
@echo " this option."
|
|
|
|
@echo ""
|
1999-05-06 12:57:57 -04:00
|
|
|
.endif
|
|
|
|
.endif
|
1998-07-12 20:35:00 -04:00
|
|
|
|
|
|
|
do-build:
|
1999-06-21 12:12:04 -04:00
|
|
|
@cd ${WRKDIR}/${FORTIFY}/src/common && \
|
2000-02-22 12:08:31 -05:00
|
|
|
env ${MAKE_ENV} make ${MAKE_FLAGS} -f ${MAKE_FILE} all && \
|
1999-06-21 12:12:04 -04:00
|
|
|
cd ${WRKDIR}/${FORTIFY}/src/cmdline && \
|
2000-02-22 12:08:31 -05:00
|
|
|
env ${MAKE_ENV} make ${MAKE_FLAGS} -f ${MAKE_FILE} fortify
|
1998-07-12 20:35:00 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@cd ${WRKDIR}/${NAVIGATORNAME} && ${MAKE_ENV} ./ns-install
|
|
|
|
|
|
|
|
post-install:
|
1999-05-15 19:07:11 -04:00
|
|
|
.if ${MACHINE_ARCH} == "sparc"
|
1999-12-17 22:18:40 -05:00
|
|
|
@cp ${PREFIX}/netscape/netscape ${PREFIX}/netscape/netscape_nis
|
|
|
|
@cp ${PREFIX}/netscape/netscape_dns ${PREFIX}/netscape/netscape
|
|
|
|
@rm -f ${PREFIX}/netscape/netscape_dns
|
1999-05-15 19:07:11 -04:00
|
|
|
.endif
|
1999-06-21 12:12:04 -04:00
|
|
|
@cd ${WRKDIR}/${FORTIFY} && \
|
1999-12-17 22:18:40 -05:00
|
|
|
ln -sf languages/English Messages && \
|
|
|
|
(echo yes ; echo no ; echo no) \
|
1999-09-15 14:23:50 -04:00
|
|
|
| src/cmdline/fortify ${PREFIX}/netscape/netscape
|
1999-05-15 19:07:11 -04:00
|
|
|
.if ${MACHINE_ARCH} == "sparc"
|
1999-06-21 12:12:04 -04:00
|
|
|
@cd ${WRKDIR}/${FORTIFY} && \
|
1999-12-17 22:18:40 -05:00
|
|
|
(echo yes ; echo no ; echo no) \
|
1999-09-15 14:23:50 -04:00
|
|
|
| src/cmdline/fortify ${PREFIX}/netscape/netscape_nis
|
1999-05-15 19:07:11 -04:00
|
|
|
.endif
|
1999-12-17 22:18:40 -05:00
|
|
|
@sed -e 's#@netscape_home@#${PREFIX}/netscape#' \
|
1999-05-15 19:07:11 -04:00
|
|
|
${FILESDIR}/netscape.${MACHINE_ARCH} > ${WRKDIR}/netscape
|
1999-12-17 22:18:40 -05:00
|
|
|
@if [ -f ${PREFIX}/bin/netscape]; then \
|
|
|
|
mv ${PREFIX}/bin/netscape ${PREFIX}/bin/netscape.old; \
|
|
|
|
fi
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/netscape ${PREFIX}/bin
|
1998-07-12 20:35:00 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|