From 4dbf74d33b5ae8be93ad2d31d9a5af5f46f22889 Mon Sep 17 00:00:00 2001 From: jschauma Date: Fri, 20 Sep 2002 13:54:53 +0000 Subject: Move ONLY_FOR_PLATFORMS into main Makefile; include OS/ARCH dependent Makefiles only if they exist (ie don't barf if not supported). --- www/netscape7/Makefile | 12 +++++++++--- www/netscape7/Makefile.Linux.i386 | 3 +-- www/netscape7/Makefile.NetBSD.i386 | 3 +-- 3 files changed, 11 insertions(+), 7 deletions(-) (limited to 'www/netscape7') 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 -- cgit v1.2.3