Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
Netscape plugin for Adobe Flash player. This package contains
a plugin that enables Netscape to render the Flash format.
The nspluginwrapper option (enabled by default) permits the use of
the the Linux x86 flash player in Firefox browsers on other x86
systems.
Systems tested with nspluginwrapper:
- NetBSD 5.0 - works
- firefox 3.0.x - works

View File

@@ -0,0 +1,20 @@
#!/bin/sh
# $NetBSD: INSTALL.nspluginwrapper,v 1.1.1.1 2008/12/18 23:00:45 jmcneill Exp $
PATH=@PREFIX@/bin:$PATH
case $STAGE in
POST-INSTALL)
nspluginwrapper -i @PREFIX@/lib/netscape/plugins/libflashplayer.so
;;
esac
case $STAGE in
DEINSTALL)
for wrapped in `nspluginwrapper -l | grep ^/` ; do
nspluginwrapper -r $wrapped
done
;;
esac

View File

@@ -0,0 +1,49 @@
# $NetBSD: Makefile,v 1.9 2012/10/08 09:20:57 asau Exp $
CATEGORIES= multimedia www
MASTER_SITES= http://download.macromedia.com/pub/labs/flashplayer10/
MASTER_SITES+= ftp://ftp.dvo.ru/pub/Gentoo/distfiles/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.adobe.com/
COMMENT= Adobe Flash Player Browser plugin
LICENSE= flash-license
RESTRICTED= Redistribution not permitted
NO_SRC_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
WRKSRC= ${WRKDIR}/${WRKNAME}
BUILD_DIRS= # empty
DIST_SUBDIR= flash/${FLASH_VERS}
CRYPTO= yes
EMUL_PLATFORMS= linux-i386
EMUL_MODULES.linux= compat gtk2 x11
EMUL_REQD= suse>=10.0
.include "../../mk/bsd.prefs.mk"
# Defaults so lintpkgsrc is happy
FLASH_VERS= 10.0.0.525
.if ${EMUL_PLATFORM} == "linux-i386"
DISTUNAME= linux
DISTNAME= flashplayer10_install_${DISTUNAME}_070208
WRKNAME= install_flash_player_10_${DISTUNAME}
.endif
CONFLICTS= ns-flash-[0-9]*
PKGNAME= adobe-flash-plugin-${FLASH_VERS:S/r/./}
NS_PLUGINS_DIR= ${PREFIX}/lib/netscape/plugins
.include "options.mk"
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${NS_PLUGINS_DIR}
${INSTALL_DATA} ${WRKSRC}/libflashplayer.so ${DESTDIR}${NS_PLUGINS_DIR}
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 20:53:25 joerg Exp $
lib/netscape/plugins/libflashplayer.so

View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2008/12/18 23:00:45 jmcneill Exp $
SHA1 (flash/10.0.0.525/flashplayer10_install_linux_070208.tar.gz) = 11343a93020898db71793ff9ed0a2f35d9ece564
RMD160 (flash/10.0.0.525/flashplayer10_install_linux_070208.tar.gz) = fdbcb33f387335c3aa84ff95aef64dca292910af
Size (flash/10.0.0.525/flashplayer10_install_linux_070208.tar.gz) = 3888574 bytes

View File

@@ -0,0 +1,29 @@
# $NetBSD: options.mk,v 1.3 2012/02/01 21:57:38 is Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.ns-flash
PKG_SUPPORTED_OPTIONS= nspluginwrapper
# XXXX: If nspluginwrapper is enabled and this package is installed after
# firefox (or similar) it will install a system wide wrapped plugin into
# @PREFIX/lib/<browser>/plugins. If it is installed before a browser
# it will install a plugin for the current user in ~/.mozilla/plugins/
# or similar. This is inconsistant and potentially confusing.
.if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "Linux"
PKG_SUGGESTED_OPTIONS= nspluginwrapper
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mnspluginwrapper)
DEPENDS+= nspluginwrapper>0:../../www/nspluginwrapper
.if ${OPSYS} == "NetBSD" && (!empty(OS_VERSION:M5.[0-9].*) || \
!empty(OS_VERSION:M[0-4].*))
DEPENDS+= libflashsupport<1.1:../../multimedia/libflashsupport10
.else
DEPENDS+= libflashsupport{,-pulse}>0:../../multimedia/libflashsupport
.endif
INSTALL_TEMPLATES+= ${PKGDIR}/INSTALL.nspluginwrapper
DEINSTALL_TEMPLATES+= ${PKGDIR}/INSTALL.nspluginwrapper
.endif