summaryrefslogtreecommitdiff
path: root/editors/kdissert/Makefile
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2009-02-27 19:51:13 +0000
committerdrochner <drochner@pkgsrc.org>2009-02-27 19:51:13 +0000
commit845340dd6a1394bc45a8b5fdb8470560b4766d44 (patch)
treeb5131e59f86d6f0bc06c462e693ec2b3b91ca433 /editors/kdissert/Makefile
parent6f2f363be942b644bc2d61e6cdaf9d43272e0444 (diff)
downloadpkgsrc-845340dd6a1394bc45a8b5fdb8470560b4766d44.tar.gz
This pkg didn't build anymore due to incompatible changes
in the "scons" build system, so update to 1.0.7 Didn't find a changelog, but an obvious one is that it uses "waf" to build now.
Diffstat (limited to 'editors/kdissert/Makefile')
-rw-r--r--editors/kdissert/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/editors/kdissert/Makefile b/editors/kdissert/Makefile
index a30ff5d06df..502a7c5d481 100644
--- a/editors/kdissert/Makefile
+++ b/editors/kdissert/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2008/01/18 05:06:32 tnn Exp $
+# $NetBSD: Makefile,v 1.16 2009/02/27 19:51:13 drochner Exp $
#
-DISTNAME= kdissert-1.0.5
-PKGREVISION= 8
+DISTNAME= kdissert-1.0.7
CATEGORIES= editors
MASTER_SITES= http://freehackers.org/~tnagy/kdissert/
EXTRACT_SUFX= .tar.bz2
@@ -14,18 +13,23 @@ COMMENT= Mindmapping-like tool to generate text templates
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++
USE_TOOLS+= msgfmt
-NO_CONFIGURE= yes
+PYTHON_FOR_BUILD_ONLY= yes
-BUILD_DEPENDS+= scons>=0.96.1nb1:../../devel/scons
+do-configure:
+ ${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} \
+ cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
+ ${PYTHONBIN} waf configure --prefix=${PTEFIX}
do-build:
${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} \
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} waf
do-install:
${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} \
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons install
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+ ${PYTHONBIN} waf install
+.include "../../lang/python/application.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../x11/kdelibs3/buildlink3.mk"
.include "../../x11/qt3-tools/buildlink3.mk"