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.
This commit is contained in:
minskim 2005-11-04 04:29:14 +00:00
parent 341ad1906c
commit 40f3284cfb
3 changed files with 39 additions and 0 deletions

1
multimedia/py-ming/DESCR Normal file
View file

@ -0,0 +1 @@
Python bindings for ming library; see multimedia/ming for details.

View file

@ -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"

4
multimedia/py-ming/PLIST Normal file
View file

@ -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