diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-23 07:58:58 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-23 07:58:58 +0000 |
commit | 0f46385394b850aaa63592e0884cf3555f05ad4a (patch) | |
tree | aa89a8a6b947b2d307a50961b9184a911e728a92 /textproc | |
parent | a2fd355dff37675acfdf5447386ac6e54bbc6041 (diff) | |
download | freebsd-ports-0f46385394b850aaa63592e0884cf3555f05ad4a.zip |
Install additional documentation.
Requested by: Nicolas Rachinsky <nicolas@rachinsky.de>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/libtre/Makefile | 9 | ||||
-rw-r--r-- | textproc/libtre/pkg-plist | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/textproc/libtre/Makefile b/textproc/libtre/Makefile index 713becb9d6f0..1816d9af44d6 100644 --- a/textproc/libtre/Makefile +++ b/textproc/libtre/Makefile @@ -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> diff --git a/textproc/libtre/pkg-plist b/textproc/libtre/pkg-plist index 5beac9323ce2..c88d9c407a45 100644 --- a/textproc/libtre/pkg-plist +++ b/textproc/libtre/pkg-plist @@ -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%% |