if the package is adobe-flash-plugin, PKG_OPTIONS should be adobe-flash-plugin rather than ns-flash. ++PKGREVISIONdiff -r1.9 -r1.10 pkgsrc/multimedia/adobe-flash-plugin10.1/Makefile
(abs)
@@ -1,16 +1,17 @@ | @@ -1,16 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.9 2011/09/04 19:50:04 tnn Exp $ | 1 | # $NetBSD: Makefile,v 1.10 2011/09/12 23:35:15 abs Exp $ | |
2 | 2 | |||
3 | PKGNAME= adobe-flash-plugin-${FLASH_VERSION:S/r/./} | 3 | PKGNAME= adobe-flash-plugin-${FLASH_VERSION:S/r/./} | |
4 | PKGREVISION= 1 | |||
4 | CATEGORIES= multimedia www | 5 | CATEGORIES= multimedia www | |
5 | MASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/current/ | 6 | MASTER_SITES= http://fpdownload.macromedia.com/get/flashplayer/current/ | |
6 | 7 | |||
7 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
8 | HOMEPAGE= http://www.adobe.com/ | 9 | HOMEPAGE= http://www.adobe.com/ | |
9 | COMMENT= Adobe Flash Player Browser plugin | 10 | COMMENT= Adobe Flash Player Browser plugin | |
10 | LICENSE= flash-license | 11 | LICENSE= flash-license | |
11 | 12 | |||
12 | RESTRICTED= Redistribution not permitted | 13 | RESTRICTED= Redistribution not permitted | |
13 | NO_SRC_ON_FTP= ${RESTRICTED} | 14 | NO_SRC_ON_FTP= ${RESTRICTED} | |
14 | NO_SRC_ON_CDROM= ${RESTRICTED} | 15 | NO_SRC_ON_CDROM= ${RESTRICTED} | |
15 | NO_BIN_ON_FTP= ${RESTRICTED} | 16 | NO_BIN_ON_FTP= ${RESTRICTED} | |
16 | NO_BIN_ON_CDROM= ${RESTRICTED} | 17 | NO_BIN_ON_CDROM= ${RESTRICTED} |
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | # $NetBSD: options.mk,v 1.2 2011/02/10 09:49:09 ahoka Exp $ | 1 | # $NetBSD: options.mk,v 1.3 2011/09/12 23:35:15 abs Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | PKG_OPTIONS_VAR= PKG_OPTIONS.ns-flash | 4 | PKG_OPTIONS_VAR= PKG_OPTIONS.adobe-flash-plugin | |
5 | PKG_SUPPORTED_OPTIONS= nspluginwrapper | 5 | PKG_SUPPORTED_OPTIONS= nspluginwrapper | |
6 | 6 | |||
7 | # XXXX: If nspluginwrapper is enabled and this package is installed after | 7 | # XXXX: If nspluginwrapper is enabled and this package is installed after | |
8 | # firefox (or similar) it will install a system wide wrapped plugin into | 8 | # firefox (or similar) it will install a system wide wrapped plugin into | |
9 | # @PREFIX/lib/<browser>/plugins. If it is installed before a browser | 9 | # @PREFIX/lib/<browser>/plugins. If it is installed before a browser | |
10 | # it will install a plugin for the current user in ~/.mozilla/plugins/ | 10 | # it will install a plugin for the current user in ~/.mozilla/plugins/ | |
11 | # or similar. This is inconsistant and potentially confusing. | 11 | # or similar. This is inconsistant and potentially confusing. | |
12 | 12 | |||
13 | .include "../../mk/bsd.prefs.mk" | 13 | .include "../../mk/bsd.prefs.mk" | |
14 | 14 | |||
15 | .if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "Linux" | 15 | .if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "Linux" | |
16 | PKG_SUGGESTED_OPTIONS= nspluginwrapper | 16 | PKG_SUGGESTED_OPTIONS= nspluginwrapper | |
17 | .endif | 17 | .endif |