aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-10-06 01:01:10 +0800
committergarga <garga@FreeBSD.org>2005-10-06 01:01:10 +0800
commit63e27e9e34f27554d81abea445ce3c307b78cb33 (patch)
treec71760eac8a5c95315a28417729365a65e4be908
parentda4ac8e92b2241d274cf333d640d298db43ad02d (diff)
downloadfreebsd-ports-gnome-63e27e9e34f27554d81abea445ce3c307b78cb33.tar.gz
freebsd-ports-gnome-63e27e9e34f27554d81abea445ce3c307b78cb33.tar.zst
freebsd-ports-gnome-63e27e9e34f27554d81abea445ce3c307b78cb33.zip
PyOpenAL is a binding of OpenAL for Python. This binding is at possible
OO (Listener, Source and Buffer are objects). Extensions are not supported yet. Supported file formats are Wave and Ogg Vorbis (with the PyOgg and PyVorbis modules). PyOpenAL can be used independently or along with Soya, our 3D engine for Python. WWW: http://home.gna.org/oomadness/en/pyopenal/index.html PR: ports/86926 Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
-rw-r--r--audio/Makefile1
-rw-r--r--audio/py-openal/Makefile33
-rw-r--r--audio/py-openal/distinfo2
-rw-r--r--audio/py-openal/pkg-descr11
-rw-r--r--audio/py-openal/pkg-plist8
5 files changed, 55 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 891f1f2798ad..88edb1a2473e 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -388,6 +388,7 @@
SUBDIR += py-mad
SUBDIR += py-musicbrainz
SUBDIR += py-ogg
+ SUBDIR += py-openal
SUBDIR += py-vorbis
SUBDIR += py-xmms
SUBDIR += pysol-sound-server
diff --git a/audio/py-openal/Makefile b/audio/py-openal/Makefile
new file mode 100644
index 000000000000..29d4c5a6c364
--- /dev/null
+++ b/audio/py-openal/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: PyOpenAL
+# Date created: 2005-10-05
+# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
+#
+# $FreeBSD$
+#
+
+PORTNAME= openal
+PORTVERSION= 0.1.5
+CATEGORIES= audio python
+MASTER_SITES= http://download.gna.org/pyopenal/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= PyOpenAL-${PORTVERSION}
+
+MAINTAINER= acardenas@bsd.org.pe
+COMMENT= PyOpenAL is a binding of OpenAL for Python
+
+LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal
+
+DIST_SUBDIR= python
+USE_GZIP= yes
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+WRKSRC= ${WRKDIR}/PyOpenAL-${PORTVERSION}
+EXAMPLESDIR= ${PREFIX}/share/examples/py-openal
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/demo/* ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/audio/py-openal/distinfo b/audio/py-openal/distinfo
new file mode 100644
index 000000000000..d38e9cd82023
--- /dev/null
+++ b/audio/py-openal/distinfo
@@ -0,0 +1,2 @@
+MD5 (python/PyOpenAL-0.1.5.tar.gz) = ffdb5a207aea2c8365fce575ee8a78c4
+SIZE (python/PyOpenAL-0.1.5.tar.gz) = 27528
diff --git a/audio/py-openal/pkg-descr b/audio/py-openal/pkg-descr
new file mode 100644
index 000000000000..17a5812c771e
--- /dev/null
+++ b/audio/py-openal/pkg-descr
@@ -0,0 +1,11 @@
+PyOpenAL is a binding of OpenAL for Python. This binding is at possible
+OO (Listener, Source and Buffer are objects). Extensions are not supported
+yet.
+
+Supported file formats are Wave and Ogg Vorbis (with the PyOgg and PyVorbis
+modules). PyOpenAL can be used independently or along with Soya, our 3D
+engine for Python.
+
+PyOpenAL is Free Software, under the GNU LGPL license.
+
+WWW: http://home.gna.org/oomadness/en/pyopenal/index.html
diff --git a/audio/py-openal/pkg-plist b/audio/py-openal/pkg-plist
new file mode 100644
index 000000000000..6c76119fcd19
--- /dev/null
+++ b/audio/py-openal/pkg-plist
@@ -0,0 +1,8 @@
+lib/%%PYTHON_VERSION%%/site-packages/pyopenal/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/pyopenal/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/pyopenal/__init__.pyo
+lib/%%PYTHON_VERSION%%/site-packages/_openal.so
+%%PORTDOCS%%%%EXAMPLESDIR%%/demo.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/sword.wav
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/pyopenal