summaryrefslogtreecommitdiff
path: root/audio/py-ogg
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-15 01:49:15 +0000
committerminskim <minskim@pkgsrc.org>2004-02-15 01:49:15 +0000
commitfc722ac7ac8fa54d8f20590060bbb15adc21a624 (patch)
treeb7e74645fd283d7f4dcee89867cff10d627a2b03 /audio/py-ogg
parentc3c35d7f9d795852ed767910e967dafb5f7c9852 (diff)
downloadpkgsrc-fc722ac7ac8fa54d8f20590060bbb15adc21a624.tar.gz
Import py-ogg from pkgsrc-wip. Provided by Michal Pasternak, and
slightly modified by me. This is libogg bindings for Python. See audio/libogg for details.
Diffstat (limited to 'audio/py-ogg')
-rw-r--r--audio/py-ogg/DESCR1
-rw-r--r--audio/py-ogg/Makefile23
-rw-r--r--audio/py-ogg/PLIST8
-rw-r--r--audio/py-ogg/buildlink2.mk22
-rw-r--r--audio/py-ogg/buildlink3.mk24
-rw-r--r--audio/py-ogg/distinfo4
6 files changed, 82 insertions, 0 deletions
diff --git a/audio/py-ogg/DESCR b/audio/py-ogg/DESCR
new file mode 100644
index 00000000000..b7e8cdccc8e
--- /dev/null
+++ b/audio/py-ogg/DESCR
@@ -0,0 +1 @@
+Libogg bindings for Python. See audio/libogg for details.
diff --git a/audio/py-ogg/Makefile b/audio/py-ogg/Makefile
new file mode 100644
index 00000000000..7952e14bbec
--- /dev/null
+++ b/audio/py-ogg/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/02/15 01:49:15 minskim Exp $
+#
+
+DISTNAME= pyogg-1.3
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES= audio
+MASTER_SITES= http://vorbis.com/files/1.0.1/unix/py/
+
+MAINTAINER= dotz@irc.pl
+HOMEPAGE= http://vorbis.com/
+COMMENT= Python bindings for OGG library
+
+USE_BUILDLINK3= yes
+PYDISTUTILSPKG= yes
+PY_PATCHPLIST= yes
+
+HAS_CONFIGURE= yes
+CONFIGURE_SCRIPT= ${PYTHONBIN} config_unix.py
+CONFIGURE_ARGS+= --prefix ${PREFIX}
+
+.include "../../audio/libogg/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/py-ogg/PLIST b/audio/py-ogg/PLIST
new file mode 100644
index 00000000000..64fa44ffa1a
--- /dev/null
+++ b/audio/py-ogg/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/15 01:49:15 minskim Exp $
+${PYINC}/pyogg/pyogg.h
+${PYSITELIB}/ogg/__init__.py
+${PYSITELIB}/ogg/__init__.pyc
+${PYSITELIB}/ogg/__init__.pyo
+${PYSITELIB}/ogg/_ogg.so
+@dirrm ${PYSITELIB}/ogg
+@dirrm ${PYINC}/pyogg
diff --git a/audio/py-ogg/buildlink2.mk b/audio/py-ogg/buildlink2.mk
new file mode 100644
index 00000000000..5724f9e1fdd
--- /dev/null
+++ b/audio/py-ogg/buildlink2.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2004/02/15 01:49:15 minskim Exp $
+
+.if !defined(PYOGG_BUILDLINK2_MK)
+PYOGG_BUILDLINK2_MK= # defined
+
+.include "../../lang/python/pyversion.mk"
+
+BUILDLINK_PACKAGES+= pyogg
+BUILDLINK_DEPENDS.pyogg?= ${PYPKGPREFIX}-pyogg>=1.3
+BUILDLINK_PKGSRCDIR.pyogg?= ../../wip/py-ogg
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.pyogg=${PYPKGPREFIX}-pyogg
+BUILDLINK_PREFIX.pyogg_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.pyogg+= ${PYINC}/pyogg/pyogg.h
+
+.include "../../audio/libogg/buildlink2.mk"
+
+BUILDLINK_TARGETS+= pyogg-buildlink
+
+pyogg-buildlink: _BUILDLINK_USE
+
+.endif # PYOGG_BUILDLINK2_MK
diff --git a/audio/py-ogg/buildlink3.mk b/audio/py-ogg/buildlink3.mk
new file mode 100644
index 00000000000..b8eaf4d73f8
--- /dev/null
+++ b/audio/py-ogg/buildlink3.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/02/15 01:49:15 minskim Exp $
+#
+# This Makefile fragment is included by packages that use py23pth-ogg.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY23PTH_OGG_BUILDLINK3_MK:= ${PY23PTH_OGG_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= py23pth-ogg
+.endif
+
+.if !empty(PY23PTH_OGG_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= py23pth-ogg
+BUILDLINK_DEPENDS.py23pth-ogg+= py23pth-ogg>=1.3
+BUILDLINK_PKGSRCDIR.py23pth-ogg?= ../../wip/py-ogg
+
+.include "../../audio/libogg/buildlink3.mk"
+
+.endif # PY23PTH_OGG_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/audio/py-ogg/distinfo b/audio/py-ogg/distinfo
new file mode 100644
index 00000000000..244d2a0555c
--- /dev/null
+++ b/audio/py-ogg/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/02/15 01:49:15 minskim Exp $
+
+SHA1 (pyogg-1.3.tar.gz) = d68682bf7fa405784c47137c04ed6a5c6355064f
+Size (pyogg-1.3.tar.gz) = 23871 bytes