aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-03-24 02:47:16 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-03-24 02:47:16 +0000
commit43f1608869e79e4e88e211255ef377a1afd95ee3 (patch)
tree53572f27530709d613d89cd9653b9501e471129c
parent641275d7d312aaf37295d9c3f968052a1cb1f7d6 (diff)
downloadports-43f1608869e79e4e88e211255ef377a1afd95ee3.tar.gz
ports-43f1608869e79e4e88e211255ef377a1afd95ee3.zip
Notes
-rw-r--r--audio/Makefile1
-rw-r--r--audio/py-musicbrainz/Makefile33
-rw-r--r--audio/py-musicbrainz/distinfo1
-rw-r--r--audio/py-musicbrainz/pkg-descr3
-rw-r--r--audio/py-musicbrainz/pkg-plist8
5 files changed, 46 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index ac663ddb52b3..e5e9fa741fa8 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -204,6 +204,7 @@
SUBDIR += py-cddb
SUBDIR += py-id3
SUBDIR += py-mad
+ SUBDIR += py-musicbrainz
SUBDIR += py-ogg
SUBDIR += py-vorbis
SUBDIR += py-xmms
diff --git a/audio/py-musicbrainz/Makefile b/audio/py-musicbrainz/Makefile
new file mode 100644
index 000000000000..0de04694b610
--- /dev/null
+++ b/audio/py-musicbrainz/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: py-musicbrainz
+# Date created: 23 March 2003
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= musicbrainz
+PORTVERSION= 1.0
+CATEGORIES= audio python
+MASTER_SITES= # none
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTFILES= # none
+
+MAINTAINER= knu@FreeBSD.org
+COMMENT= MusicBrainz bindings for Python
+
+EXTRACT_DEPENDS= ${NONEXISTENT}:${LIBMUSICBRAINZ_PORTDIR}:patch
+LIB_DEPENDS= musicbrainz.2:${LIBMUSICBRAINZ_PORTDIR}
+
+LIBMUSICBRAINZ_PORTDIR= ${PORTSDIR}/audio/libmusicbrainz
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib
+
+.include <bsd.port.pre.mk>
+
+do-extract:
+ ${MKDIR} ${WRKDIR}
+ ${LN} -fs `cd ${LIBMUSICBRAINZ_PORTDIR}; ${MAKE} -V WRKSRC`/python ${WRKSRC}
+
+.include <bsd.port.post.mk>
diff --git a/audio/py-musicbrainz/distinfo b/audio/py-musicbrainz/distinfo
new file mode 100644
index 000000000000..c1dd8136d074
--- /dev/null
+++ b/audio/py-musicbrainz/distinfo
@@ -0,0 +1 @@
+MD5 (pyvorbis-1.0.tar.gz) = 158e38785543f2d945e20f67f77299b9
diff --git a/audio/py-musicbrainz/pkg-descr b/audio/py-musicbrainz/pkg-descr
new file mode 100644
index 000000000000..8307ffbe6425
--- /dev/null
+++ b/audio/py-musicbrainz/pkg-descr
@@ -0,0 +1,3 @@
+This is MusicBrainz bindings for Python.
+
+WWW: http://www.musicbrainz.org/
diff --git a/audio/py-musicbrainz/pkg-plist b/audio/py-musicbrainz/pkg-plist
new file mode 100644
index 000000000000..68237a97f204
--- /dev/null
+++ b/audio/py-musicbrainz/pkg-plist
@@ -0,0 +1,8 @@
+%%PYTHON_SITELIBDIR%%/musicbrainz/__init__.py
+%%PYTHON_SITELIBDIR%%/musicbrainz/__init__.pyc
+%%PYTHON_SITELIBDIR%%/musicbrainz/__init__.pyo
+%%PYTHON_SITELIBDIR%%/musicbrainz/_musicbrainz.so
+%%PYTHON_SITELIBDIR%%/musicbrainz/queries.py
+%%PYTHON_SITELIBDIR%%/musicbrainz/queries.pyc
+%%PYTHON_SITELIBDIR%%/musicbrainz/queries.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/musicbrainz