summaryrefslogtreecommitdiff
path: root/textproc/libparsifal/Makefile
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2005-05-29 14:25:51 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2005-05-29 14:25:51 +0000
commit7e03774858f881371ecaedd86c65efa2123b11b5 (patch)
tree81da3b9764262d602c84cdfd197c5b5fcfec7819 /textproc/libparsifal/Makefile
parentAdd ncnf 3.0.1, generic configuration management library. (diff)
Install documentation, unless NOPORTDOCS is defined.
Diffstat (limited to '')
-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>