diff options
author | krion <krion@FreeBSD.org> | 2004-07-23 15:58:58 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-07-23 15:58:58 +0800 |
commit | 2ba5f7b3e44b25f4515c6286842d3e843b8d9ba5 (patch) | |
tree | 674609c1a38b5d552ee5c7bb926a53181a8ca3cb /textproc/libtre | |
parent | b828b5c470cd1fcb73baf3bfd1e76f28088b9657 (diff) | |
download | freebsd-ports-gnome-2ba5f7b3e44b25f4515c6286842d3e843b8d9ba5.tar.gz freebsd-ports-gnome-2ba5f7b3e44b25f4515c6286842d3e843b8d9ba5.tar.zst freebsd-ports-gnome-2ba5f7b3e44b25f4515c6286842d3e843b8d9ba5.zip |
Install additional documentation.
Requested by: Nicolas Rachinsky <nicolas@rachinsky.de>
Diffstat (limited to 'textproc/libtre')
-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%% |