2019-09-02 15:19:35 +02:00
|
|
|
# $NetBSD: Makefile,v 1.59 2019/09/02 13:20:17 adam Exp $
|
2005-01-20 19:50:48 +01:00
|
|
|
|
|
|
|
DIA_SUBPKG= -python
|
2019-07-22 00:23:57 +02:00
|
|
|
PKGREVISION= 9
|
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
|
|
|
|
2014-01-25 11:45:15 +01:00
|
|
|
REPLACE_PYTHON= po-checktrans.py
|
|
|
|
REPLACE_PYTHON+= plug-ins/python/gtkcons.py
|
|
|
|
REPLACE_PYTHON+= sheets/checktrans.py
|
2019-09-02 15:19:35 +02:00
|
|
|
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"
|