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 /audio/moc-devel/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 'audio/moc-devel/options.mk')
-rw-r--r-- | audio/moc-devel/options.mk | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/audio/moc-devel/options.mk b/audio/moc-devel/options.mk index b5437013bd2..cbfd40eb89d 100644 --- a/audio/moc-devel/options.mk +++ b/audio/moc-devel/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2008/04/08 01:52:41 bjs Exp $ +# $NetBSD: options.mk,v 1.3 2008/04/12 22:42:58 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.moc PKG_SUPPORTED_OPTIONS= sndfile flac vorbis speex curl samplerate jack @@ -6,6 +6,8 @@ PKG_SUGGESTED_OPTIONS= sndfile flac vorbis curl .include "../../mk/bsd.options.mk" +PLIST_VARS+= flac sndfile speex vorbis + .if !empty(PKG_OPTIONS:Mjack) CONFIGURE_ARGS+= --with-jack ### @@ -30,38 +32,34 @@ CONFIGURE_ARGS+= --without-samplerate .endif .if !empty(PKG_OPTIONS:Msndfile) -PLIST_SUBST+= SNDFILE= +PLIST.sndfile= yes CONFIGURE_ARGS+= --with-sndfile . include "../../audio/libsndfile/buildlink3.mk" .else -PLIST_SUBST+= SNDFILE='@comment ' CONFIGURE_ARGS+= --without-sndfile .endif .if !empty(PKG_OPTIONS:Mflac) -PLIST_SUBST+= FLAC= +PLIST.flac= yes CONFIGURE_ARGS+= --with-flac . include "../../audio/flac/buildlink3.mk" .else -PLIST_SUBST+= FLAC='@comment ' CONFIGURE_ARGS+= --without-flac .endif .if !empty(PKG_OPTIONS:Mvorbis) -PLIST_SUBST+= VORBIS= +PLIST.vorbis= yes CONFIGURE_ARGS+= --with-vorbis . include "../../audio/libvorbis/buildlink3.mk" .else -PLIST_SUBST+= VORBIS='@comment ' CONFIGURE_ARGS+= --without-vorbis .endif .if !empty(PKG_OPTIONS:Mspeex) -PLIST_SUBST+= SPEEX= +PLIST.speex= yes CONFIGURE_ARGS+= --with-speex . include "../../audio/speex/buildlink3.mk" .else -PLIST_SUBST+= SPEEX='@comment ' CONFIGURE_ARGS+= --without-speex .endif |