aboutsummaryrefslogtreecommitdiff
path: root/audio/py-shout
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-10-17 07:10:22 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-10-17 07:10:22 +0000
commit671f85b107213837be8a019f2c4d1d73bdbe3b4e (patch)
tree95ca91797578cc2067973156ff791f2622773b17 /audio/py-shout
parent7aecdc91d47d5b8064b3c6c34fd87e72d82b9b7e (diff)
downloadports-671f85b107213837be8a019f2c4d1d73bdbe3b4e.tar.gz
ports-671f85b107213837be8a019f2c4d1d73bdbe3b4e.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>
Notes
Notes: svn path=/head/; revision=242959
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 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%%