mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
Install additional documentation.
Requested by: Nicolas Rachinsky <nicolas@rachinsky.de>
This commit is contained in:
parent
a2fd355dff
commit
0f46385394
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114476
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= libtre
|
||||
PORTVERSION= 0.6.8
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= http://laurikari.net/tre/
|
||||
DISTNAME= tre-${PORTVERSION}
|
||||
@ -49,4 +50,12 @@ pre-everything::
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for i in tre-api.html tre-syntax.html
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -7,4 +7,7 @@ lib/libtre.so
|
||||
lib/libtre.so.5
|
||||
libdata/pkgconfig/tre.pc
|
||||
%%NLS%%share/locale/fi/LC_MESSAGES/tre.mo
|
||||
%%PORTDOCS%%%%DOCSDIR%%/tre-api.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/tre-syntax.html
|
||||
@dirrm include/tre
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user