- Remove CMAKE_INSTALL_MANDIR, no more needed with latest cmake
- Switch to new test framework
This commit is contained in:
parent
e1e56f5e2f
commit
416ee499ab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=429414
@ -13,16 +13,13 @@ LICENSE= LGPL3
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
|
||||
|
||||
USES= compiler:c++11-lib cmake:outsource pathfix pkgconfig
|
||||
CMAKE_ARGS+= -DBUILD_TESTING:BOOL=ON \
|
||||
-DCMAKE_INSTALL_BINDIR:STRING=bin/${PORTNAME} \
|
||||
-DCMAKE_INSTALL_MANDIR:STRING=man
|
||||
CMAKE_ARGS= -DBUILD_TESTING:BOOL=ON \
|
||||
-DCMAKE_INSTALL_BINDIR:STRING=bin/${PORTNAME}
|
||||
USE_LDCONFIG= yes
|
||||
USE_OPENSSL= yes
|
||||
TEST_TARGET= test
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${BUILD_WRKSRC}/ucommon-config.h ${STAGEDIR}${PREFIX}/include/ucommon
|
||||
|
||||
regression-test: build
|
||||
cd ${BUILD_WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} test
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user