diff options
author | cjep <cjep> | 2003-01-04 12:58:24 +0000 |
---|---|---|
committer | cjep <cjep> | 2003-01-04 12:58:24 +0000 |
commit | a254aa596821c56fcb279da0917820810e5eb17c (patch) | |
tree | 6d6b106352fd56aaaa8e95164513715f6536134c /print | |
parent | 19cd70e15131446861015a6df938c33f3ba712b6 (diff) | |
download | pkgsrc-a254aa596821c56fcb279da0917820810e5eb17c.tar.gz |
Move default DISTNAME and PLATFORM further up the Makefile. This has
no effect on valid platforms.
On invalid platforms (such as NetBSD/arm), we get the proper
===> acroread5-5.06 is not available for NetBSD-1.6-arm
message again.
Diffstat (limited to 'print')
-rw-r--r-- | print/acroread5/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/print/acroread5/Makefile b/print/acroread5/Makefile index 7f4ee8099aa..bc14a6f5483 100644 --- a/print/acroread5/Makefile +++ b/print/acroread5/Makefile @@ -1,5 +1,6 @@ -# $NetBSD: Makefile,v 1.4 2002/12/07 02:39:02 schmonz Exp $ +# $NetBSD: Makefile,v 1.5 2003/01/04 12:58:24 cjep Exp $ +DISTNAME= acroread5 # Overridden below PKGNAME= acroread5-5.06 CATEGORIES= print MASTER_SITES= ftp://ftp-pac.adobe.com/pub/adobe/acrobatreader/unix/5.x/ @@ -25,6 +26,9 @@ WRKSRC= ${WRKDIR} ONLY_FOR_PLATFORM= *-*-i386 SunOS-*-sparc +# Default (overridden below) +PLATFORM= unknown + .if ${OPSYS} == "NetBSD" . if (${MACHINE_ARCH} == "i386") DEPENDS= suse_x11>=6.1:../../emulators/${SUSE_DIR_PREFIX}_x11 @@ -40,9 +44,6 @@ PLATFORM= sparcsolaris .elif ${OPSYS} == "SunOS" DISTNAME= solaris-506 PLATFORM= sparcsolaris -.else -DISTNAME= ${PKGNAME} -PLATFORM= unknown .endif PLIST_SUBST+= PLATFORM=${PLATFORM} |