aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authornbm <nbm@FreeBSD.org>2002-10-07 21:40:41 +0800
committernbm <nbm@FreeBSD.org>2002-10-07 21:40:41 +0800
commitcf4ee942db00f5c00f13c57111e17b859c6c116e (patch)
tree6f70e98e66e787fe8f50653f41e667b54a4141bb /audio
parentca336a7d315ad2f4dd09d69a2ced2c8fd278dc21 (diff)
downloadfreebsd-ports-gnome-cf4ee942db00f5c00f13c57111e17b859c6c116e.tar.gz
freebsd-ports-gnome-cf4ee942db00f5c00f13c57111e17b859c6c116e.tar.zst
freebsd-ports-gnome-cf4ee942db00f5c00f13c57111e17b859c6c116e.zip
Add py-ogg 1.0, object-oriented Python bindings for the ogg library.
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/py-ogg/Makefile25
-rw-r--r--audio/py-ogg/distinfo1
-rw-r--r--audio/py-ogg/files/patch-setup.py11
-rw-r--r--audio/py-ogg/pkg-comment1
-rw-r--r--audio/py-ogg/pkg-descr3
-rw-r--r--audio/py-ogg/pkg-plist7
7 files changed, 49 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 12bcb38e5531..ed0cfc7e5dbd 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -186,6 +186,7 @@
SUBDIR += play
SUBDIR += playmidi
SUBDIR += py-ao
+ SUBDIR += py-ogg
SUBDIR += py-xmms
SUBDIR += pysol-sound-server
SUBDIR += quelcom
diff --git a/audio/py-ogg/Makefile b/audio/py-ogg/Makefile
new file mode 100644
index 000000000000..9241b2aefd2b
--- /dev/null
+++ b/audio/py-ogg/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: pyogg
+# Date created: 23 Sep 2002
+# Whom: nbm
+#
+# $FreeBSD$
+#
+
+PORTNAME= ogg
+PORTVERSION= 1.0
+CATEGORIES= audio
+MASTER_SITES= http://www.andrewchatham.com/pyogg/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pyogg-${PORTVERSION}
+
+MAINTAINER= nbm@FreeBSD.org
+
+LIB_DEPENDS= ogg.4:${PORTSDIR}/audio/libogg
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+do-configure:
+ @cd ${WRKSRC} && ${PYTHON_CMD} config_unix.py
+
+.include <bsd.port.mk>
diff --git a/audio/py-ogg/distinfo b/audio/py-ogg/distinfo
new file mode 100644
index 000000000000..6228d06b9e7e
--- /dev/null
+++ b/audio/py-ogg/distinfo
@@ -0,0 +1 @@
+MD5 (pyogg-1.0.tar.gz) = 072b972c025153434243c0c9cc93589a
diff --git a/audio/py-ogg/files/patch-setup.py b/audio/py-ogg/files/patch-setup.py
new file mode 100644
index 000000000000..d9f0d75e678c
--- /dev/null
+++ b/audio/py-ogg/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig Mon Sep 23 16:23:48 2002
++++ setup.py Mon Sep 23 16:24:06 2002
+@@ -16,7 +16,7 @@
+
+ def get_setup():
+ data = {}
+- r = re.compile(r'(\S+)\s*?=\s*?(.+)')
++ r = re.compile(r'(\S+)\s*=\s*(.+)')
+
+ if not os.path.isfile('Setup'):
+ print "No 'Setup' file. Perhaps you need to run the configure script."
diff --git a/audio/py-ogg/pkg-comment b/audio/py-ogg/pkg-comment
new file mode 100644
index 000000000000..ef3ffba62d36
--- /dev/null
+++ b/audio/py-ogg/pkg-comment
@@ -0,0 +1 @@
+Object-oriented Python bindings for the ogg library
diff --git a/audio/py-ogg/pkg-descr b/audio/py-ogg/pkg-descr
new file mode 100644
index 000000000000..e2d0131afc16
--- /dev/null
+++ b/audio/py-ogg/pkg-descr
@@ -0,0 +1,3 @@
+Object-oriented Python bindings for the ogg library
+
+WWW: http://www.andrewchatham.com/pyogg/
diff --git a/audio/py-ogg/pkg-plist b/audio/py-ogg/pkg-plist
new file mode 100644
index 000000000000..472d63f90240
--- /dev/null
+++ b/audio/py-ogg/pkg-plist
@@ -0,0 +1,7 @@
+include/%%PYTHON_VERSION%%/pyogg/pyogg.h
+lib/%%PYTHON_VERSION%%/site-packages/ogg/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/ogg/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/ogg/__init__.pyo
+lib/%%PYTHON_VERSION%%/site-packages/ogg/_oggmodule.so
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/ogg
+@dirrm include/%%PYTHON_VERSION%%/pyogg