| @@ -1,24 +1,24 @@ | | | @@ -1,24 +1,24 @@ |
1 | # $NetBSD: options.mk,v 1.1.1.1 2008/12/18 23:00:45 jmcneill Exp $ | | 1 | # $NetBSD: options.mk,v 1.2 2008/12/19 19:58:13 jmcneill Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | PKG_OPTIONS_VAR= PKG_OPTIONS.ns-flash | | 4 | PKG_OPTIONS_VAR= PKG_OPTIONS.ns-flash |
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 | .if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "Linux" | | 13 | .if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "Linux" |
14 | PKG_SUGGESTED_OPTIONS= nspluginwrapper | | 14 | PKG_SUGGESTED_OPTIONS= nspluginwrapper |
15 | .endif | | 15 | .endif |
16 | | | 16 | |
17 | .include "../../mk/bsd.options.mk" | | 17 | .include "../../mk/bsd.options.mk" |
18 | | | 18 | |
19 | .if !empty(PKG_OPTIONS:Mnspluginwrapper) | | 19 | .if !empty(PKG_OPTIONS:Mnspluginwrapper) |
20 | DEPENDS+= nspluginwrapper>0:../../www/nspluginwrapper | | 20 | DEPENDS+= nspluginwrapper>0:../../www/nspluginwrapper |
21 | DEPENDS+= libflashsupport>0:../../multimedia/libflashsupport | | 21 | DEPENDS+= libflashsupport{,-pulse}>0:../../multimedia/libflashsupport |
22 | INSTALL_TEMPLATES+= ${PKGDIR}/INSTALL.nspluginwrapper | | 22 | INSTALL_TEMPLATES+= ${PKGDIR}/INSTALL.nspluginwrapper |
23 | DEINSTALL_TEMPLATES+= ${PKGDIR}/INSTALL.nspluginwrapper | | 23 | DEINSTALL_TEMPLATES+= ${PKGDIR}/INSTALL.nspluginwrapper |
24 | .endif | | 24 | .endif |