summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorminskim <minskim>2005-11-04 04:29:14 +0000
committerminskim <minskim>2005-11-04 04:29:14 +0000
commit475463bd2ababbbf95e6b2e173a1792ae0ca0140 (patch)
treefa94ca2b3a873ec41f2838d920e65f2a68a56215 /multimedia
parent99c6a588faaf9be18d3b28c0bac06be7d1e4e93c (diff)
downloadpkgsrc-475463bd2ababbbf95e6b2e173a1792ae0ca0140.tar.gz
Import py-ming from pkgsrc-wip. Packaged by Michal Pasternak, and
modified by OBATA Akio. Python bindings for ming library; see multimedia/ming for details.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/py-ming/DESCR1
-rw-r--r--multimedia/py-ming/Makefile34
-rw-r--r--multimedia/py-ming/PLIST4
3 files changed, 39 insertions, 0 deletions
diff --git a/multimedia/py-ming/DESCR b/multimedia/py-ming/DESCR
new file mode 100644
index 00000000000..6d6d2325134
--- /dev/null
+++ b/multimedia/py-ming/DESCR
@@ -0,0 +1 @@
+Python bindings for ming library; see multimedia/ming for details.
diff --git a/multimedia/py-ming/Makefile b/multimedia/py-ming/Makefile
new file mode 100644
index 00000000000..a4c8ed24bb4
--- /dev/null
+++ b/multimedia/py-ming/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/11/04 04:29:14 minskim Exp $
+#
+
+DISTNAME= ${MING_DISTNAME}
+PKGNAME= ${PYPKGPREFIX}-${MING_PKGNAME}
+CATEGORIES= multimedia
+MASTER_SITES= ${MING_MASTER_SITES}
+EXTRACT_SUFX= ${MING_EXTRACT_SUFX}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://ming.sourceforge.net/
+COMMENT= Python bindings for Ming library
+
+PY_PATCHPLIST= yes
+PYBINMODULE= yes
+
+BUILD_TARGET= mingcmodule.so
+BUILD_DIRS= ${WRKSRC}/py_ext
+
+MAKE_ENV+= PYSITELIB=${PYSITELIB}
+
+PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py
+
+.include "../../multimedia/ming/buildlink3.mk"
+.include "../../multimedia/ming/Makefile.common"
+.include "../../lang/python/extension.mk"
+
+post-build:
+ ${PYTHONBIN} ${PYCOMPILEALL} ${WRKSRC}/py_ext
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/py_ext/ming.pyc ${PREFIX}/${PYSITELIB}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/py-ming/PLIST b/multimedia/py-ming/PLIST
new file mode 100644
index 00000000000..ca26c984e15
--- /dev/null
+++ b/multimedia/py-ming/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/11/04 04:29:14 minskim Exp $
+${PYSITELIB}/ming.py
+${PYSITELIB}/ming.pyc
+${PYSITELIB}/mingcmodule.so