aboutsummaryrefslogtreecommitdiff
path: root/audio/py-pymad
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-03 08:33:28 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-03 08:33:28 +0000
commitab4518f24faaf965834e166ea8ca18deb02dac78 (patch)
tree3fe2f78aa49c85129ab809846716dd3438b6150f /audio/py-pymad
parenta7a724ddd728ba6c2c8d34c970ef16e4c2b38ba7 (diff)
Move audio/py-mad to audio/py-pymad
- Change MASTER_SITES to CHEESESHOP - Remove PORTSCOUT - Update WWW
Notes
Notes: svn path=/head/; revision=460794
Diffstat (limited to 'audio/py-pymad')
-rw-r--r--audio/py-pymad/Makefile27
-rw-r--r--audio/py-pymad/distinfo3
-rw-r--r--audio/py-pymad/pkg-descr5
3 files changed, 35 insertions, 0 deletions
diff --git a/audio/py-pymad/Makefile b/audio/py-pymad/Makefile
new file mode 100644
index 000000000000..0f2a15f7a63c
--- /dev/null
+++ b/audio/py-pymad/Makefile
@@ -0,0 +1,27 @@
+# Created by: Hye-Shik Chang
+# $FreeBSD$
+
+PORTNAME= pymad
+PORTVERSION= 0.10
+CATEGORIES= audio python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Python wrapper for the MPEG Audio Decoder library
+
+LICENSE= LGPL20+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libmad.so:audio/libmad
+
+USE_PYTHON= autoplist concurrent distutils
+USES= python
+
+do-configure:
+ @cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} config_unix.py --prefix ${LOCALBASE}
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mad.so
+
+.include <bsd.port.mk>
diff --git a/audio/py-pymad/distinfo b/audio/py-pymad/distinfo
new file mode 100644
index 000000000000..f31b540455d3
--- /dev/null
+++ b/audio/py-pymad/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1517641451
+SHA256 (pymad-0.10.tar.gz) = 4f3cb83614095cf15205d2ebc344148ae11acb22c85741a94748f614d4c4def1
+SIZE (pymad-0.10.tar.gz) = 22689
diff --git a/audio/py-pymad/pkg-descr b/audio/py-pymad/pkg-descr
new file mode 100644
index 000000000000..51e9986f2a56
--- /dev/null
+++ b/audio/py-pymad/pkg-descr
@@ -0,0 +1,5 @@
+pymad is a Python module that allows Python programs to use the MPEG Audio
+Decoder library. pymad provides a high-level API, similar to the pyogg module,
+which makes reading PCM data from MPEG audio streams a piece of cake.
+
+WWW: https://pypi.python.org/pypi/pymad