2022-04-18 21:09:40 +02:00
|
|
|
# $NetBSD: Makefile,v 1.70 2022/04/18 19:11:15 adam Exp $
|
2005-01-20 19:50:48 +01:00
|
|
|
|
|
|
|
DIA_SUBPKG= -python
|
2022-04-18 21:09:40 +02:00
|
|
|
PKGREVISION= 19
|
2005-01-20 19:50:48 +01:00
|
|
|
.include "../../graphics/dia/Makefile.common"
|
|
|
|
|
|
|
|
COMMENT+= (Python plugin)
|
|
|
|
|
|
|
|
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--without-python/--with-python/g}
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
|
2005-01-20 19:50:48 +01:00
|
|
|
|
2019-11-02 23:37:52 +01:00
|
|
|
REPLACE_PYTHON= po-checktrans.py
|
|
|
|
REPLACE_PYTHON+= plug-ins/python/gtkcons.py
|
|
|
|
REPLACE_PYTHON+= sheets/checktrans.py
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 27 # py-gtk2
|
2005-01-20 19:50:48 +01:00
|
|
|
|
2013-04-06 17:46:33 +02:00
|
|
|
BUILD_DIRS+= plug-ins/python
|
|
|
|
INSTALL_DIRS+= plug-ins/python
|
2005-01-20 19:50:48 +01:00
|
|
|
|
2006-05-02 18:23:30 +02:00
|
|
|
post-install:
|
2009-07-08 15:55:58 +02:00
|
|
|
${PY_COMPILE_ALL} ${DESTDIR}${PREFIX}/share/dia
|
2006-05-02 18:23:30 +02:00
|
|
|
|
2005-01-20 19:50:48 +01:00
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../x11/py-gtk2/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|