aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/py-pyliblo/Makefile36
-rw-r--r--audio/py-pyliblo/distinfo3
-rw-r--r--audio/py-pyliblo/files/patch-setup.py30
-rw-r--r--audio/py-pyliblo/pkg-descr9
-rw-r--r--audio/py-pyliblo/pkg-plist6
6 files changed, 85 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index b2a4c08d97f2..1b97f34c99e6 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -566,6 +566,7 @@
SUBDIR += py-mutagen
SUBDIR += py-ogg
SUBDIR += py-openal
+ SUBDIR += py-pyliblo
SUBDIR += py-sdl_mixer
SUBDIR += py-speex
SUBDIR += py-taglib
diff --git a/audio/py-pyliblo/Makefile b/audio/py-pyliblo/Makefile
new file mode 100644
index 000000000000..110d4341196c
--- /dev/null
+++ b/audio/py-pyliblo/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: py-pyliblo
+# Date created: 2009-01-25
+# Whom: Wen Heping <wenheping@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pyliblo
+PORTVERSION= 0.7.2
+CATEGORIES= audio python
+MASTER_SITES= http://das.nasophon.de/download/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= wenheping@gmail.com
+COMMENT= A Python wrapper for the Liblo OSC Library
+
+BUILD_DEPENDS= pyrex>=0.9.4:${PORTSDIR}/devel/pyrex
+LIB_DEPENDS= lo.6:${PORTSDIR}/audio/liblo
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+MAKE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN1= dump_osc.1 send_osc.1
+
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/scripts/dump_osc.1 ${LOCALBASE}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/scripts/send_osc.1 ${LOCALBASE}/man/man1
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/doc/API.html ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/doc/examples.html ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/audio/py-pyliblo/distinfo b/audio/py-pyliblo/distinfo
new file mode 100644
index 000000000000..078f691fce8d
--- /dev/null
+++ b/audio/py-pyliblo/distinfo
@@ -0,0 +1,3 @@
+MD5 (pyliblo-0.7.2.tar.gz) = 376bf8f0fbe6c8e44d431771e419519b
+SHA256 (pyliblo-0.7.2.tar.gz) = 2ab48f50761d472eaa52fcbcb90958d9b7f3797a74092d021b16c8377bac4d2c
+SIZE (pyliblo-0.7.2.tar.gz) = 41359
diff --git a/audio/py-pyliblo/files/patch-setup.py b/audio/py-pyliblo/files/patch-setup.py
new file mode 100644
index 000000000000..920b32607d24
--- /dev/null
+++ b/audio/py-pyliblo/files/patch-setup.py
@@ -0,0 +1,30 @@
+--- setup.py.orig 2009-01-25 16:03:31.000000000 +0800
++++ setup.py 2009-01-25 16:04:35.000000000 +0800
+@@ -34,7 +34,7 @@
+ ext_modules = [
+ Extension('liblo',
+ [with_pyrex and 'src/liblo.pyx' or 'src/liblo.c'],
+- extra_compile_args = ['-fno-strict-aliasing'],
++ extra_compile_args = ['-fno-strict-aliasing','-I/usr/local/include'],
+ libraries = ['lo'])
+ ]
+
+@@ -54,12 +54,12 @@
+ 'scripts/send_osc.py',
+ 'scripts/dump_osc.py',
+ ],
+- data_files = [
+- ('share/man/man1', [
+- 'scripts/send_osc.1',
+- 'scripts/dump_osc.1',
+- ]),
+- ],
++# data_files = [
++# ('share/man/man1', [
++# 'scripts/send_osc.1',
++# 'scripts/dump_osc.1',
++# ]),
++# ],
+ cmdclass = cmdclass,
+ ext_modules = ext_modules
+ )
diff --git a/audio/py-pyliblo/pkg-descr b/audio/py-pyliblo/pkg-descr
new file mode 100644
index 000000000000..a590a7f9339f
--- /dev/null
+++ b/audio/py-pyliblo/pkg-descr
@@ -0,0 +1,9 @@
+pyliblo is a Python wrapper for the liblo OSC library. It
+supports almost the complete functionality of liblo, allowing
+you to send and receive OSC messages using a nice and simple
+Python API.
+
+Also included are the command line utilities send_osc and
+dump_osc.
+
+WWW: http://das.nasophon.de/pyliblo/
diff --git a/audio/py-pyliblo/pkg-plist b/audio/py-pyliblo/pkg-plist
new file mode 100644
index 000000000000..fbff77979096
--- /dev/null
+++ b/audio/py-pyliblo/pkg-plist
@@ -0,0 +1,6 @@
+bin/dump_osc
+bin/send_osc
+%%PYTHON_SITELIBDIR%%/liblo.so
+%%PORTDOCS%%%%DOCSDIR%%/API.html
+%%PORTDOCS%%%%DOCSDIR%%/examples.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%