summaryrefslogtreecommitdiff
path: root/devel/allegro/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-06-01 14:29:58 +0000
committerwiz <wiz@pkgsrc.org>2005-06-01 14:29:58 +0000
commit4717998f3193637adafae3cfc141328430953130 (patch)
tree8e75462f400b13d409d3fcb8420e4784f9b43fa6 /devel/allegro/options.mk
parent5f757378cec7d85bc04812a2399cfa535ea91ec5 (diff)
downloadpkgsrc-4717998f3193637adafae3cfc141328430953130.tar.gz
Convert to options framework.
Diffstat (limited to 'devel/allegro/options.mk')
-rw-r--r--devel/allegro/options.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/allegro/options.mk b/devel/allegro/options.mk
new file mode 100644
index 00000000000..0f1a7fb63c7
--- /dev/null
+++ b/devel/allegro/options.mk
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2005/06/01 14:29:58 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.allegro
+PKG_SUPPORTED_OPTIONS= esound
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mesound)
+CONFIGURE_ARGS+= --enable-esddigi
+.include "../../audio/esound/buildlink3.mk"
+PLIST_SUBST+= ESOUND=""
+.else
+PLIST_SUBST+= ESOUND="@comment "
+.endif