pkgsrc/graphics/dia-python/Makefile
2014-05-09 07:36:53 +00:00

26 lines
689 B
Makefile

# $NetBSD: Makefile,v 1.42 2014/05/09 07:37:07 wiz Exp $
DIA_SUBPKG= -python
.include "../../graphics/dia/Makefile.common"
PKGREVISION= 16
COMMENT+= (Python plugin)
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--without-python/--with-python/g}
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
REPLACE_PYTHON= po-checktrans.py
REPLACE_PYTHON+= plug-ins/python/gtkcons.py
REPLACE_PYTHON+= sheets/checktrans.py
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-gtk2
BUILD_DIRS+= plug-ins/python
INSTALL_DIRS+= 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"