3528e06345
Bump PKGREVISION.
27 lines
752 B
Makefile
27 lines
752 B
Makefile
# $NetBSD: Makefile,v 1.9 2007/09/21 13:03:48 wiz Exp $
|
|
#
|
|
|
|
DIA_SUBPKG= -python
|
|
.include "../../graphics/dia/Makefile.common"
|
|
PKGREVISION= 1
|
|
|
|
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
|
|
|
|
PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py
|
|
|
|
post-install:
|
|
${PYTHONBIN} ${PYCOMPILEALL} ${PREFIX}/share/dia
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../x11/py-gtk2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|