031aa1f46a
pkglint -Wall -F --only aligned --only indent -r No manual corrections.
27 lines
795 B
Makefile
27 lines
795 B
Makefile
# $NetBSD: options.mk,v 1.2 2019/11/03 17:11:59 rillig Exp $
|
|
#
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.adobe-flash-plugin
|
|
PKG_SUPPORTED_OPTIONS= nspluginwrapper pulseaudio
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} != "Linux"
|
|
. if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
|
|
PKG_SUGGESTED_OPTIONS= nspluginwrapper
|
|
. endif
|
|
.endif
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mnspluginwrapper)
|
|
DEPENDS+= nspluginwrapper>=1.4.4:../../www/nspluginwrapper
|
|
. if !empty(PKG_OPTIONS:Mpulseaudio)
|
|
EMUL_MODULES.linux+= pulseaudio
|
|
MESSAGE_SRC+= ${PKGDIR}/MESSAGE.pulseaudio
|
|
. else
|
|
DEPENDS+= libflashsupport>=4.2.2011:../../multimedia/libflashsupport
|
|
. endif
|
|
INSTALL_TEMPLATES+= ${PKGDIR}/INSTALL.nspluginwrapper
|
|
DEINSTALL_TEMPLATES+= ${PKGDIR}/INSTALL.nspluginwrapper
|
|
.endif
|