- Remove CMAKE_INSTALL_MANDIR, no more needed with latest cmake

- Switch to new test framework
This commit is contained in:
Dmitry Marakasov 2016-12-25 13:00:05 +00:00
parent e1e56f5e2f
commit 416ee499ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=429414

View File

@ -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>