summaryrefslogtreecommitdiff
path: root/www/netscape7/Makefile.NetBSD.i386
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.NetBSD.i386
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.NetBSD.i386')
-rw-r--r--www/netscape7/Makefile.NetBSD.i38616
1 files changed, 10 insertions, 6 deletions
diff --git a/www/netscape7/Makefile.NetBSD.i386 b/www/netscape7/Makefile.NetBSD.i386
index c6af796a300..0399fe4c3a3 100644
--- a/www/netscape7/Makefile.NetBSD.i386
+++ b/www/netscape7/Makefile.NetBSD.i386
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.NetBSD.i386,v 1.2 2002/09/20 13:54:53 jschauma Exp $
+# $NetBSD: Makefile.NetBSD.i386,v 1.3 2002/09/29 22:58:44 jschauma Exp $
#
DIST_DIR_NAME= linux22
@@ -7,16 +7,20 @@ DEPENDS+= suse_compat>=7.3:../../emulators/${SUSE_DIR_PREFIX}_compat
DEPENDS+= suse_x11>=7.3:../../emulators/${SUSE_DIR_PREFIX}_x11
DEPENDS+= suse_gtk>=7.3:../../emulators/${SUSE_DIR_PREFIX}_gtk
-INSTDIR= ${PREFIX}/emul/linux/${WRKSRC}/dest
+INSTDIR= ${PREFIX}/emul/linux${WRKSRC}/dest
HAS_MSG= yes
MESSAGE_SRC= ${PKGDIR}/MESSAGE.${OPSYS}
-# the installer starts netscape, under linux emulation, nontheless!
+# The installer starts netscape - under linux emulation, nontheless!
+# If the user running 'make' has permission to do so, the installer will
+# create ${INSTDIR} and install there.
# Since we need the files that are generated during the first run, we need to
# fetch them and install them now.
post-install:
- cd ${INSTDIR} && ${PAX} -rw . ${PREFIX}/lib/netscape/netscape7
- ${RM} -fr ${PREFIX}/emul/linux/root/.mozilla
- ${RM} -fr ${PREFIX}/emul/linux/root/.fullcircle
+ if [ -d ${INSTDIR} ]; then \
+ cd ${INSTDIR} && ${PAX} -rw . ${PREFIX}/lib/netscape/netscape7; \
+ ${RM} -fr ${PREFIX}/emul/linux/root/.mozilla; \
+ ${RM} -fr ${PREFIX}/emul/linux/root/.fullcircle; \
+ fi;
.include "../../emulators/suse_linux/Makefile.application"