From fe6ce728e3018f1ee630da6f2d9ee4f1d6fd07a8 Mon Sep 17 00:00:00 2001 From: tsarna Date: Wed, 29 Sep 1999 15:32:49 +0000 Subject: Macromedia Flash player plugin for Netscape. Works for i386 now, there are the beginnings of support for Zoularis/sparc (and maybe NetBSD/sparc?) which someone else will have to finish up. --- www/flashplayer/Makefile | 34 ++++++++++++++++++++++++++++++++++ www/flashplayer/files/md5 | 3 +++ www/flashplayer/pkg/COMMENT | 1 + www/flashplayer/pkg/DESCR | 1 + www/flashplayer/pkg/PLIST | 6 ++++++ 5 files changed, 45 insertions(+) create mode 100644 www/flashplayer/Makefile create mode 100644 www/flashplayer/files/md5 create mode 100644 www/flashplayer/pkg/COMMENT create mode 100644 www/flashplayer/pkg/DESCR create mode 100644 www/flashplayer/pkg/PLIST (limited to 'www') diff --git a/www/flashplayer/Makefile b/www/flashplayer/Makefile new file mode 100644 index 00000000000..0679b0f649f --- /dev/null +++ b/www/flashplayer/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/09/29 15:32:49 tsarna Exp $ + +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "sparc" +DISTUNAME= solaris +WRKSRC= ${WRKDIR}/Solaris +.elif (${MACHINE_ARCH} == "i386") +.if !exists(/emul/linux/lib/ld-linux.so.2) +IGNORE= requires Linux glibc2 libraries - see compat_linux(8) +.endif +DISTUNAME= linux +WRKSRC= ${WRKDIR}/Linux +.endif + +DISTVER= 4.0r12 +DISTNAME= flash_${DISTUNAME} +PKGNAME= flashplayer-${DISTVER} +CATEGORIES= www +MASTER_SITES= http://download.macromedia.com/pub/shockwave/flash/english/${DISTUNAME}/${DISTVER}/ + +ONLY_FOR_PLATFORM= *-*-i386 # *-*-sparc + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.macromedia.com/software/flash/ + +NO_BUILD= yes + +NS_PLUGINS_DIR= ${PREFIX}/lib/netscape/plugins + +do-install: + ${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR} + ${INSTALL_DATA} ${WRKSRC}/* ${NS_PLUGINS_DIR} + +.include "../../mk/bsd.pkg.mk" diff --git a/www/flashplayer/files/md5 b/www/flashplayer/files/md5 new file mode 100644 index 00000000000..cbc399fb2a2 --- /dev/null +++ b/www/flashplayer/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/09/29 15:32:49 tsarna Exp $ + +MD5 (flash_linux.tar.gz) = 2962638158fb1f83fec4aa617405dd6a diff --git a/www/flashplayer/pkg/COMMENT b/www/flashplayer/pkg/COMMENT new file mode 100644 index 00000000000..9b43d607706 --- /dev/null +++ b/www/flashplayer/pkg/COMMENT @@ -0,0 +1 @@ +Macromedia Flash player plugin for Netscape diff --git a/www/flashplayer/pkg/DESCR b/www/flashplayer/pkg/DESCR new file mode 100644 index 00000000000..9b43d607706 --- /dev/null +++ b/www/flashplayer/pkg/DESCR @@ -0,0 +1 @@ +Macromedia Flash player plugin for Netscape diff --git a/www/flashplayer/pkg/PLIST b/www/flashplayer/pkg/PLIST new file mode 100644 index 00000000000..b9b2dbb69cb --- /dev/null +++ b/www/flashplayer/pkg/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/09/29 15:32:49 tsarna Exp $ +@exec mkdir -p %D/lib/netscape/plugins +lib/netscape/plugins/README.Linux +lib/netscape/plugins/ShockwaveFlash.class +lib/netscape/plugins/libflashplayer.so +@unexec rmdir %D/lib/netscape/plugins 2>/dev/null || true -- cgit v1.2.3