diff options
author | Neil Blakey-Milner <nbm@FreeBSD.org> | 2002-10-07 13:43:18 +0000 |
---|---|---|
committer | Neil Blakey-Milner <nbm@FreeBSD.org> | 2002-10-07 13:43:18 +0000 |
commit | cdaf725a9b8e45ee7b0992a6658130f97b0ff05f (patch) | |
tree | 5243e5ab88a4f43e9de6e59ea1f644ee9b981458 /audio/py-vorbis | |
parent | cba946907d64dd39ff42c428789e21c2ab185d05 (diff) | |
download | ports-cdaf725a9b8e45ee7b0992a6658130f97b0ff05f.tar.gz ports-cdaf725a9b8e45ee7b0992a6658130f97b0ff05f.zip |
Notes
Diffstat (limited to 'audio/py-vorbis')
-rw-r--r-- | audio/py-vorbis/Makefile | 27 | ||||
-rw-r--r-- | audio/py-vorbis/distinfo | 1 | ||||
-rw-r--r-- | audio/py-vorbis/files/patch-pyvorbisfile.c | 20 | ||||
-rw-r--r-- | audio/py-vorbis/files/patch-setup.py | 11 | ||||
-rw-r--r-- | audio/py-vorbis/pkg-comment | 1 | ||||
-rw-r--r-- | audio/py-vorbis/pkg-descr | 3 | ||||
-rw-r--r-- | audio/py-vorbis/pkg-plist | 1 |
7 files changed, 64 insertions, 0 deletions
diff --git a/audio/py-vorbis/Makefile b/audio/py-vorbis/Makefile new file mode 100644 index 000000000000..ce36703d3f29 --- /dev/null +++ b/audio/py-vorbis/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: pyvorbis +# Date created: 23 Sep 2002 +# Whom: makeport.pl +# +# $FreeBSD$ +# + +PORTNAME= vorbis +PORTVERSION= 1.0 +CATEGORIES= audio +MASTER_SITES= http://www.andrewchatham.com/pyogg/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pyvorbis-${PORTVERSION} + +MAINTAINER= nbm@FreeBSD.org + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/ogg/_oggmodule.so:${PORTSDIR}/audio/py-ogg +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ogg/_oggmodule.so:${PORTSDIR}/audio/py-ogg +LIB_DEPENDS= vorbis.2:${PORTSDIR}/audio/libvorbis + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +do-configure: + @cd ${WRKSRC} && ${PYTHON_CMD} config_unix.py + +.include <bsd.port.mk> diff --git a/audio/py-vorbis/distinfo b/audio/py-vorbis/distinfo new file mode 100644 index 000000000000..c1dd8136d074 --- /dev/null +++ b/audio/py-vorbis/distinfo @@ -0,0 +1 @@ +MD5 (pyvorbis-1.0.tar.gz) = 158e38785543f2d945e20f67f77299b9 diff --git a/audio/py-vorbis/files/patch-pyvorbisfile.c b/audio/py-vorbis/files/patch-pyvorbisfile.c new file mode 100644 index 000000000000..7a33f3d00568 --- /dev/null +++ b/audio/py-vorbis/files/patch-pyvorbisfile.c @@ -0,0 +1,20 @@ +--- src/pyvorbisfile.c.orig Mon Sep 23 16:35:18 2002 ++++ src/pyvorbisfile.c Mon Sep 23 16:37:20 2002 +@@ -1,5 +1,17 @@ + #include <stdio.h> ++ ++#if (defined(__unix__) || defined(unix)) && !defined(USG) ++#include <sys/param.h> ++#endif ++ ++#if (defined(BSD)) ++#include <machine/endian.h> ++#define __BYTE_ORDER BYTE_ORDER ++#define __BIG_ENDIAN BIG_ENDIAN ++#else + #include <endian.h> ++#endif ++ + #include <assert.h> + + #include "general.h" diff --git a/audio/py-vorbis/files/patch-setup.py b/audio/py-vorbis/files/patch-setup.py new file mode 100644 index 000000000000..0a9871e385b6 --- /dev/null +++ b/audio/py-vorbis/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig Mon Sep 23 16:29:24 2002 ++++ setup.py Mon Sep 23 16:29:34 2002 +@@ -20,7 +20,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-vorbis/pkg-comment b/audio/py-vorbis/pkg-comment new file mode 100644 index 000000000000..de1ec7261d3d --- /dev/null +++ b/audio/py-vorbis/pkg-comment @@ -0,0 +1 @@ +Object-oriented Python bindings for the vorbis library diff --git a/audio/py-vorbis/pkg-descr b/audio/py-vorbis/pkg-descr new file mode 100644 index 000000000000..5822cd2a3cbe --- /dev/null +++ b/audio/py-vorbis/pkg-descr @@ -0,0 +1,3 @@ +Object-oriented Python bindings for the vorbis library + +WWW: http://www.andrewchatham.com/pyogg/ diff --git a/audio/py-vorbis/pkg-plist b/audio/py-vorbis/pkg-plist new file mode 100644 index 000000000000..1f1fc72287fb --- /dev/null +++ b/audio/py-vorbis/pkg-plist @@ -0,0 +1 @@ +lib/%%PYTHON_VERSION%%/site-packages/ogg/vorbismodule.so |