summaryrefslogtreecommitdiff
path: root/graphics/ns-flash
diff options
context:
space:
mode:
authorjlam <jlam>1999-10-04 17:31:24 +0000
committerjlam <jlam>1999-10-04 17:31:24 +0000
commit7a105654f582421c41bbb44f7eb979b316411060 (patch)
treeaf4fa29d5e541cbac74d94c818cbe202ca473b99 /graphics/ns-flash
parent6b81e96d18da44ca764b0e4ff787131bfddf5fdf (diff)
downloadpkgsrc-7a105654f582421c41bbb44f7eb979b316411060.tar.gz
Make life easier on agc by adding (untested!) Solaris support.
Diffstat (limited to 'graphics/ns-flash')
-rw-r--r--graphics/ns-flash/Makefile33
-rw-r--r--graphics/ns-flash/files/md53
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