1999-10-07 15:40:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.22 1999/10/07 19:40:44 brad 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
|
1999-10-05 15:20:52 -04:00
|
|
|
NEED_VERSION= 1.121
|
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-08-21 10:35:04 -04:00
|
|
|
FORTIFY= Fortify-1.4.4-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
|
|
|
|
SUPDISTFILES= ${NS_SPARC}
|
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
|
|
|
|
SUPDISTFILES= ${NS_I386}
|
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
|
|
|
NO_CDROM= "NOFEE: see http://www.fortify.net/copyright.txt"
|
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/${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_SITES0= \
|
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}/
|
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/
|
1998-07-12 20:35:00 -04:00
|
|
|
|
1999-10-05 15:20:52 -04:00
|
|
|
DISTFILES= ${DISTNAME}.tar.gz:0 \
|
|
|
|
${FORTIFY}.tar.gz:1
|
1998-07-12 20:35:00 -04:00
|
|
|
|
1999-05-06 12:57:57 -04:00
|
|
|
OBJMACHINE= "yes"
|
|
|
|
NO_WRKSUBDIR= "No work subdirectory"
|
1998-07-12 20:35:00 -04:00
|
|
|
NO_CONFIGURE= "No configure scripts"
|
|
|
|
IS_INTERACTIVE= "Netscape installer"
|
|
|
|
|
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"
|
1998-07-12 20:35:00 -04:00
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} " WARNING: This application requires a kernel compiled with"
|
1999-09-15 14:23:50 -04:00
|
|
|
@${ECHO} " 'option COMPAT_BSDOS' for proper operation. The"
|
|
|
|
@${ECHO} " GENERIC kernel contains these options."
|
1998-07-12 20:35:00 -04:00
|
|
|
@${ECHO} ""
|
1998-12-16 15:08:42 -05:00
|
|
|
.endif
|
1999-05-06 12:57:57 -04:00
|
|
|
.if ${MACHINE_ARCH} == "sparc"
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} " WARNING: This application requires a kernel compiled with"
|
1999-08-05 20:53:02 -04:00
|
|
|
@${ECHO} " 'option COMPAT_SUNOS' and SunOS shared librarys"
|
|
|
|
@${ECHO} " for proper operation, see compat_sunos(8) for"
|
|
|
|
@${ECHO} " further details. The GENERIC kernel contains"
|
1999-09-04 21:09:45 -04:00
|
|
|
@${ECHO} " this option."
|
1999-05-06 12:57:57 -04:00
|
|
|
@${ECHO} ""
|
|
|
|
.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 && \
|
1999-04-26 17:13:57 -04:00
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} all && \
|
1999-06-21 12:12:04 -04:00
|
|
|
cd ${WRKDIR}/${FORTIFY}/src/cmdline && \
|
1998-07-12 20:35:00 -04:00
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} fortify
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@cd ${WRKDIR}/${NAVIGATORNAME} && ${MAKE_ENV} ./ns-install
|
|
|
|
|
|
|
|
post-install:
|
1999-05-15 19:07:11 -04:00
|
|
|
.if ${MACHINE_ARCH} == "sparc"
|
1999-05-20 17:12:25 -04:00
|
|
|
@${CP} ${PREFIX}/netscape/netscape ${PREFIX}/netscape/netscape_nis
|
|
|
|
@${CP} ${PREFIX}/netscape/netscape_dns ${PREFIX}/netscape/netscape
|
|
|
|
@${RM} ${PREFIX}/netscape/netscape_dns
|
1999-05-15 19:07:11 -04:00
|
|
|
.endif
|
1999-06-21 12:12:04 -04:00
|
|
|
@cd ${WRKDIR}/${FORTIFY} && \
|
|
|
|
${LN} -sf languages/English Messages && \
|
1999-09-15 14:23:50 -04:00
|
|
|
(${ECHO} yes ; ${ECHO} no ; ${ECHO} no) \
|
|
|
|
| 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-09-15 14:23:50 -04:00
|
|
|
(${ECHO} yes ; ${ECHO} no ; ${ECHO} no) \
|
|
|
|
| src/cmdline/fortify ${PREFIX}/netscape/netscape_nis
|
1999-05-15 19:07:11 -04:00
|
|
|
.endif
|
|
|
|
@${SED} 's#@netscape_home@#${PREFIX}/netscape#' \
|
|
|
|
${FILESDIR}/netscape.${MACHINE_ARCH} > ${WRKDIR}/netscape
|
1999-05-06 12:57:57 -04:00
|
|
|
@if test -f ${PREFIX}/bin/netscape ; then \
|
1998-07-12 20:35:00 -04:00
|
|
|
${MV} ${PREFIX}/bin/netscape ${PREFIX}/bin/netscape.old ; fi
|
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/netscape ${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|