aboutsummaryrefslogtreecommitdiff
path: root/graphics/kgraphviewer
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-08-21 13:08:59 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-08-21 13:08:59 +0000
commit06a72f26ea4a372030fdef054ac25b0ee6b8b45a (patch)
tree4ad67aa8ce9cb28e0d0124c36a915fc0937af878 /graphics/kgraphviewer
parentc0a7938c19f5607c078a43741c914d6621f9e1d7 (diff)
downloadports-06a72f26ea4a372030fdef054ac25b0ee6b8b45a.tar.gz
ports-06a72f26ea4a372030fdef054ac25b0ee6b8b45a.zip
Notes
Diffstat (limited to 'graphics/kgraphviewer')
-rw-r--r--graphics/kgraphviewer/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/kgraphviewer/Makefile b/graphics/kgraphviewer/Makefile
index a82022f0f54b..b567c2b4c057 100644
--- a/graphics/kgraphviewer/Makefile
+++ b/graphics/kgraphviewer/Makefile
@@ -16,6 +16,7 @@ DIST_SUBDIR= KDE/extragear
MAINTAINER= kde@FreeBSD.org
COMMENT= GraphViz dot graph viewer for KDE
+BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
LIB_DEPENDS= gvc.5:${PORTSDIR}/graphics/graphviz
USE_BZIP2= yes
@@ -28,4 +29,10 @@ MAKE_JOBS_SAFE= yes
APP_VER= 2.0.2
EXTRA_VER= 4.4.0
+post-patch:
+#Fix build with kdelibs>=4.5.0
+ ${REINPLACE_CMD} -e 's,V4.1.2-Based,V4.2-Based,g' \
+ ${WRKSRC}/doc-translations/*_kgraphviewer/kgraphviewer/index.docbook \
+ ${WRKSRC}/doc/index.docbook
+
.include <bsd.port.mk>