diff options
author | abs <abs> | 2000-01-05 15:43:34 +0000 |
---|---|---|
committer | abs <abs> | 2000-01-05 15:43:34 +0000 |
commit | f66aa427576bb41cbb9c80e160c8e01e4f554f76 (patch) | |
tree | 945eadcda248fc21ff51d1374a369fb7c1400f9d /www/navigator/Makefile | |
parent | 95abf09c7f732eeb87410807acef31154ba84a5f (diff) | |
download | pkgsrc-f66aa427576bb41cbb9c80e160c8e01e4f554f76.tar.gz |
Update to 4.7 - this is except for the SunOS version which seems to have ended
at 4.61.
Since the Makefiles for navigator and communicator contained so much duplicate
magic, move all the magic to navigator/Makefile.common.
Diffstat (limited to 'www/navigator/Makefile')
-rw-r--r-- | www/navigator/Makefile | 120 |
1 files changed, 3 insertions, 117 deletions
diff --git a/www/navigator/Makefile b/www/navigator/Makefile index fbbd09bb5df..994540b9a85 100644 --- a/www/navigator/Makefile +++ b/www/navigator/Makefile @@ -1,122 +1,8 @@ -# $NetBSD: Makefile,v 1.22 1999/11/25 01:26:12 hubertf Exp $ +# $NetBSD: Makefile,v 1.23 2000/01/05 15:43:34 abs Exp $ # -# Every effort has been made to keep the communicator and navigator -# Makefiles as similar as possible. BINNAME= navigator -NS_VERS= 4.61 -NS_VERS_SHORT= 461 +DIST_SDIR_NAME= navigator_standalone NS_ENCRYPTION?= export - -BUILD_DEFS+= NS_ENCRYPTION - # -.include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "sparc" -DISTUNAME= sparc-sun-solaris2.5.1 -DIST_DIR_NAME= supported/sunos551 -WRKNAME= sparc-sun-solaris2.5.1 -VENDOR_NAME= Solaris 2.5.1 -.elif (${MACHINE_ARCH} == "alpha") -.if !exists(/emul/osf1/sbin/loader) -IGNORE= requires Digital UNIX libraries - see compat_osf1(8) -.endif -DISTUNAME= alpha-dec-osf4.0 -DIST_DIR_NAME= supported/dec_unix40 -WRKNAME= alpha-dec-osf4.0 -VENDOR_NAME= Tru64 UNIX -.elif (${MACHINE_ARCH} == "i386") -DEPENDS= suse_linux-6.1p1:../../emulators/suse_linux -DISTUNAME= x86-unknown-linuxglibc2.0 -DIST_DIR_NAME= supported/linux20_glibc2 -WRKNAME= x86-unknown-linux2.0 -VENDOR_NAME= Linux 2.0 (glibc) -.elif (${MACHINE_ARCH} == "sparc") -.if !exists(/emul/sunos/usr/lib/ld.so) -IGNORE= requires SunOS libraries - see compat_sunos(8) -.endif -DISTUNAME= sparc-sun-sunos4.1.3_U1 -DIST_DIR_NAME= unsupported/sunos413 -WRKNAME= ${DISTUNAME} -VENDOR_NAME= SunOS 4.1.3 -.endif -# -DISTNAME= ${BINNAME}-v${NS_VERS_SHORT}-${NS_ENCRYPTION}.${DISTUNAME} -PKGNAME= ${BINNAME}-${NS_VERS} -CATEGORIES= www -SUB= english/${NS_VERS}/unix/${DIST_DIR_NAME}/navigator_standalone -MASTER_SITES= ftp://ftp.netscape.org/pub/communicator/${SUB}/ \ - ftp://sunsite.utk.edu/pub/netscape/communicator/${SUB}/ \ - ftp://ftp-uk.netscape.com/pub/communicator/${SUB}/ \ - ftp.informatik.rwth-aachen.de:/pub/mirror/ftp.netscape.com/pub/communicator/${SUB}/ -ONLY_FOR_PLATFORM= *-*-alpha *-*-i386 *-*-sparc - -MAINTAINER= packages@netbsd.org -HOMEPAGE= http://home.netscape.com/browsers/index.html - -NO_BUILD= yes - -WRKSRC= ${WRKDIR}/${BINNAME}-v${NS_VERS_SHORT}.${WRKNAME} -MOZILLA_HOME= ${PREFIX}/lib/netscape/${PKGNAME} -NS_PLUGINS_DIR= ${PREFIX}/lib/netscape/plugins - -.include "../../mk/bsd.prefs.mk" - -PLIST_SRC= ${PKGDIR}/PLIST.pre \ - ${PKGDIR}/PLIST.${LOWER_OPSYS}-${MACHINE_ARCH} \ - ${PKGDIR}/PLIST.post -PLIST_SUBST+= NS_VERS=${NS_VERS} - -.if (${NS_ENCRYPTION} == "us") -MASTER_SITES= -RESTRICTED= "128-bit key strong encryption; export-controlled" -MIRROR_DISTFILE= no -ONLY_FOR_PLATFORM= *-*-alpha *-*-i386 # *-*-sparc -DOWNLOAD= http://www.netscape.com/download/ - -do-fetch: - @if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \ - ${ECHO_MSG} "==============================================================="; \ - ${ECHO_MSG} " The 128-bit key strong encryption version of"; \ - ${ECHO_MSG} " Netscape for ${VENDOR_NAME} must be fetched"; \ - ${ECHO_MSG} " into \"${DISTDIR}\" from the following URL:"; \ - ${ECHO_MSG} " ${DOWNLOAD}"; \ - ${ECHO_MSG} "==============================================================="; \ - ${FALSE}; \ - fi -.endif - -do-install: - ${MKDIR} ${MOZILLA_HOME}/java/classes - ${INSTALL_SCRIPT} ${WRKSRC}/vreg ${MOZILLA_HOME} -.for file in ifc11.jar iiop10.jar jae40.jar java40.jar jio40.jar jsd10.jar \ - ldap30.jar resource.jar scd10.jar - ${INSTALL_DATA} ${WRKSRC}/${file} ${MOZILLA_HOME}/java/classes -.endfor - cd ${MOZILLA_HOME} ; ${GTAR} xpzf ${WRKSRC}/nethelp-v${NS_VERS_SHORT}.nif - cd ${MOZILLA_HOME} ; ${GTAR} xpzf ${WRKSRC}/netscape-v${NS_VERS_SHORT}.nif - - ${SED} -e 's#@@MOZILLA_HOME@@#${MOZILLA_HOME}#g' \ - -e 's#@@NS_PLUGINS_DIR@@#${NS_PLUGINS_DIR}#g' \ - <${FILESDIR}/${BINNAME}.sh >${WRKDIR}/${BINNAME}.sh - ${INSTALL_SCRIPT} ${WRKDIR}/${BINNAME}.sh ${PREFIX}/bin/${PKGNAME} - ${RM} -f ${PREFIX}/bin/${BINNAME} - ${LN} -sf ${PKGNAME} ${PREFIX}/bin/${BINNAME} - -.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "sparc" - # Bizarre magic to handle the NIS and DNS versions. Make DNS default. - @${SED} -e 's#MOZILLA_HOME/netscape#MOZILLA_HOME/netscape_nis#g' \ - <${WRKDIR}/${BINNAME}.sh >${WRKDIR}/${BINNAME}_nis.sh - ${INSTALL_SCRIPT} ${WRKDIR}/${BINNAME}_nis.sh \ - ${PREFIX}/bin/${PKGNAME}_nis - ${MV} ${MOZILLA_HOME}/netscape ${MOZILLA_HOME}/netscape_nis - ${MV} ${MOZILLA_HOME}/netscape_dns ${MOZILLA_HOME}/netscape -.endif - ${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR} - - ${CHOWN} -R 0:0 ${MOZILLA_HOME} - ${CHMOD} -R go-w ${MOZILLA_HOME} - cd ${MOZILLA_HOME} ; patch -s < ${FILESDIR}/bookmarks.patch - @rm -f ${MOZILLA_HOME}/bookmark.htm.orig - -.include "../../mk/bsd.pkg.mk" +.include "../navigator/Makefile.common" |