aboutsummaryrefslogtreecommitdiff
path: root/audio/py-ogg
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2002-10-07 13:40:41 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2002-10-07 13:40:41 +0000
commitcba946907d64dd39ff42c428789e21c2ab185d05 (patch)
tree7a1c8578517df3ef9750fff3dbc1591d2daa469d /audio/py-ogg
parent033495262f9aae1ddce956885eb01afcc1c67fe8 (diff)
downloadports-cba946907d64dd39ff42c428789e21c2ab185d05.tar.gz
ports-cba946907d64dd39ff42c428789e21c2ab185d05.zip
Notes
Diffstat (limited to 'audio/py-ogg')
-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
6 files changed, 48 insertions, 0 deletions
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