summaryrefslogtreecommitdiff
path: root/multimedia/xanim
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-06-02 18:26:36 +0000
committerwiz <wiz@pkgsrc.org>2005-06-02 18:26:36 +0000
commit3e2e99a8ed978a32102aa3df25dca86622177e9f (patch)
treebda5dd281f77ad4b279ffe393faeb64a3973d373 /multimedia/xanim
parent359d40ead86b4c4c16003c75f5af4d4874ea3b0a (diff)
downloadpkgsrc-3e2e99a8ed978a32102aa3df25dca86622177e9f.tar.gz
Convert to options framework.
Diffstat (limited to 'multimedia/xanim')
-rw-r--r--multimedia/xanim/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/multimedia/xanim/Makefile b/multimedia/xanim/Makefile
index 6e420d3bb38..29cb2bc7a98 100644
--- a/multimedia/xanim/Makefile
+++ b/multimedia/xanim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/05/15 22:02:28 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2005/06/02 18:26:36 wiz Exp $
DISTNAME= xanim2801
PKGNAME= xanim-2.80.1
@@ -31,7 +31,12 @@ MAKE_ENV+= ${XANIM_AUDIO.${OPSYS}}
XANIM_AUDIO.Linux= XA_AUDIO_DEFS="-DXA_LINUX_AUDIO" \
XA_AUDIO_LIBS="-lc"
-.if defined(USE_OSS)
+PKG_OPTIONS_VAR= PKG_OPTIONS.xanim
+PKG_SUPPORTED_OPTIONS= oss
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Moss)
XANIM_AUDIO.NetBSD= XA_AUDIO_DEFS="-DXA_LINUX_AUDIO" \
XA_AUDIO_LIBS="${LIBOSSAUDIO}"
.else