aboutsummaryrefslogtreecommitdiff
path: root/audio/py-shout/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/py-shout/Makefile')
-rw-r--r--audio/py-shout/Makefile32
1 files changed, 32 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>