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 /devel/allegro | |
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 'devel/allegro')
-rw-r--r-- | devel/allegro/PLIST | 4 | ||||
-rw-r--r-- | devel/allegro/options.mk | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/devel/allegro/PLIST b/devel/allegro/PLIST index 3d7298b3c39..f3ae87eca94 100644 --- a/devel/allegro/PLIST +++ b/devel/allegro/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.8 2007/11/29 22:45:22 wiz Exp $ +@comment $NetBSD: PLIST,v 1.9 2008/04/12 22:42:59 jlam Exp $ bin/allegro-config bin/colormap bin/dat @@ -99,7 +99,7 @@ include/linalleg.h include/xalleg.h info/allegro.info lib/allegro/4.2.2/alleg-dga2.so -${ESOUND}lib/allegro/4.2.2/alleg-esddigi.so +${PLIST.esound}lib/allegro/4.2.2/alleg-esddigi.so lib/allegro/4.2.2/modules.lst lib/liballeg-${PKGVERSION}.so lib/liballeg.so.4.2 diff --git a/devel/allegro/options.mk b/devel/allegro/options.mk index 0f1a7fb63c7..e7a87235b6c 100644 --- a/devel/allegro/options.mk +++ b/devel/allegro/options.mk @@ -1,14 +1,14 @@ -# $NetBSD: options.mk,v 1.1 2005/06/01 14:29:58 wiz Exp $ +# $NetBSD: options.mk,v 1.2 2008/04/12 22:42:59 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.allegro PKG_SUPPORTED_OPTIONS= esound .include "../../mk/bsd.options.mk" +PLIST_VARS+= esound + .if !empty(PKG_OPTIONS:Mesound) CONFIGURE_ARGS+= --enable-esddigi +PLIST.esound= yes .include "../../audio/esound/buildlink3.mk" -PLIST_SUBST+= ESOUND="" -.else -PLIST_SUBST+= ESOUND="@comment " .endif |