aboutsummaryrefslogtreecommitdiff
path: root/devel/kdesvn-kde4
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-08-24 15:43:21 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-08-24 15:43:21 +0000
commit4444dbee71850211af9b502351b381206339ec61 (patch)
tree145eb82f66fa8d6028bbd5782c5c6cff58f40804 /devel/kdesvn-kde4
parent482cbac6d7fd4820ba2253ae4cfaedf9a772d9b0 (diff)
downloadports-4444dbee71850211af9b502351b381206339ec61.tar.gz
ports-4444dbee71850211af9b502351b381206339ec61.zip
Notes
Diffstat (limited to 'devel/kdesvn-kde4')
-rw-r--r--devel/kdesvn-kde4/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/devel/kdesvn-kde4/Makefile b/devel/kdesvn-kde4/Makefile
index 73e1744612ac..9d24c19e4cfd 100644
--- a/devel/kdesvn-kde4/Makefile
+++ b/devel/kdesvn-kde4/Makefile
@@ -32,10 +32,18 @@ MAKE_JOBS_SAFE= yes
MAN1= kdesvn.1 kdesvnaskpass.1
+.if !defined(NOPORTDOCS)
+BUILD_DEPENDS+= ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
+.endif
+
post-patch:
${RM} ${WRKSRC}/src/kiosvn/svn*.protocol
.if defined(NOPORTDOCS)
${ECHO} "ADD_SUBDIRECTORY(man)" > ${WRKSRC}/doc/CMakeLists.txt
+.else
+#Fix build with kdelibs>=4.5.0
+ ${REINPLACE_CMD} -e 's,V4.1.2-Based,V4.2-Based,g' \
+ ${WRKSRC}/doc/nl/index.docbook
.endif
post-install: