pkgsrc/graphics/dia-python/Makefile

26 lines
680 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.17 2010/09/14 11:01:55 wiz Exp $
#
PKGREVISION= 3
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}
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"