diff options
author | knu <knu@FreeBSD.org> | 2003-03-24 10:47:16 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-03-24 10:47:16 +0800 |
commit | 11061219ae9846ae132d9496fd6893eb57ae2d5e (patch) | |
tree | 33884b4e53a0e871ba9d0a1d1973d7a5b546ac78 /audio | |
parent | b96a7cd5558d126d589970ed7a809a20b2bb7147 (diff) | |
download | freebsd-ports-gnome-11061219ae9846ae132d9496fd6893eb57ae2d5e.tar.gz freebsd-ports-gnome-11061219ae9846ae132d9496fd6893eb57ae2d5e.tar.zst freebsd-ports-gnome-11061219ae9846ae132d9496fd6893eb57ae2d5e.zip |
Add py-musicbrainz, MusicBrainz bindings for Python.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/py-musicbrainz/Makefile | 33 | ||||
-rw-r--r-- | audio/py-musicbrainz/distinfo | 1 | ||||
-rw-r--r-- | audio/py-musicbrainz/pkg-descr | 3 | ||||
-rw-r--r-- | audio/py-musicbrainz/pkg-plist | 8 |
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 |