diff options
author | jschauma <jschauma@pkgsrc.org> | 2002-09-29 22:58:43 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2002-09-29 22:58:43 +0000 |
commit | 2b0e93d8e81cf24bdb3ac33cb4fb31f8087b8cee (patch) | |
tree | b7dee1734205522b2f54fca919ca736465695434 /www/netscape7/Makefile | |
parent | d3f653b1a9452acac9e97c68604e4b4a0db0df4a (diff) | |
download | pkgsrc-2b0e93d8e81cf24bdb3ac33cb4fb31f8087b8cee.tar.gz |
- Allow the user to choose the language version of this package by setting
a variable (PKG_LANG), adding and modifying PLISTs and distinfo's as necessary.
- Do not use the installer as the distfile, but the "real" distfile.
This increases the initial download time, but allows for building without
a network connection. As suggested by grant in PR pkg/18461
- Only try to pax over files from the linux-emul root if they were
created in there. This should address PR pkg/18461 by grant.
Bump PKGREVISION.
Diffstat (limited to 'www/netscape7/Makefile')
-rw-r--r-- | www/netscape7/Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/www/netscape7/Makefile b/www/netscape7/Makefile index aedebd2c27b..9229256fc8c 100644 --- a/www/netscape7/Makefile +++ b/www/netscape7/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.3 2002/09/22 01:29:00 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2002/09/29 22:58:43 jschauma Exp $ # -DISTNAME= netscape-i686-pc-linux-gnu-installer +DISTNAME= netscape-i686-pc-linux-gnu-sea PKGNAME= netscape${VERS_MAJ}-${VERS_MIN} +PKGREVISION= 1 CATEGORIES= www MASTER_SITES= ftp://ftp.netscape.com/pub/netscape7/${SUB}/ \ ftp://sunsite.utk.edu/pub/netscape/netscape7/${SUB}/ \ @@ -25,10 +26,20 @@ INTERACTIVE_STAGE= build VERS_MAJ= 7 VERS_MIN= 0 -SUB= english/${VERS_MAJ}.${VERS_MIN}/unix/${DIST_DIR_NAME} +PKG_LANG?= english +SUB= ${PKG_LANG}/${VERS_MAJ}.${VERS_MIN}/unix/${DIST_DIR_NAME}/sea DIST_SUBDIR= netscape7 WRKSRC= ${WRKDIR}/netscape-installer +.if ${PKG_LANG} != english +DISTINFO_FILE= ${FILESDIR}/distinfo.${PKG_LANG} +.endif + +PLIST_SRC= ${FILESDIR}/PLIST.${PKG_LANG} PLIST + +pre-fetch: + @${CAT} ${FILESDIR}/fetch-message + pre-build: ${SED} -e "s|@PREFIX@|${PREFIX}|g" ${FILESDIR}/netscape.sh > \ ${WRKDIR}/netscape7 |