aboutsummaryrefslogtreecommitdiff
path: root/audio/py-mpd2
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-01-04 15:28:32 +0000
committerRene Ladan <rene@FreeBSD.org>2013-01-04 15:28:32 +0000
commit5f54ed8b68c18e29bb040b71335c56b3e64c03e5 (patch)
tree2e6412ef09753af9f725dd18cbf6966c2ce64a4d /audio/py-mpd2
parentf35a429fe80488b488f5cd072a7dcc1d7c944569 (diff)
downloadports-5f54ed8b68c18e29bb040b71335c56b3e64c03e5.tar.gz
ports-5f54ed8b68c18e29bb040b71335c56b3e64c03e5.zip
Notes
Diffstat (limited to 'audio/py-mpd2')
-rw-r--r--audio/py-mpd2/Makefile47
-rw-r--r--audio/py-mpd2/distinfo2
-rw-r--r--audio/py-mpd2/pkg-descr4
-rw-r--r--audio/py-mpd2/pkg-plist1
4 files changed, 54 insertions, 0 deletions
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%%