2006-03-04 22:28:51 +01:00
|
|
|
# $NetBSD: Makefile,v 1.4 2006/03/04 21:30:15 jlam Exp $
|
2005-11-04 05:29:14 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= ${MING_DISTNAME}
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-${MING_PKGNAME}
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2005-11-04 05:29:14 +01:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
MASTER_SITES= ${MING_MASTER_SITES}
|
|
|
|
EXTRACT_SUFX= ${MING_EXTRACT_SUFX}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2005-11-04 05:29:14 +01:00
|
|
|
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
|
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= PYSITELIB=${PYSITELIB:Q}
|
2005-11-04 05:29:14 +01:00
|
|
|
|
|
|
|
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"
|