From 990494c19fe2c13d73d0923c958035e33edbee70 Mon Sep 17 00:00:00 2001 From: minskim Date: Sun, 15 Feb 2004 22:26:05 +0000 Subject: Import py-mad from pkgsrc-wip. Provided by Antonio Marques, and slightly modified by me. Python bindings for libmad. See audio/libmad for details. --- audio/py-mad/DESCR | 1 + audio/py-mad/Makefile | 23 +++++++++++++++++++++++ audio/py-mad/PLIST | 2 ++ audio/py-mad/distinfo | 5 +++++ audio/py-mad/patches/patch-aa | 14 ++++++++++++++ 5 files changed, 45 insertions(+) create mode 100644 audio/py-mad/DESCR create mode 100644 audio/py-mad/Makefile create mode 100644 audio/py-mad/PLIST create mode 100644 audio/py-mad/distinfo create mode 100644 audio/py-mad/patches/patch-aa (limited to 'audio') diff --git a/audio/py-mad/DESCR b/audio/py-mad/DESCR new file mode 100644 index 00000000000..6b9fb268d39 --- /dev/null +++ b/audio/py-mad/DESCR @@ -0,0 +1 @@ +Python bindings for libmad. See audio/libmad for details. diff --git a/audio/py-mad/Makefile b/audio/py-mad/Makefile new file mode 100644 index 00000000000..55d2ae14aed --- /dev/null +++ b/audio/py-mad/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/02/15 22:26:05 minskim Exp $ +# + +DISTNAME= pymad-0.5.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} +CATEGORIES= audio +MASTER_SITES= http://spacepants.org/src/pymad/download/ + +MAINTAINER= froz@icix.org +HOMEPAGE= http://spacepants.org/src/pymad +COMMENT= Python bindings for libmad + +USE_BUILDLINK3= yes +PY_PATCHPLIST= yes +PYDISTUTILSPKG= yes + +HAS_CONFIGURE= yes +CONFIGURE_SCRIPT= ${PYTHONBIN} config_unix.py +CONFIGURE_ARGS+= --prefix ${PREFIX} + +.include "../../audio/libmad/buildlink3.mk" +.include "../../lang/python/extension.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/py-mad/PLIST b/audio/py-mad/PLIST new file mode 100644 index 00000000000..04cf09547c4 --- /dev/null +++ b/audio/py-mad/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/15 22:26:05 minskim Exp $ +${PYSITELIB}/madmodule.so diff --git a/audio/py-mad/distinfo b/audio/py-mad/distinfo new file mode 100644 index 00000000000..e8e49f42bc9 --- /dev/null +++ b/audio/py-mad/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/02/15 22:26:05 minskim Exp $ + +SHA1 (pymad-0.5.1.tar.gz) = 836e90105303b454cdecd3e3e30b97d12273cf03 +Size (pymad-0.5.1.tar.gz) = 21592 bytes +SHA1 (patch-aa) = daaae1d8c57796841be10c6dad24b589fe928694 diff --git a/audio/py-mad/patches/patch-aa b/audio/py-mad/patches/patch-aa new file mode 100644 index 00000000000..f48162d355e --- /dev/null +++ b/audio/py-mad/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/02/15 22:26:05 minskim Exp $ + +--- src/pymadfile.c~ Mon Oct 6 16:23:05 2003 ++++ src/pymadfile.c Sun Jan 11 13:35:13 2004 +@@ -47,7 +47,9 @@ + + #include + #include ++#ifndef __FreeBSD__ + #include ++#endif + #include + #include + #include -- cgit v1.2.3