diff options
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/py-mpd2/Makefile | 47 | ||||
-rw-r--r-- | audio/py-mpd2/distinfo | 2 | ||||
-rw-r--r-- | audio/py-mpd2/pkg-descr | 4 | ||||
-rw-r--r-- | audio/py-mpd2/pkg-plist | 1 |
5 files changed, 55 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index 8fa61e0a5564..708d60deea5c 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -610,6 +610,7 @@ SUBDIR += py-karaoke SUBDIR += py-mad SUBDIR += py-mpd + SUBDIR += py-mpd2 SUBDIR += py-musicbrainz2 SUBDIR += py-mutagen SUBDIR += py-ogg diff --git a/audio/py-mpd2/Makefile b/audio/py-mpd2/Makefile new file mode 100644 index 000000000000..d23f39f01e2e --- /dev/null +++ b/audio/py-mpd2/Makefile @@ -0,0 +1,47 @@ +# Created by: rene@FreeBSD.org (repocopied from audio/py-mpd) +# $FreeBSD$ + +PORTNAME= mpd2 +PORTVERSION= 0.4.6 +CATEGORIES= audio python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= python-${PORTNAME}-${PORTVERSION} + +MAINTAINER= rene@FreeBSD.org +COMMENT= Fork of the Python MPD client library + +USE_GITHUB= yes +GH_ACCOUNT= Mic92 +GH_PROJECT= python-${PORTNAME} +GH_TAGNAME= v${PORTVERSION} +GH_COMMIT= 52d5280 + +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install +PYDISTUTILS_PKGNAME= python_mpd2 + +OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options +OPTIONS_DEFINE= DOCS EXAMPLES + +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +PORTDOCS= commands.txt +EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} +PORTEXAMPLES= locking.py logger.py + +.include <bsd.port.options.mk> + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + @${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR} +.endfor +.endif +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${EXAMPLESDIR} +.for f in ${PORTEXAMPLES} + @${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} ${EXAMPLESDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/audio/py-mpd2/distinfo b/audio/py-mpd2/distinfo new file mode 100644 index 000000000000..e0f54eecd3d1 --- /dev/null +++ b/audio/py-mpd2/distinfo @@ -0,0 +1,2 @@ +SHA256 (python-mpd2-0.4.6.tar.gz) = 4e0f18a467ebbb2b08e07579c4744f0a7640d15107eb9813fcea2bf12cdadbf0 +SIZE (python-mpd2-0.4.6.tar.gz) = 27340 diff --git a/audio/py-mpd2/pkg-descr b/audio/py-mpd2/pkg-descr new file mode 100644 index 000000000000..df6ca17133da --- /dev/null +++ b/audio/py-mpd2/pkg-descr @@ -0,0 +1,4 @@ +A fork of the original MPD (Music Player Daemon) client library written +in pure Python. + +WWW: https://github.com/Mic92/python-mpd2/ diff --git a/audio/py-mpd2/pkg-plist b/audio/py-mpd2/pkg-plist new file mode 100644 index 000000000000..ddf68a1c022f --- /dev/null +++ b/audio/py-mpd2/pkg-plist @@ -0,0 +1 @@ +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |