16ef7aed36
Detected by both pkglint and SUBST_NOOP_OK=no.
25 lines
688 B
Makefile
25 lines
688 B
Makefile
# $NetBSD: Makefile,v 1.63 2020/05/01 20:19:23 rillig Exp $
|
|
|
|
DIA_SUBPKG= -python
|
|
PKGREVISION= 12
|
|
.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_ACCEPTED= 27 # 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"
|