1 # $NetBSD: options.mk,v 1.6 2011/11/01 19:18:19 abs Exp $
4 PKG_OPTIONS_VAR
= PKG_OPTIONS.adobe-flash-plugin
5 PKG_SUPPORTED_OPTIONS
= nspluginwrapper pulseaudio
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.
13 .
include "../../mk/bsd.prefs.mk"
15 .if
${OPSYS} != "Linux"
16 . if
${MACHINE_ARCH} == "i386" ||
${MACHINE_ARCH} == "x86_64"
17 PKG_SUGGESTED_OPTIONS
= nspluginwrapper
21 .
include "../../mk/bsd.options.mk"
23 .if
!empty
(PKG_OPTIONS
:Mnspluginwrapper
)
24 DEPENDS
+= nspluginwrapper
>0:..
/..
/www
/nspluginwrapper
25 . if
!empty
(PKG_OPTIONS
:Mpulseaudio
)
26 # usr/lib/libpulse.so.0 provided by suse32_gtk2
27 MESSAGE_SRC
+= ${PKGDIR}/MESSAGE.pulseaudio
29 DEPENDS
+= libflashsupport
>0:..
/..
/multimedia
/libflashsupport
31 INSTALL_TEMPLATES
+= ${PKGDIR}/INSTALL.nspluginwrapper
32 DEINSTALL_TEMPLATES
+= ${PKGDIR}/INSTALL.nspluginwrapper