diff options
author | skv <skv@FreeBSD.org> | 2005-05-29 22:25:51 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2005-05-29 22:25:51 +0800 |
commit | a44b9d08f9fa1bc2f4afbeab4c71af059c6ee87a (patch) | |
tree | d0ef02210e666225976db65c73bb29d3fc1bd5aa | |
parent | bb6e92466a475f987da3244bb027759cb9a57a2c (diff) | |
download | freebsd-ports-gnome-a44b9d08f9fa1bc2f4afbeab4c71af059c6ee87a.tar.gz freebsd-ports-gnome-a44b9d08f9fa1bc2f4afbeab4c71af059c6ee87a.tar.zst freebsd-ports-gnome-a44b9d08f9fa1bc2f4afbeab4c71af059c6ee87a.zip |
Install documentation, unless NOPORTDOCS is defined.
-rw-r--r-- | textproc/libparsifal/Makefile | 10 | ||||
-rw-r--r-- | textproc/libparsifal/pkg-plist | 35 |
2 files changed, 45 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> diff --git a/textproc/libparsifal/pkg-plist b/textproc/libparsifal/pkg-plist index 638bd3683202..31f14d006c2f 100644 --- a/textproc/libparsifal/pkg-plist +++ b/textproc/libparsifal/pkg-plist @@ -12,3 +12,38 @@ lib/libparsifal-%%VERSION%%.so lib/libparsifal.a lib/libparsifal.so @dirrm include/libparsifal +%%PORTDOCS%%%%DOCSDIR%%/conformance.html +%%PORTDOCS%%%%DOCSDIR%%/cvs.html +%%PORTDOCS%%%%DOCSDIR%%/download.html +%%PORTDOCS%%%%DOCSDIR%%/elsewhere.html +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/links.html +%%PORTDOCS%%%%DOCSDIR%%/manual.html +%%PORTDOCS%%%%DOCSDIR%%/news.html +%%PORTDOCS%%%%DOCSDIR%%/overview.html +%%PORTDOCS%%%%DOCSDIR%%/parsifal_results.html +%%PORTDOCS%%%%DOCSDIR%%/parsifal_results_valid.html +%%PORTDOCS%%%%DOCSDIR%%/style.css +%%PORTDOCS%%%%DOCSDIR%%/toc.html +%%PORTDOCS%%%%DOCSDIR%%/xmlconf_results.html +%%PORTDOCS%%%%DOCSDIR%%/xmlconf_results_valid.html +%%PORTDOCS%%%%DOCSDIR%%/csrchtml/canonxml_c.html +%%PORTDOCS%%%%DOCSDIR%%/csrchtml/datatype_c.html +%%PORTDOCS%%%%DOCSDIR%%/csrchtml/dtddecl_c.html +%%PORTDOCS%%%%DOCSDIR%%/csrchtml/elements_c.html +%%PORTDOCS%%%%DOCSDIR%%/csrchtml/highlight.css +%%PORTDOCS%%%%DOCSDIR%%/csrchtml/nsvalid_c.html +%%PORTDOCS%%%%DOCSDIR%%/csrchtml/parsifal_h.html +%%PORTDOCS%%%%DOCSDIR%%/csrchtml/test_iconv_c.html +%%PORTDOCS%%%%DOCSDIR%%/csrchtml/test_pool_c.html +%%PORTDOCS%%%%DOCSDIR%%/csrchtml/winurl_c.html +%%PORTDOCS%%%%DOCSDIR%%/csrchtml/xmltest_c.html +%%PORTDOCS%%%%DOCSDIR%%/csrchtml/zenstory_c.html +%%PORTDOCS%%%%DOCSDIR%%/csrchtml/zenstory_h.html +%%PORTDOCS%%%%DOCSDIR%%/csrchtml/zenvalid_c.html +%%PORTDOCS%%%%DOCSDIR%%/pics/backg.gif +%%PORTDOCS%%%%DOCSDIR%%/pics/semail.gif +%%PORTDOCS%%%%DOCSDIR%%/pics/testsuite.gif +%%PORTDOCS%%@dirrm %%DOCSDIR%%/pics +%%PORTDOCS%%@dirrm %%DOCSDIR%%/csrchtml +%%PORTDOCS%%@dirrm %%DOCSDIR%% |