1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/devel/catch2/Makefile
Yuri Victorovich 930e1fa1a0 devel/catch2: Update 3.3.2 → 3.4.0
Reported by:	portscout
2023-07-14 01:51:40 -07:00

30 lines
763 B
Makefile

PORTNAME= catch2 # 2.x series is under devel/catch, the project is called catch2
DISTVERSIONPREFIX= v
DISTVERSION= 3.4.0
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 pathfix 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_TESTING_ON= CATCH_DEVELOPMENT_BUILD BUILD_TESTING CATCH_BUILD_TESTING # 1 test fails, see https://github.com/catchorg/Catch2/issues/2606
PORTDOCS= *
OPTIONS_DEFINE= DOCS
CONFLICTS= catch
.include <bsd.port.mk>