Install documentation, unless NOPORTDOCS is defined.
This commit is contained in:
parent
19453f9038
commit
7e03774858
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136380
2 changed files with 45 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -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%%
|
||||
|
|
Loading…
Reference in a new issue