aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-shout
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-10-17 15:10:22 +0800
committermiwi <miwi@FreeBSD.org>2009-10-17 15:10:22 +0800
commitc219109282a508e35e43c4e17fa3826f9c2980b1 (patch)
tree826419bb9eee21fd1c0a46e9d0f1c161aed7b636 /audio/py-shout
parentb49a9286302e6b318a7ee9c8242cecd058ff5d26 (diff)
downloadfreebsd-ports-graphics-c219109282a508e35e43c4e17fa3826f9c2980b1.tar.gz
freebsd-ports-graphics-c219109282a508e35e43c4e17fa3826f9c2980b1.tar.zst
freebsd-ports-graphics-c219109282a508e35e43c4e17fa3826f9c2980b1.zip
Shout-python is a set of bindings for libshout2. It allows you to
act as a source for icecast 1 and 2, and shoutcast. WWW: http://www.icecast.org/ PR: ports/139671 Submitted by: Olivier Duchateau <duchateau.olivier at gmail.com>
Diffstat (limited to 'audio/py-shout')
-rw-r--r--audio/py-shout/Makefile32
-rw-r--r--audio/py-shout/distinfo3
-rw-r--r--audio/py-shout/pkg-descr4
-rw-r--r--audio/py-shout/pkg-plist3
4 files changed, 42 insertions, 0 deletions
diff --git a/audio/py-shout/Makefile b/audio/py-shout/Makefile
new file mode 100644
index 00000000000..fb577d5bd59
--- /dev/null
+++ b/audio/py-shout/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: py-shout
+# Date created: 2009-08-07
+# Whom: Olivier Duchateau <duchateau.olivier@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= shout
+PORTVERSION= 0.2.1
+CATEGORIES= audio python
+MASTER_SITES= http://downloads.us.xiph.org/releases/libshout/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}-python-${PORTVERSION}
+
+MAINTAINER= duchateau.olivier@gmail.com
+COMMENT= Python bindings for libshout2
+
+LIB_DEPENDS= shout.5:${PORTSDIR}/audio/libshout2
+
+EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_PKGNAME= ${PORTNAME}-python
+
+.if !defined(NOPORTEXAMPLES)
+post-install:
+ @${MKDIR} ${EXAMPLESDIR}
+ ${CP} ${WRKSRC}/example.py ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/audio/py-shout/distinfo b/audio/py-shout/distinfo
new file mode 100644
index 00000000000..c7b599e49c2
--- /dev/null
+++ b/audio/py-shout/distinfo
@@ -0,0 +1,3 @@
+MD5 (shout-python-0.2.1.tar.gz) = 864cfecc2474590470fcce750416b7d3
+SHA256 (shout-python-0.2.1.tar.gz) = 7e57766a77ecf6756120ec9e534afdcd296942218989fde9c9f5af8b40973457
+SIZE (shout-python-0.2.1.tar.gz) = 15341
diff --git a/audio/py-shout/pkg-descr b/audio/py-shout/pkg-descr
new file mode 100644
index 00000000000..32081d0e4c5
--- /dev/null
+++ b/audio/py-shout/pkg-descr
@@ -0,0 +1,4 @@
+Shout-python is a set of bindings for libshout2. It allows you to
+act as a source for icecast 1 and 2, and shoutcast.
+
+WWW: http://www.icecast.org/
diff --git a/audio/py-shout/pkg-plist b/audio/py-shout/pkg-plist
new file mode 100644
index 00000000000..6b26539d419
--- /dev/null
+++ b/audio/py-shout/pkg-plist
@@ -0,0 +1,3 @@
+%%PYTHON_SITELIBDIR%%/shout.so
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.py
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%