aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/kgraphviewer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/kgraphviewer/Makefile')
-rw-r--r--graphics/kgraphviewer/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/kgraphviewer/Makefile b/graphics/kgraphviewer/Makefile
index a82022f0f54..b567c2b4c05 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>