From 3f9a72a372026a70e9e7f3c7bfde37eb69eca766 Mon Sep 17 00:00:00 2001 From: Nicola Vitale Date: Sat, 5 Apr 2008 16:25:54 +0000 Subject: [PATCH] An MPD (Music Player Daemon) client library written in pure Python. WWW: http://www.musicpd.org/~jat/python-mpd/ --- audio/Makefile | 1 + audio/py-mpd/Makefile | 32 ++++++++++++++++++++++++++++++++ audio/py-mpd/distinfo | 3 +++ audio/py-mpd/pkg-descr | 3 +++ audio/py-mpd/pkg-plist | 6 ++++++ 5 files changed, 45 insertions(+) create mode 100644 audio/py-mpd/Makefile create mode 100644 audio/py-mpd/distinfo create mode 100644 audio/py-mpd/pkg-descr create mode 100644 audio/py-mpd/pkg-plist diff --git a/audio/Makefile b/audio/Makefile index 1bcbecf30fd4..b775d11ff41f 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -523,6 +523,7 @@ SUBDIR += py-libmpdclient SUBDIR += py-libtunepimp SUBDIR += py-mad + SUBDIR += py-mpd SUBDIR += py-musepack SUBDIR += py-musicbrainz SUBDIR += py-musicbrainz2 diff --git a/audio/py-mpd/Makefile b/audio/py-mpd/Makefile new file mode 100644 index 000000000000..209aa1a4be02 --- /dev/null +++ b/audio/py-mpd/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: py-mpd +# Date created: 2008-04-05 +# Whom: Nicola Vitale +# +# $FreeBSD$ +# + +PORTNAME= mpd +PORTVERSION= 0.2.0 +#PORTREVISION= 0 +#PORTEPOCH= 0 +CATEGORIES= audio python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= python-${PORTNAME}-${PORTVERSION} + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Python MPD client library + +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_PKGNAME= python_mpd + +.if !defined(NOPORTDOCS) +DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} + +post-install: + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/commands.txt ${DOCSDIR}/ +.endif + +.include diff --git a/audio/py-mpd/distinfo b/audio/py-mpd/distinfo new file mode 100644 index 000000000000..82268908b07d --- /dev/null +++ b/audio/py-mpd/distinfo @@ -0,0 +1,3 @@ +MD5 (python-mpd-0.2.0.tar.gz) = 983507ee308b5895608156da10c3cfcb +SHA256 (python-mpd-0.2.0.tar.gz) = b66174934259303b5b2334e18a7a034c6d8647077319286f913151fe1e3a0cc7 +SIZE (python-mpd-0.2.0.tar.gz) = 17383 diff --git a/audio/py-mpd/pkg-descr b/audio/py-mpd/pkg-descr new file mode 100644 index 000000000000..65c7b769b219 --- /dev/null +++ b/audio/py-mpd/pkg-descr @@ -0,0 +1,3 @@ +An MPD (Music Player Daemon) client library written in pure Python. + +WWW: http://www.musicpd.org/~jat/python-mpd/ diff --git a/audio/py-mpd/pkg-plist b/audio/py-mpd/pkg-plist new file mode 100644 index 000000000000..5a91f68cf834 --- /dev/null +++ b/audio/py-mpd/pkg-plist @@ -0,0 +1,6 @@ +@comment $FreeBSD$ +%%PYTHON_SITELIBDIR%%/mpd.py +%%PYTHON_SITELIBDIR%%/mpd.pyc +%%PYTHON_SITELIBDIR%%/mpd.pyo +%%PORTDOCS%%%%DOCSDIR%%/commands.txt +%%PORTDOCS%%@dirrm %%DOCSDIR%%