summaryrefslogtreecommitdiff
path: root/www/netscape7/Makefile
diff options
context:
space:
mode:
authorjschauma <jschauma>2002-09-29 22:58:43 +0000
committerjschauma <jschauma>2002-09-29 22:58:43 +0000
commit7e2f976b2e81ae5058ceaf8d3e1e627e6039c8c9 (patch)
treeb7dee1734205522b2f54fca919ca736465695434 /www/netscape7/Makefile
parentda48fd029272bc07cba9ace3649da54c8e7b9bb3 (diff)
downloadpkgsrc-7e2f976b2e81ae5058ceaf8d3e1e627e6039c8c9.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/Makefile17
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