svn commit: r348574 - head/databases/kyotocabinet
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Mar 18 16:13:59 UTC 2014
Author: sunpoet
Date: Tue Mar 18 16:13:58 2014
New Revision: 348574
URL: http://svnweb.freebsd.org/changeset/ports/348574
QAT: https://qat.redports.org/buildarchive/r348574/
Log:
- Strip binary executable and shared library in post-install: phase
- Add regression-test:
Modified:
head/databases/kyotocabinet/Makefile
Modified: head/databases/kyotocabinet/Makefile
==============================================================================
--- head/databases/kyotocabinet/Makefile Tue Mar 18 15:10:46 2014 (r348573)
+++ head/databases/kyotocabinet/Makefile Tue Mar 18 16:13:58 2014 (r348574)
@@ -28,15 +28,12 @@ NOT_FOR_ARCHS_REASON= does not link
post-patch:
@${REINPLACE_CMD} -e 's|-lstdc++ ||g' ${WRKSRC}/configure ${WRKSRC}/doc/spex.html ${WRKSRC}/example/Makefile ${WRKSRC}/lab/kcdict/Makefile
-post-build:
- @cd ${WRKSRC}/ && ${STRIP_CMD} libkyotocabinet.so.16.13.0 kccachetest \
- kcdirmgr kcdirtest kcforestmgr kcforesttest kcgrasstest \
- kchashmgr kchashtest kclangctest kcpolymgr kcpolytest \
- kcprototest kcstashtest kctreemgr kctreetest kcutilmgr \
- kcutiltest
-
post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/lib/libkyotocabinet.so.16.13.0
${FIND} ${STAGEDIR}${DOCSDIR}/ -type d -exec ${CHMOD} ${BINMODE} '{}' \;
${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} ${DOCMODE} '{}' \;
+regression-test test: build
+ cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check
+
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list