Import adobe-flash-plugin version 10.0.0.525.
[pkgsrc.git] / multimedia / adobe-flash-plugin / options.mk
1 # $NetBSD: options.mk,v 1.1 2007/03/23 18:59:41 abs Exp $
2 #
3
4 PKG_OPTIONS_VAR=        PKG_OPTIONS.ns-flash
5 PKG_SUPPORTED_OPTIONS=  nspluginwrapper
6
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
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/
11 # or similar. This is inconsistant and potentially confusing.
12
13 .if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "Linux"
14 PKG_SUGGESTED_OPTIONS=  nspluginwrapper
15 .endif
16
17 .include "../../mk/bsd.options.mk"
18
19 .if !empty(PKG_OPTIONS:Mnspluginwrapper)
20 DEPENDS+= nspluginwrapper>0:../../www/nspluginwrapper
21 DEPENDS+= libflashsupport>0:../../multimedia/libflashsupport
22 INSTALL_TEMPLATES+=     ${PKGDIR}/INSTALL.nspluginwrapper
23 DEINSTALL_TEMPLATES+=   ${PKGDIR}/INSTALL.nspluginwrapper
24 .endif