diff options
Diffstat (limited to 'audio/streamtuner/options.mk')
-rw-r--r-- | audio/streamtuner/options.mk | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/audio/streamtuner/options.mk b/audio/streamtuner/options.mk index b7a93ede259..5e47d362531 100644 --- a/audio/streamtuner/options.mk +++ b/audio/streamtuner/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.1 2005/10/19 09:45:09 xtraeme Exp $ +# $NetBSD: options.mk,v 1.2 2008/04/12 22:42:58 jlam Exp $ # PKG_OPTIONS_VAR= PKG_OPTIONS.streamtuner @@ -7,29 +7,28 @@ PKG_SUGGESTED_OPTIONS= streamtuner-local streamtuner-xiph .include "../../mk/bsd.options.mk" +PLIST_VARS+= local python xiph + .if !empty(PKG_OPTIONS:Mstreamtuner-local) -PLIST_SUBST+= LOCAL_PLUGIN= +PLIST.local= yes CONFIGURE_ARGS+= --enable-local . include "../../audio/taglib/buildlink3.mk" .else -PLIST_SUBST+= LOCAL_PLUGIN='@comment ' CONFIGURE_ARGS+= --disable-local .endif .if !empty(PKG_OPTIONS:Mstreamtuner-xiph) -PLIST_SUBST+= XIPH_PLUGIN= +PLIST.xiph= yes CONFIGURE_ARGS+= --enable-xiph . include "../../textproc/libxml2/buildlink3.mk" .else -PLIST_SUBST+= XIPH_PLUGIN='@comment ' CONFIGURE_ARGS+= --disable-xiph .endif .if !empty(PKG_OPTIONS:Mpython) -PLIST_SUBST+= PYTHON_PLUGIN= +PLIST.python= yes CONFIGURE_ARGS+= --enable-python . include "../../x11/py-gtk2/buildlink3.mk" .else -PLIST_SUBST+= PYTHON_PLUGIN='@comment ' CONFIGURE_ARGS+= --disable-python .endif |