aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-01-27 17:42:44 +0800
committergarga <garga@FreeBSD.org>2006-01-27 17:42:44 +0800
commit662bd68c1804b63a3176e2b46aa55312a262a6c6 (patch)
treeca427e16d053652ccd1ef5e23ca4e052c1724b30
parentf1cdf44250ab35bc8f1e2193e02855aeb6a96a3b (diff)
downloadfreebsd-ports-gnome-662bd68c1804b63a3176e2b46aa55312a262a6c6.tar.gz
freebsd-ports-gnome-662bd68c1804b63a3176e2b46aa55312a262a6c6.tar.zst
freebsd-ports-gnome-662bd68c1804b63a3176e2b46aa55312a262a6c6.zip
- Update to 2.1.2
- Make portlint(1) happy - Pass maintainership to submitter PR: ports/92341 Submitted by: Jason E. Hale <bsdkaffee@gmail.com>
-rw-r--r--audio/py-musicbrainz/Makefile27
-rw-r--r--audio/py-musicbrainz/distinfo3
-rw-r--r--audio/py-musicbrainz/pkg-descr3
3 files changed, 15 insertions, 18 deletions
diff --git a/audio/py-musicbrainz/Makefile b/audio/py-musicbrainz/Makefile
index 608fb8461ec8..bba5ebb79ee0 100644
--- a/audio/py-musicbrainz/Makefile
+++ b/audio/py-musicbrainz/Makefile
@@ -6,14 +6,15 @@
#
PORTNAME= musicbrainz
-PORTVERSION= 1.0.b3
+PORTVERSION= 2.1.2
PORTEPOCH= 1
CATEGORIES= audio python
-MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/
+MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/ \
+ ftp://ftp.au.musicbrainz.org/pub/musicbrainz/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= python-${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}-picard
+DISTNAME= libmusicbrainz-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= bsdkaffee@gmail.com
COMMENT= MusicBrainz bindings for Python
BUILD_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/ctypes/__init__.py:${PORTSDIR}/devel/py-ctypes
@@ -21,29 +22,31 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
LIB_DEPENDS= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
-EXAMPLES= cd2trm.py findartist.py getcdtracklengths.py cdid.py \
- findtrack.py gettrm.py cdlookup.py generatetrm.py \
- fileinfolookup.py getalbum.py
+EXAMPLES= cd2trm.py cdid.py cdlookup.py fileinfolookup.py findartist.py \
+ findtrack.py generatetrm.py getalbum.py getcdtracklengths.py \
+ gettrm.py
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib
+DESCR= ${PORTSDIR}/audio/libmusicbrainz/pkg-descr
+MD5_FILE= ${PORTSDIR}/audio/libmusicbrainz/distinfo
PLIST_FILES= %%PYTHON_SITELIBDIR%%/musicbrainz.py \
%%PYTHON_SITELIBDIR%%/musicbrainz.pyc \
%%PYTHON_SITELIBDIR%%/musicbrainz.pyo
.ifndef(NOPORTDOCS)
-PLIST_FILES+= ${EXAMPLES:S/^/%%EXAMPLESDIR%%\//}
+PLIST_FILES+= ${EXAMPLES:S|^|%%EXAMPLESDIR%%/|}
PLIST_DIRS= %%EXAMPLESDIR%%
.endif
+WRKSRC= ${WRKDIR}/libmusicbrainz-${PORTVERSION}/python
+
post-install:
.ifndef(NOPORTDOCS)
- ${MKDIR} ${EXAMPLESDIR}
-.for i in ${EXAMPLES}
- ${INSTALL_SCRIPT} ${WRKSRC}/examples/${i} ${EXAMPLESDIR}
-.endfor
+ @${MKDIR} ${EXAMPLESDIR}
+ @${INSTALL_SCRIPT} ${EXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
diff --git a/audio/py-musicbrainz/distinfo b/audio/py-musicbrainz/distinfo
deleted file mode 100644
index 4fc0a8280afa..000000000000
--- a/audio/py-musicbrainz/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (python-musicbrainz-1.0b3-picard.tar.gz) = 0f37fc72695e0909ad9cb183b3660d75
-SHA256 (python-musicbrainz-1.0b3-picard.tar.gz) = 72f074b6ddb802607e9240d99e7bbffcbfb31fd91ebf175989efa96a45adda04
-SIZE (python-musicbrainz-1.0b3-picard.tar.gz) = 21468
diff --git a/audio/py-musicbrainz/pkg-descr b/audio/py-musicbrainz/pkg-descr
deleted file mode 100644
index 8307ffbe6425..000000000000
--- a/audio/py-musicbrainz/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-This is MusicBrainz bindings for Python.
-
-WWW: http://www.musicbrainz.org/