forked from Lainports/freebsd-ports
33 lines
847 B
Makefile
33 lines
847 B
Makefile
PORTNAME= ut
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.1.1
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= C++20 micro/Unit Testing Framework
|
|
WWW= https://boost-ext.github.io/ut/ \
|
|
https://github.com/boost-ext/ut
|
|
|
|
LICENSE= BSL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
USES= cmake:testing
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= boost-ext
|
|
|
|
CMAKE_OFF= BOOST_UT_ALLOW_CPM_USE \
|
|
BOOST_UT_BUILD_TESTS \
|
|
BOOST_UT_BUILD_EXAMPLES
|
|
CMAKE_ARGS= -DFREEBSD_WRKSRC_cpm=${WRKSRC_cpm} \
|
|
-DCURRENT_CPM_VERSION=0.38.7
|
|
CMAKE_TESTING_ON= BOOST_UT_BUILD_TESTS # 7 tests fail, see https://github.com/boost-ext/ut/issues/600
|
|
|
|
PLIST_FILES= include/ut-${DISTVERSION}/include/boost/ut.hpp \
|
|
lib/cmake/ut-${DISTVERSION}/utConfig.cmake \
|
|
lib/cmake/ut-${DISTVERSION}/utConfigVersion.cmake \
|
|
lib/cmake/ut-${DISTVERSION}/utTargets.cmake
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|