pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/py-ming Import py-ming from pkgsrc-wip. Pa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e69a0fcf3be
branches:  trunk
changeset: 502311:6e69a0fcf3be
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Nov 04 04:29:14 2005 +0000

description:
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:

 multimedia/py-ming/DESCR    |   1 +
 multimedia/py-ming/Makefile |  34 ++++++++++++++++++++++++++++++++++
 multimedia/py-ming/PLIST    |   4 ++++
 3 files changed, 39 insertions(+), 0 deletions(-)

diffs (51 lines):

diff -r 29065cfc73b3 -r 6e69a0fcf3be multimedia/py-ming/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/py-ming/DESCR  Fri Nov 04 04:29:14 2005 +0000
@@ -0,0 +1,1 @@
+Python bindings for ming library; see multimedia/ming for details.
diff -r 29065cfc73b3 -r 6e69a0fcf3be multimedia/py-ming/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/py-ming/Makefile       Fri Nov 04 04:29:14 2005 +0000
@@ -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@localhost
+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 -r 29065cfc73b3 -r 6e69a0fcf3be multimedia/py-ming/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/py-ming/PLIST  Fri Nov 04 04:29:14 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index