update candidate for adobe-flash-plugin) Import adobe-flash-plugin-11.2.202.451 as wip/adobe-flash-plugin11. Netscape compatible plugin for Adobe Flash player. This package contains a plugin that enables web browsers to render the Flash format. The nspluginwrapper option (enabled by default on non Linux platforms) permits the use of the the Linux x86 flash player in Firefox browsers on other x86 systems and x86_64 systems. For NetBSD this package requires emul.linux.kern.osrelease = 2.6.18 or later, which means it will not work on NetBSD 5.x or older systems.
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2015/03/21 01:00:08 makoto Exp $
|
|
|
|
DISTNAME= flash-plugin-${FLASH_VERSION}-release.${FLASH_ARCH}
|
|
PKGNAME= adobe-${DISTNAME:C/-release.*//}
|
|
CATEGORIES= multimedia www
|
|
MASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/pdc/${FLASH_VERSION}/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.adobe.com/products/flashplayer.html
|
|
COMMENT= Adobe Flash Player Browser plugin
|
|
LICENSE= flash-license
|
|
|
|
RESTRICTED= Redistribution not permitted
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
|
|
# On NetBSD, requires sufficiently new compat_linux.
|
|
NOT_FOR_PLATFORM= NetBSD-[0-4]*-* NetBSD-5.[0-9].*-*
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
BUILD_DIRS= # empty
|
|
EXTRACT_SUFX= .rpm
|
|
|
|
CRYPTO= yes
|
|
|
|
EMUL_PLATFORMS= linux-i386 linux-x86_64
|
|
EMUL_MODULES.linux= gtk2 x11 krb5 alsa curl nss nspr
|
|
EMUL_REQD= suse>=12.1
|
|
|
|
FLASH_VERSION= 11.2.202.451
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${EMUL_PLATFORM} == "linux-i386"
|
|
FLASH_ARCH= i386
|
|
FLASH_LIBDIR= lib
|
|
.elif ${EMUL_PLATFORM} == "linux-x86_64"
|
|
FLASH_ARCH= x86_64
|
|
FLASH_LIBDIR= lib64
|
|
.endif
|
|
|
|
CONFLICTS= ns-flash-[0-9]*
|
|
|
|
NS_PLUGINS_DIR= ${PREFIX}/lib/netscape/plugins
|
|
|
|
.include "options.mk"
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${NS_PLUGINS_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/usr/${FLASH_LIBDIR}/flash-plugin/libflashplayer.so \
|
|
${DESTDIR}${NS_PLUGINS_DIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|