aboutsummaryrefslogtreecommitdiff
path: root/textproc/libparsifal/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/libparsifal/Makefile')
-rw-r--r--textproc/libparsifal/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/textproc/libparsifal/Makefile b/textproc/libparsifal/Makefile
index f3e2b96634a0..00770fe33feb 100644
--- a/textproc/libparsifal/Makefile
+++ b/textproc/libparsifal/Makefile
@@ -8,6 +8,7 @@
PORTNAME= libparsifal
PORTVERSION= 0.9.2
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.saunalahti.fi/~samiuus/toni/xmlproc/
@@ -30,4 +31,13 @@ BROKEN= "Does not compile on !i386 and !sparc64"
post-patch:
@${REINPLACE_CMD} -e 's| -O3||g' ${WRKSRC}/src/Makefile.in
+post-install:
+.ifndef(NOPORTDOCS)
+ @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
+.for D in "" csrchtml pics
+ @${MKDIR} ${DOCSDIR}/${D}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${D}/*.* ${DOCSDIR}/${D}
+.endfor
+.endif
+
.include <bsd.port.post.mk>