summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-15 22:26:05 +0000
committerminskim <minskim@pkgsrc.org>2004-02-15 22:26:05 +0000
commit6ebf72063b16410d2e4783b1ed95f846ef7786e2 (patch)
tree5c5f9efe2cf9a97aa6e0dbc02e042944fc0be6e1 /audio
parente4fc2a0150c2e452ab8821389121ab53d557187c (diff)
downloadpkgsrc-6ebf72063b16410d2e4783b1ed95f846ef7786e2.tar.gz
Import py-mad from pkgsrc-wip. Provided by Antonio Marques, and
slightly modified by me. Python bindings for libmad. See audio/libmad for details.
Diffstat (limited to 'audio')
-rw-r--r--audio/py-mad/DESCR1
-rw-r--r--audio/py-mad/Makefile23
-rw-r--r--audio/py-mad/PLIST2
-rw-r--r--audio/py-mad/distinfo5
-rw-r--r--audio/py-mad/patches/patch-aa14
5 files changed, 45 insertions, 0 deletions
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 <Python.h>
+ #include <stdio.h>
++#ifndef __FreeBSD__
+ #include <stdint.h>
++#endif
+ #include <errno.h>
+ #include <string.h>
+ #include <sys/stat.h>