aboutsummaryrefslogtreecommitdiff
path: root/textproc/libtre
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-06 15:06:58 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-06 15:06:58 +0000
commitbc37d148a15d4acd1003f504cdf52cc767e92a2b (patch)
tree190adb6a2bfb494d418768c37e845ffb8f7d6136 /textproc/libtre
parent0a105e1045db7a1091890a107c984d65766cc4f9 (diff)
downloadports-bc37d148a15d4acd1003f504cdf52cc767e92a2b.tar.gz
ports-bc37d148a15d4acd1003f504cdf52cc767e92a2b.zip
- Stage support
Notes
Notes: svn path=/head/; revision=343105
Diffstat (limited to 'textproc/libtre')
-rw-r--r--textproc/libtre/Makefile9
-rw-r--r--textproc/libtre/pkg-plist1
2 files changed, 3 insertions, 7 deletions
diff --git a/textproc/libtre/Makefile b/textproc/libtre/Makefile
index 1455fa6845c7..8589293d73c0 100644
--- a/textproc/libtre/Makefile
+++ b/textproc/libtre/Makefile
@@ -26,9 +26,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= NLS OPTIMIZED_CFLAGS PGO DOCS
-MAN1= tre_agrep.1
-
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
@@ -66,12 +63,10 @@ pre-build: pgo
.endif
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in tre-api.html tre-syntax.html
- ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
regression-test: build
@(cd ${BUILD_WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE} check )
diff --git a/textproc/libtre/pkg-plist b/textproc/libtre/pkg-plist
index 80cfdd8699fb..82d8e981b169 100644
--- a/textproc/libtre/pkg-plist
+++ b/textproc/libtre/pkg-plist
@@ -7,6 +7,7 @@ lib/libtre.la
lib/libtre.so
lib/libtre.so.5
libdata/pkgconfig/tre.pc
+man/man1/tre_agrep.1.gz
%%NLS%%share/locale/fi/LC_MESSAGES/tre.mo
%%NLS%%share/locale/sv/LC_MESSAGES/tre.mo
%%PORTDOCS%%%%DOCSDIR%%/tre-api.html