diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
commit | 841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /multimedia/vlc/options.mk | |
parent | 6874584eae20f517f70816571f6d4ac696db16b3 (diff) | |
download | pkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'multimedia/vlc/options.mk')
-rw-r--r-- | multimedia/vlc/options.mk | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/multimedia/vlc/options.mk b/multimedia/vlc/options.mk index 6db553ab3ce..a83b5275cf7 100644 --- a/multimedia/vlc/options.mk +++ b/multimedia/vlc/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.5 2008/03/08 05:19:57 kefren Exp $ +# $NetBSD: options.mk,v 1.6 2008/04/12 22:43:08 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.vlc PKG_SUPPORTED_OPTIONS= skins wxwidgets faad arts @@ -6,37 +6,35 @@ PKG_SUGGESTED_OPTIONS= wxwidgets faad .include "../../mk/bsd.options.mk" +PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} + .if !empty(PKG_OPTIONS:Mskins) CONFIGURE_ARGS+= --enable-skins2 -PLIST_SUBST+= COND_SKINS= +PLIST.skins= yes .else CONFIGURE_ARGS+= --disable-skins2 -PLIST_SUBST+= COND_SKINS="@comment " .endif .if !empty(PKG_OPTIONS:Mwxwidgets) .include "../../x11/wxGTK/buildlink3.mk" CONFIGURE_ARGS+= --enable-wxwidgets -PLIST_SUBST+= COND_WXWIDGETS= +PLIST.wxwidgets= yes .else CONFIGURE_ARGS+= --disable-wxwidgets -PLIST_SUBST+= COND_WXWIDGETS="@comment " .endif .if !empty(PKG_OPTIONS:Mfaad) CONFIGURE_ARGS+= --enable-faad -PLIST_SUBST+= COND_FAAD= +PLIST.faad= yes .include "../../audio/faad2/buildlink3.mk" .else CONFIGURE_ARGS+= --disable-faad -PLIST_SUBST+= COND_FAAD="@comment " .endif .if !empty(PKG_OPTIONS:Marts) CONFIGURE_ARGS+= --enable-arts -PLIST_SUBST+= COND_ARTS= +PLIST.arts= yes .include "../../audio/arts/buildlink3.mk" .else CONFIGURE_ARGS+= --disable-arts -PLIST_SUBST+= COND_ARTS="@comment " .endif |