blob: a4c8ed24bb4ad23c90901358a3c7adc1093fc057 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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"
|