2011-02-10 10:49:09 +01:00
|
|
|
# $NetBSD: options.mk,v 1.2 2011/02/10 09:49:09 ahoka Exp $
|
2011-02-08 19:47:03 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.ns-flash
|
|
|
|
PKG_SUPPORTED_OPTIONS= nspluginwrapper
|
|
|
|
|
|
|
|
# XXXX: If nspluginwrapper is enabled and this package is installed after
|
|
|
|
# firefox (or similar) it will install a system wide wrapped plugin into
|
|
|
|
# @PREFIX/lib/<browser>/plugins. If it is installed before a browser
|
|
|
|
# it will install a plugin for the current user in ~/.mozilla/plugins/
|
|
|
|
# or similar. This is inconsistant and potentially confusing.
|
|
|
|
|
2011-02-10 10:49:09 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2011-02-08 19:47:03 +01:00
|
|
|
.if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "Linux"
|
|
|
|
PKG_SUGGESTED_OPTIONS= nspluginwrapper
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mnspluginwrapper)
|
|
|
|
DEPENDS+= nspluginwrapper>0:../../www/nspluginwrapper
|
|
|
|
INSTALL_TEMPLATES+= ${PKGDIR}/INSTALL.nspluginwrapper
|
|
|
|
DEINSTALL_TEMPLATES+= ${PKGDIR}/INSTALL.nspluginwrapper
|
|
|
|
.endif
|