summaryrefslogtreecommitdiff
path: root/audio/py-musicbrainz
diff options
context:
space:
mode:
Diffstat (limited to 'audio/py-musicbrainz')
-rw-r--r--audio/py-musicbrainz/Makefile9
-rw-r--r--audio/py-musicbrainz/PLIST3
2 files changed, 7 insertions, 5 deletions
diff --git a/audio/py-musicbrainz/Makefile b/audio/py-musicbrainz/Makefile
index 348e5618695..4a6198619dd 100644
--- a/audio/py-musicbrainz/Makefile
+++ b/audio/py-musicbrainz/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2009/08/09 21:51:13 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2011/10/15 10:22:14 obache Exp $
DISTNAME= python-musicbrainz2-0.4.1
PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/}
+PKGREVISION= 1
CATEGORIES= audio python
MASTER_SITES= http://users.musicbrainz.org/~matt/
@@ -12,11 +13,11 @@ LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
-PYDISTUTILSPKG= yes
-
DEPENDS+= ${PYPKGPREFIX}-ctypes>=1.0.0:../../devel/py-ctypes
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+EGG_NAME= ${DISTNAME:S/-/_/}
+
.include "../../audio/libdiscid/buildlink3.mk"
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/py-musicbrainz/PLIST b/audio/py-musicbrainz/PLIST
index 92b2c22b180..b5abad1e7ab 100644
--- a/audio/py-musicbrainz/PLIST
+++ b/audio/py-musicbrainz/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:32:20 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2011/10/15 10:22:14 obache Exp $
bin/mb-submit-disc
${PYSITELIB}/musicbrainz2/__init__.py
${PYSITELIB}/musicbrainz2/__init__.pyc
@@ -33,3 +33,4 @@ ${PYSITELIB}/musicbrainz2/webservice.pyo
${PYSITELIB}/musicbrainz2/wsxml.py
${PYSITELIB}/musicbrainz2/wsxml.pyc
${PYSITELIB}/musicbrainz2/wsxml.pyo
+${PLIST.eggfile}${PYSITELIB}/${EGG_FILE}