Files
ports/devel/catch2/Makefile
T
2026-07-07 16:58:34 -07:00

33 lines
821 B
Makefile

PORTNAME= catch2 # 2.x series is under devel/catch, the project is called catch2
DISTVERSIONPREFIX= v
DISTVERSION= 3.15.2
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= Test framework for C++ (3.x series)
WWW= https://github.com/catchorg/Catch2
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= cmake:testing compiler:c++14-lang python:build,test
USE_GITHUB= yes
GH_ACCOUNT= catchorg
GH_PROJECT= Catch2
CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR=${DOCSDIR} \
-DPython3_EXECUTABLE=${PYTHON_CMD}
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_OFF= CATCH_ENABLE_WERROR # otherwise tests fail to compile
CMAKE_TESTING_ON= CATCH_DEVELOPMENT_BUILD BUILD_TESTING CATCH_BUILD_TESTING
PORTDOCS= *
OPTIONS_DEFINE= DOCS
CONFLICTS= catch
# tests as of 3.15.2: 100% tests passed, 0 tests failed out of 74
.include <bsd.port.mk>