aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/Makefile1
-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
5 files changed, 43 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index ff5bd2dd2b5c..3b8a8b863eeb 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -588,6 +588,7 @@
SUBDIR += py-ogg
SUBDIR += py-openal
SUBDIR += py-pyliblo
+ SUBDIR += py-shout
SUBDIR += py-speex
SUBDIR += py-taglib
SUBDIR += py-tagpy
diff --git a/audio/py-shout/Makefile b/audio/py-shout/Makefile
new file mode 100644
index 000000000000..fb577d5bd596
--- /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 000000000000..c7b599e49c20
--- /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 000000000000..32081d0e4c59
--- /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 000000000000..6b26539d419e
--- /dev/null
+++ b/audio/py-shout/pkg-plist
@@ -0,0 +1,3 @@
+%%PYTHON_SITELIBDIR%%/shout.so
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.py
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%