Integrate navigator/communicator ports. Consistent naming of bsdi/linux

versions.
This commit is contained in:
espie 2001-08-24 15:04:02 +00:00
parent 0aa3e082a0
commit e7436bd079
8 changed files with 58 additions and 30 deletions

View File

@ -1,8 +1,10 @@
# $OpenBSD: Makefile,v 1.4 2000/09/01 04:24:37 brad Exp $
# $OpenBSD: Makefile,v 1.5 2001/08/24 15:04:02 espie Exp $
SUBDIR+= navigator-old
SUBDIR+= communicator-old
SUBDIR+= navigator
SUBDIR+= communicator
SUBDIR+= navigator-linux
SUBDIR+= communicator-linux
.include <bsd.port.subdir.mk>

View File

@ -1,14 +1,36 @@
# $OpenBSD: Makefile.inc,v 1.11 2001/08/10 14:37:58 brad Exp $
# $OpenBSD: Makefile.inc,v 1.12 2001/08/24 15:04:02 espie Exp $
#
# Relevant URLs: http://www.bsdi.com/netscape/
# http://www.fortify.net/
# Subdirectory MUST define DIRNAME, LOCATION and PROGRAM_V.
# EMUL_TYPE
.if ${MACHINE_ARCH} == "sparc" && !exists(/emul/sunos/usr/lib/ld.so)
IGNORE= "requires SunOS shared libraries"
.if ${EMUL_TYPE} == "linux"
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
BUILD_DEPENDS= /emul/linux/lib/ld.so::emulators/redhat_base
RUN_DEPENDS= ${BUILD_DEPENDS}
SUPPORTED= supported
ONLY_FOR_ARCHS= i386
.endif
.if ${EMUL_TYPE} == "sunos"
ONLY_FOR_ARCHS= sparc
. if ${MACHINE_ARCH} == "sparc" && !exists(/emul/sunos/usr/lib/ld.so)
IGNORE= "requires SunOS shared libraries"
. endif
NEEDS_FORTIFY= Yes
.endif
.if ${EMUL_TYPE} == "bsdi"
ONLY_FOR_ARCHS= i386
.endif
MAINTAINER?= Brad Smith <brad@openbsd.org>
SUPPORTED?= unsupported
CATEGORIES= www
NEED_VERSION= 1.413
MASTER_SITES= \
@ -25,13 +47,11 @@ 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.it.net.au/mirrors/Fortify/
MASTER_SITE_SUBDIR= communicator/english/${PROGRAM_V}/unix/unsupported/${LOCATION}
MASTER_SITE_SUBDIR= communicator/english/${PROGRAM_V}/unix/${SUPPORTED}/${LOCATION}
DIST_SUBDIR= netscape
HOMEPAGE= http://www.netscape.com/
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= No
PERMIT_PACKAGE_FTP= No
PERMIT_DISTFILES_CDROM= No
@ -39,16 +59,24 @@ PERMIT_DISTFILES_FTP= No
WRKDIST= ${WRKDIR}
.if !defined(NO_WARNINGS)
pre-fetch:
.if ${MACHINE_ARCH} == "i386"
.if ${EMUL_TYPE} == "bsdi"
@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
.if ${MACHINE_ARCH} == "sparc"
.if ${EMUL_TYPE} == "linux"
@echo ""
@echo " WARNING: This application requires a kernel compiled with"
@echo " 'option COMPAT_LINUX' for proper operation. The"
@echo " GENERIC kernel contains this option."
@echo ""
.endif
.if ${EMUL_TYPE} == "sunos"
@echo ""
@echo " WARNING: This application requires a kernel compiled with"
@echo " 'option COMPAT_SUNOS' and SunOS shared libraries"
@ -59,7 +87,7 @@ pre-fetch:
.endif
.endif
.if ${MACHINE_ARCH} == "sparc"
.if defined(NEEDS_FORTIFY)
do-build:
@cd ${WRKDIR}/${FORTIFY}/src/common && \
env ${MAKE_ENV} make ${MAKE_FLAGS} ${MAKEFILE} all && \
@ -71,7 +99,7 @@ do-install:
@cd ${WRKDIR}/${DIRNAME} && ${MAKE_ENV} ./ns-install
post-install:
.if ${MACHINE_ARCH} == "sparc"
.if defined(NEEDS_FORTIFY)
@cp ${PREFIX}/netscape/netscape ${PREFIX}/netscape/netscape_nis
@cp ${PREFIX}/netscape/netscape_dns ${PREFIX}/netscape/netscape
@rm -f ${PREFIX}/netscape/netscape_dns

