summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/py-musicbrainz/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/py-musicbrainz/Makefile b/audio/py-musicbrainz/Makefile
index 4a6198619dd..1654087720e 100644
--- a/audio/py-musicbrainz/Makefile
+++ b/audio/py-musicbrainz/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2011/10/15 10:22:14 obache Exp $
+# $NetBSD: Makefile,v 1.7 2012/01/28 09:07:51 obache Exp $
DISTNAME= python-musicbrainz2-0.4.1
PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= audio python
MASTER_SITES= http://users.musicbrainz.org/~matt/
@@ -13,7 +13,11 @@ LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYPKGPREFIX} == "py24"
DEPENDS+= ${PYPKGPREFIX}-ctypes>=1.0.0:../../devel/py-ctypes
+.endif
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
EGG_NAME= ${DISTNAME:S/-/_/}