diff options
-rw-r--r-- | multimedia/ns-flash/DESCR | 3 | ||||
-rw-r--r-- | multimedia/ns-flash/Makefile | 63 | ||||
-rw-r--r-- | multimedia/ns-flash/PLIST | 4 | ||||
-rw-r--r-- | multimedia/ns-flash/distinfo | 6 |
4 files changed, 76 insertions, 0 deletions
diff --git a/multimedia/ns-flash/DESCR b/multimedia/ns-flash/DESCR new file mode 100644 index 00000000000..b8731dc730c --- /dev/null +++ b/multimedia/ns-flash/DESCR @@ -0,0 +1,3 @@ +Experience animation and entertainment on the web with Flash, the web +standard for vector graphics and animation. View the best web content, +including cartoons, games, and news from many leading-edge companies. diff --git a/multimedia/ns-flash/Makefile b/multimedia/ns-flash/Makefile new file mode 100644 index 00000000000..37b8745f784 --- /dev/null +++ b/multimedia/ns-flash/Makefile @@ -0,0 +1,63 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/01/26 14:50:30 jmmv Exp $ + +DISTNAME= flash_${DISTUNAME} +CATEGORIES= multimedia www +MASTER_SITES= http://download.macromedia.com/pub/shockwave/flash/${SUB}/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.flash.com/ +COMMENT= MacroMedia Flash Player Netscape plugin + +ONLY_FOR_PLATFORM= *-*-i386 SunOS-*-sparc +NOT_FOR_PLATFORM= SunOS-*-i386 + +WRKSRC= ${WRKDIR}/${WRKNAME} +DIST_SUBDIR= flash/${FLASH_VERS} + +.include "../../mk/bsd.prefs.mk" + +SUB= english/${DISTUNAME}/${FLASH_VERS} + +.if (${MACHINE_ARCH} == "i386") +FLASH_VERS= 5.0r51 +DEPENDS+= suse_compat>=6.3:../../emulators/${SUSE_DIR_PREFIX}_compat +DEPENDS+= suse_x11>=6.3:../../emulators/${SUSE_DIR_PREFIX}_x11 +DISTUNAME= linux +WRKNAME= flash_linux +.elif ${MACHINE_ARCH} == "sparc" && ${OPSYS} == "SunOS" +FLASH_VERS= 5.0r52 +DISTUNAME= solaris +WRKNAME= flash_solaris +.else +# Defaults so lintpkgsrc is happy +FLASH_VERS= 5.0 +.endif +PKGNAME= ns-flash-${FLASH_VERS:S/r/./} + +# Must update communicator/navigator to at least 4.76nb1 +CONFLICTS+= communicator<=4.76nb1 +CONFLICTS+= navigator<=4.76nb1 + +RESTRICTED= "Redistribution not permitted" +NO_SRC_ON_FTP= ${RESTRICTED} +NO_SRC_ON_CDROM= ${RESTRICTED} +NO_BIN_ON_FTP= ${RESTRICTED} +NO_BIN_ON_CDROM= ${RESTRICTED} + +USE_BUILDLINK2= yes +NO_CONFIGURE= yes +NO_BUILD= yes +CHECK_SHLIBS= no +CRYPTO= yes + +NS_PLUGINS_DIR= ${PREFIX}/lib/netscape/plugins + +do-install: + ${INSTALL_DATA_DIR} ${NS_PLUGINS_DIR} + ${INSTALL_DATA} ${WRKSRC}/ShockwaveFlash.class ${NS_PLUGINS_DIR} + ${INSTALL_DATA} ${WRKSRC}/libflashplayer.so ${NS_PLUGINS_DIR} + +.if ${OPSYS} != "SunOS" +.include "../../emulators/suse_linux/Makefile.application" +.endif +.include "../../mk/bsd.pkg.mk" diff --git a/multimedia/ns-flash/PLIST b/multimedia/ns-flash/PLIST new file mode 100644 index 00000000000..1507f652609 --- /dev/null +++ b/multimedia/ns-flash/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/26 14:50:30 jmmv Exp $ +lib/netscape/plugins/ShockwaveFlash.class +lib/netscape/plugins/libflashplayer.so +@unexec ${RMDIR} %D/lib/netscape/plugins 2>/dev/null || ${TRUE} diff --git a/multimedia/ns-flash/distinfo b/multimedia/ns-flash/distinfo new file mode 100644 index 00000000000..b669ed8f6ec --- /dev/null +++ b/multimedia/ns-flash/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/01/26 14:50:30 jmmv Exp $ + +SHA1 (flash/5.0r51/flash_linux.tar.gz) = 757b616634b3d9398d76437c5c41927fb91f0b9d +Size (flash/5.0r51/flash_linux.tar.gz) = 568380 bytes +SHA1 (flash/5.0r52/flash_solaris.tar.gz) = c6e71f85ad9dfb00814f3aa574c88d73ac987586 +Size (flash/5.0r52/flash_solaris.tar.gz) = 627444 bytes |