ports/devel/boxed-cpp/Makefile
Hiroki Tagato 7f7deb8d9f 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)
2025-06-06 14:09:21 +09:00

31 lines
625 B
Makefile

PORTNAME= boxed-cpp
DISTVERSIONPREFIX= v
DISTVERSION= 1.4.3
CATEGORIES= devel
MAINTAINER= tagattie@FreeBSD.org
COMMENT= Boxing primitive types in C++
WWW= https://github.com/contour-terminal/boxed-cpp
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
TEST_DEPENDS= ${LOCALBASE}/lib/cmake/Catch2/Catch2Config.cmake:devel/catch2
USES= cmake:testing
USE_GITHUB= yes
GH_ACCOUNT= contour-terminal
CMAKE_TESTING_ON= BOXED_TESTING
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>