aboutsummaryrefslogtreecommitdiff
path: root/graphics/kpovmodeler/Makefile
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/kpovmodeler/Makefile
parentc0a7938c19f5607c078a43741c914d6621f9e1d7 (diff)
downloadports-06a72f26ea4a372030fdef054ac25b0ee6b8b45a.tar.gz
ports-06a72f26ea4a372030fdef054ac25b0ee6b8b45a.zip
Fix build with upcoming KDE 4.5
Don't bump PORTREVISION: packages built vs KDE 4.4 work fine with 4.5
Notes
Notes: svn path=/head/; revision=259677
Diffstat (limited to 'graphics/kpovmodeler/Makefile')
-rw-r--r--graphics/kpovmodeler/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/kpovmodeler/Makefile b/graphics/kpovmodeler/Makefile
index 4f652375aa97..a347956c9879 100644
--- a/graphics/kpovmodeler/Makefile
+++ b/graphics/kpovmodeler/Makefile
@@ -17,6 +17,8 @@ DIST_SUBDIR= KDE/extragear
MAINTAINER= kde@FreeBSD.org
COMMENT= A KDE editor/frontend for Povray
+BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
+
USE_BZIP2= yes
USE_KDE4= kdelibs kdeprefix kdehier automoc4
USE_QT_VER= 4
@@ -28,4 +30,9 @@ MAKE_JOBS_SAFE= yes
APP_VER= 1.1.3
EXTRA_VER= 4.3.1
+post-patch:
+#Fix build with kdelibs>=4.5.0
+ ${REINPLACE_CMD} -e 's,V4.1.2-Based,V4.2-Based,g' \
+ ${WRKSRC}/doc-translations/hu_kpovmodeler/kpovmodeler/index.docbook
+
.include <bsd.port.mk>