summaryrefslogtreecommitdiff
path: root/www/netscape7
diff options
context:
space:
mode:
authorjschauma <jschauma>2002-09-20 13:54:53 +0000
committerjschauma <jschauma>2002-09-20 13:54:53 +0000
commit4dbf74d33b5ae8be93ad2d31d9a5af5f46f22889 (patch)
tree9b396047ab2195f7e06240bf258f5a0ee5533ccb /www/netscape7
parentc30989a1d7e798f2ed0d423a913d61d3a548a127 (diff)
downloadpkgsrc-4dbf74d33b5ae8be93ad2d31d9a5af5f46f22889.tar.gz
Move ONLY_FOR_PLATFORMS into main Makefile; include OS/ARCH dependent
Makefiles only if they exist (ie don't barf if not supported).
Diffstat (limited to 'www/netscape7')
-rw-r--r--www/netscape7/Makefile12
-rw-r--r--www/netscape7/Makefile.Linux.i3863
-rw-r--r--www/netscape7/Makefile.NetBSD.i3863
3 files changed, 11 insertions, 7 deletions
diff --git a/www/netscape7/Makefile b/www/netscape7/Makefile
index a8ae6ba14d1..a1670954a2b 100644
--- a/www/netscape7/Makefile
+++ b/www/netscape7/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/09/19 22:33:49 jschauma Exp $
+# $NetBSD: Makefile,v 1.2 2002/09/20 13:54:53 jschauma Exp $
#
DISTNAME= netscape-i686-pc-linux-gnu-installer
@@ -12,7 +12,7 @@ MASTER_SITES= ftp://ftp.netscape.com/pub/netscape7/${SUB}/ \
MAINTAINER= jschauma@netbsd.org
HOMEPAGE= http://channels.netscape.com/ns/browsers/default.jsp
-COMMENT= Netscape's Browser/Mail- and Newsreader suite version 7
+COMMENT= Netscape Browser/Mail- and Newsreader suite version 7
RESTRICTED= "No re-distribution without agreement from Netscape"
NO_SRC_ON_CDROM= ${RESTRICTED}
@@ -20,6 +20,7 @@ NO_BIN_ON_CDROM= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
+ONLY_FOR_PLATFORM= Linux-*-i[3-6]86 NetBSD-*-i386
INTERACTIVE_STAGE= build
VERS_MAJ= 7
@@ -51,4 +52,9 @@ do-install:
# everything specific to your OS/Arch goes into it's own Makefile
# group together i386, i486, i586 and i686 (for Linux)
ARCH=${MACHINE_ARCH:C/i[3-6]86/i386/g}
-.include "Makefile.${OPSYS}.${ARCH}"
+
+.if exists(Makefile.${OPSYS}.${ARCH})
+. include "Makefile.${OPSYS}.${ARCH}"
+.else
+. include "../../mk/bsd.pkg.mk"
+.endif
diff --git a/www/netscape7/Makefile.Linux.i386 b/www/netscape7/Makefile.Linux.i386
index 228fc1d2d29..ca8bbabb669 100644
--- a/www/netscape7/Makefile.Linux.i386
+++ b/www/netscape7/Makefile.Linux.i386
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile.Linux.i386,v 1.1.1.1 2002/09/19 22:33:49 jschauma Exp $
+# $NetBSD: Makefile.Linux.i386,v 1.2 2002/09/20 13:54:53 jschauma Exp $
#
DIST_DIR_NAME= linux22
-ONLY_FOR_PLATFORM+= Linux-*-i[3-6]86
DEPENDS+= gtk+>=1.2.10:../../x11/gtk
PLIST_SRC= PLIST PLIST.linux
diff --git a/www/netscape7/Makefile.NetBSD.i386 b/www/netscape7/Makefile.NetBSD.i386
index 0b1a30cc957..c6af796a300 100644
--- a/www/netscape7/Makefile.NetBSD.i386
+++ b/www/netscape7/Makefile.NetBSD.i386
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile.NetBSD.i386,v 1.1.1.1 2002/09/19 22:33:49 jschauma Exp $
+# $NetBSD: Makefile.NetBSD.i386,v 1.2 2002/09/20 13:54:53 jschauma Exp $
#
DIST_DIR_NAME= linux22
-ONLY_FOR_PLATFORM+= NetBSD-*-i386
DEPENDS+= suse_compat>=7.3:../../emulators/${SUSE_DIR_PREFIX}_compat
DEPENDS+= suse_x11>=7.3:../../emulators/${SUSE_DIR_PREFIX}_x11