devel/boxed-cpp: use CMAKE_TESTING_ON to build unit tests instead of CMAKE_ON

Don't force everyone to build unit tests. Move devel/catch2 to test
dependency as it is only needed for testing only not build.

Reported by:	diizzy (via ports-committers)
This commit is contained in:
Hiroki Tagato 2025-06-06 13:54:38 +09:00
parent 6feed926bd
commit 7f7deb8d9f

View File

@ -10,14 +10,14 @@ WWW= https://github.com/contour-terminal/boxed-cpp
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${LOCALBASE}/lib/cmake/Catch2/Catch2Config.cmake:devel/catch2
TEST_DEPENDS= ${LOCALBASE}/lib/cmake/Catch2/Catch2Config.cmake:devel/catch2
USES= cmake:testing
USE_GITHUB= yes
GH_ACCOUNT= contour-terminal
CMAKE_ON= BOXED_TESTING
CMAKE_TESTING_ON= BOXED_TESTING
PORTDOCS= README.md