diff options
author | jlam <jlam> | 1999-10-04 17:31:24 +0000 |
---|---|---|
committer | jlam <jlam> | 1999-10-04 17:31:24 +0000 |
commit | 9163c9865f8f780f60ca78aa25e79f8da8e1763d (patch) | |
tree | af4fa29d5e541cbac74d94c818cbe202ca473b99 /graphics/ns-flash | |
parent | 17c34f162f26876db51e7a191b24139064278eb7 (diff) | |
download | pkgsrc-9163c9865f8f780f60ca78aa25e79f8da8e1763d.tar.gz |
Make life easier on agc by adding (untested!) Solaris support.
Diffstat (limited to 'graphics/ns-flash')
-rw-r--r-- | graphics/ns-flash/Makefile | 33 | ||||
-rw-r--r-- | graphics/ns-flash/files/md5 | 3 |
2 files changed, 25 insertions, 11 deletions
diff --git a/graphics/ns-flash/Makefile b/graphics/ns-flash/Makefile index c40932adee7..4ff86b745af 100644 --- a/graphics/ns-flash/Makefile +++ b/graphics/ns-flash/Makefile @@ -1,11 +1,28 @@ -# $NetBSD: Makefile,v 1.1.1.1 1999/09/04 16:43:13 jlam Exp $ +# $NetBSD: Makefile,v 1.2 1999/10/04 17:31:24 jlam Exp $ # -DISTNAME= flash_linux -PKGNAME= ns-flash-4.0.12 -WRKSRC= ${WRKDIR}/Linux +PKGNAME= ns-flash-4.0r12 +FLASH_VERS= ${PKGNAME:S/ns-flash-//} + +ONLY_FOR_PLATFORM= *-*-i386 *-*-sparc + +.include "../../mk/bsd.prefs.mk" + +.if (${MACHINE_ARCH} == "i386") +.if !exists(/emul/linux/lib/ld-linux.so.2) +IGNORE= requires Linux glibc2 libraries - see compat_linux(8) +.endif +DISTUNAME= linux +WRKNAME= Linux +.elif ${MACHINE_ARCH} == "sparc" && ${OPSYS} == "SunOS" +DISTUNAME= solaris +WRKNAME= Solaris +.endif + +DISTNAME= flash_${DISTUNAME} CATEGORIES= graphics www -MASTER_SITES= http://download.macromedia.com/pub/shockwave/flash/english/linux/4.0r12/ +SUB= english/${DISTUNAME}/${FLASH_VERS} +MASTER_SITES= http://download.macromedia.com/pub/shockwave/flash/${SUB}/ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.flash.com/ @@ -14,16 +31,12 @@ NO_CDROM= "Redistribution not permitted" RESTRICTED= "Export-controlled" MIRROR_DISTFILE= no -ONLY_FOR_PLATFORM= NetBSD-*-i386 NO_CONFIGURE= yes NO_BUILD= yes +WRKSRC= ${WRKDIR}/${WRKNAME} NS_PLUGINS_DIR= ${PREFIX}/lib/netscape/plugins -.if !exists(/emul/linux/lib/ld-linux.so.1) -IGNORE= requires Linux glibc2 libraries - see compat_linux(8) -.endif - do-install: ${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR} ${INSTALL_DATA} ${WRKSRC}/ShockwaveFlash.class ${NS_PLUGINS_DIR} diff --git a/graphics/ns-flash/files/md5 b/graphics/ns-flash/files/md5 index 1b6a4bc0b27..f82b903a234 100644 --- a/graphics/ns-flash/files/md5 +++ b/graphics/ns-flash/files/md5 @@ -1,3 +1,4 @@ -$NetBSD: md5,v 1.1.1.1 1999/09/04 16:43:13 jlam Exp $ +$NetBSD: md5,v 1.2 1999/10/04 17:31:25 jlam Exp $ MD5 (flash_linux.tar.gz) = 2962638158fb1f83fec4aa617405dd6a +MD5 (flash_solaris.tar.gz) = 18fa8bc9445f7b5d18d49382e01812c8 |