# $NetBSD: Makefile,v 1.45 2015/12/05 21:25:44 adam Exp $ DIA_SUBPKG= -python .include "../../graphics/dia/Makefile.common" 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 35 # 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"