mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
- Strip binary executable and shared library in post-install: phase
- Add regression-test:
This commit is contained in:
parent
1dde51176b
commit
70a73aa61d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348574
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user