pkgsrc/graphics/dia-python/Makefile
joerg d61c3b641c Provide PY_COMPILE_ALL and PY_COMPILE_O_ALL to compile all Python
sources in a directory (tree) in pversion.mk. Adjust the various places
that called it locally.
2009-07-08 13:55:58 +00:00

25 lines
683 B
Makefile

# $NetBSD: Makefile,v 1.12 2009/07/08 13:55:59 joerg Exp $
#
DIA_SUBPKG= -python
.include "../../graphics/dia/Makefile.common"
PKGREVISION= 2
COMMENT+= (Python plugin)
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--without-python/--with-python/g}
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
PYTHON_PATCH_SCRIPTS= po-checktrans.py
PYTHON_PATCH_SCRIPTS+= plug-ins/python/gtkcons.py
PYTHON_PATCH_SCRIPTS+= sheets/checktrans.py
BUILD_DIRS+= ${WRKSRC}/plug-ins/python
INSTALL_DIRS+= ${WRKSRC}/plug-ins/python
post-install:
${PY_COMPILE_ALL} ${DESTDIR}${PREFIX}/share/dia
.include "../../lang/python/application.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"