2000-08-31 06:09:44 -04:00
|
|
|
# $OpenBSD: Makefile.inc,v 1.8 2000/08/31 10:09:44 brad Exp $
|
2000-04-09 11:50:14 -04:00
|
|
|
#
|
|
|
|
# Relevant URLs: http://www.bsdi.com/netscape/
|
|
|
|
|
2000-08-31 06:04:36 -04:00
|
|
|
# Subdirectory MUST define DIRNAME, LOCATION and PROGRAM_V.
|
2000-04-09 11:50:14 -04:00
|
|
|
|
2000-08-31 06:04:36 -04:00
|
|
|
CATEGORIES= www
|
|
|
|
NEED_VERSION= 1.322
|
2000-04-09 11:50:14 -04:00
|
|
|
MASTER_SITES= \
|
|
|
|
ftp://ftp.netscape.com/pub/%SUBDIR%/ \
|
|
|
|
ftp://uiarchive.uiuc.edu/pub/www/netscape/%SUBDIR%/ \
|
2000-08-31 06:04:36 -04:00
|
|
|
ftp://netscape.Mirror.McGill.CA/pub/mirrors/ftp.netscape.com/pub/%SUBDIR%/ \
|
2000-04-09 11:50:14 -04:00
|
|
|
ftp://ftp.the.net/pub/mirrors/ftp.netscape.com/pub/%SUBDIR%/ \
|
|
|
|
ftp://sunsite.doc.ic.ac.uk/packages/netscape/pub/%SUBDIR%/ \
|
|
|
|
ftp://ftp-de.netscape.com/pub/%SUBDIR%/ \
|
2000-07-09 21:07:33 -04:00
|
|
|
ftp://nic.funet.fi/pub/mirrors/ftp.netscape.com/pub/%SUBDIR%/
|
2000-08-31 06:04:36 -04:00
|
|
|
MASTER_SITE_SUBDIR= communicator/english/${PROGRAM_V}/unix/unsupported/${LOCATION}
|
|
|
|
DIST_SUBDIR= netscape
|
2000-04-09 11:50:14 -04:00
|
|
|
|
2000-08-31 06:04:36 -04:00
|
|
|
HOMEPAGE= http://www.netscape.com/
|
2000-04-09 11:50:14 -04:00
|
|
|
|
2000-08-31 06:04:36 -04:00
|
|
|
MAINTAINER= brad@openbsd.org
|
2000-04-09 11:50:14 -04:00
|
|
|
|
2000-08-31 06:04:36 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= No
|
|
|
|
PERMIT_PACKAGE_FTP= No
|
|
|
|
PERMIT_DISTFILES_CDROM= No
|
|
|
|
PERMIT_DISTFILES_FTP= No
|
2000-04-09 11:50:14 -04:00
|
|
|
|
2000-08-31 06:04:36 -04:00
|
|
|
WRKDIST= ${WRKDIR}/${DIRNAME}
|
2000-04-09 11:50:14 -04:00
|
|
|
|
|
|
|
.if !defined(NO_WARNINGS)
|
2000-08-31 06:04:36 -04:00
|
|
|
pre-fetch:
|
2000-04-09 11:50:14 -04:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
|
|
@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 ""
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2000-08-31 06:09:44 -04:00
|
|
|
@cd ${WRKSRC} && ${MAKE_ENV} ./ns-install
|
2000-04-09 11:50:14 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@sed -e 's#@netscape_home@#${TRUEPREFIX}/netscape#' \
|
|
|
|
${FILESDIR}/netscape.${MACHINE_ARCH} > ${WRKDIR}/netscape
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/netscape ${PREFIX}/bin
|