View File

@ -1,12 +1,12 @@
# $OpenBSD: Makefile,v 1.6 2001/05/06 04:22:50 lebel Exp $
# $OpenBSD: Makefile,v 1.7 2001/08/24 15:04:02 espie Exp $
COMMENT= "Netscape Communicator WWW browser with 128-bit encryption"
COMMENT= "Netscape Communicator"
ONLY_FOR_ARCHS= sparc
NEED_VERSION= 1.402
PROGRAM_V= 4.61
V2:= ${PROGRAM_V:S/.//}
EMUL_TYPE= sunos
DISTNAME= communicator-v${V2}-export.sparc-sun-sunos4.1.3_U1
PKGNAME= communicator-${PROGRAM_V}p1

View File

@ -1,15 +1,15 @@
# $OpenBSD: Makefile,v 1.9 2001/05/06 04:22:49 lebel Exp $
# $OpenBSD: Makefile,v 1.10 2001/08/24 15:04:02 espie Exp $
COMMENT= "Netscape Communicator WWW browser with 128-bit encryption"
COMMENT= "Netscape Communicator (bsdi)"
ONLY_FOR_ARCHS= i386
NEED_VERSION= 1.402
PROGRAM_V= 4.75
V2:= ${PROGRAM_V:S/.//}
EMUL_TYPE= bsdi
DISTNAME= communicator-v${V2}-us.x86-bsdi-bsd2
PKGNAME= communicator-${PROGRAM_V}p1
PKGNAME= communicator-bsdi-${PROGRAM_V}p1
LOCATION= bsdi21/complete_install
DIRNAME= communicator-v${V2}.x86-bsdi-bsd2

View File

@ -1,7 +1,6 @@
@comment $OpenBSD: PLIST.i386,v 1.4 2001/06/22 02:57:31 brad Exp $
@comment $OpenBSD: PLIST.i386,v 1.5 2001/08/24 15:04:02 espie Exp $
@pkgcfl navigator-*
@pkgcfl linux-communicator-*
@pkgcfl linux-navigator-*
bin/netscape
netscape/LICENSE
netscape/Netscape.ad

View File

@ -1,12 +1,12 @@
# $OpenBSD: Makefile,v 1.6 2001/05/06 04:22:51 lebel Exp $
# $OpenBSD: Makefile,v 1.7 2001/08/24 15:04:02 espie Exp $
COMMENT= "Netscape Navigator WWW browser with 128-bit encryption"
COMMENT= "Netscape Navigator"
ONLY_FOR_ARCHS= sparc
NEED_VERSION= 1.402
PROGRAM_V= 4.61
V2:= ${PROGRAM_V:S/.//}
EMUL_TYPE= sunos
DISTNAME= navigator-v${V2}-export.sparc-sun-sunos4.1.3_U1
PKGNAME= navigator-${PROGRAM_V}p1

View File

@ -1,15 +1,15 @@
# $OpenBSD: Makefile,v 1.9 2001/05/06 04:22:50 lebel Exp $
# $OpenBSD: Makefile,v 1.10 2001/08/24 15:04:02 espie Exp $
COMMENT= "Netscape Navigator WWW browser with 128-bit encryption"
COMMENT= "Netscape Navigator (bsdi)"
ONLY_FOR_ARCHS= i386
NEED_VERSION= 1.402
PROGRAM_V= 4.75
V2:= ${PROGRAM_V:S/.//}
EMUL_TYPE= bsdi
DISTNAME= navigator-v${V2}-us.x86-bsdi-bsd2
PKGNAME= navigator-${PROGRAM_V}p1
PKGNAME= navigator-bsdi-${PROGRAM_V}
LOCATION= bsdi21/navigator_standalone
DIRNAME= navigator-v${V2}.x86-bsdi-bsd2

View File

@ -1,7 +1,6 @@
@comment $OpenBSD: PLIST.i386,v 1.5 2001/06/22 02:57:31 brad Exp $
@comment $OpenBSD: PLIST.i386,v 1.6 2001/08/24 15:04:02 espie Exp $
@pkgcfl communicator-*
@pkgcfl linux-communicator-*
@pkgcfl linux-navigator-*
@pkgcfl navigator-*
bin/netscape
netscape/LICENSE
netscape/Netscape.ad