git: af92aaf9e124 - main - devel/sdl2pp: switch to cmake:testing
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Apr 2024 18:20:34 UTC
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=af92aaf9e1242411a08183762bcb03e572b6fe88 commit af92aaf9e1242411a08183762bcb03e572b6fe88 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2024-04-22 17:03:48 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2024-04-22 18:20:02 +0000 devel/sdl2pp: switch to cmake:testing PR: 278499 Submitted by: diizzy --- devel/sdl2pp/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/devel/sdl2pp/Makefile b/devel/sdl2pp/Makefile index f4217281e5a7..7ccd16faac8f 100644 --- a/devel/sdl2pp/Makefile +++ b/devel/sdl2pp/Makefile @@ -14,13 +14,15 @@ USE_GITHUB= yes GH_ACCOUNT= libSDL2pp GH_PROJECT= libSDL2pp -USES= cmake compiler:c++17-lang sdl -CMAKE_ARGS= -DSDL2PP_ENABLE_LIVE_TESTS=OFF +USES= cmake:testing compiler:c++17-lang sdl USE_SDL= sdl2 image2 mixer2 ttf2 +CMAKE_TESTING_ON=SDL2PP_WITH_TESTS +CMAKE_OFF= SDL2PP_ENABLE_LIVE_TESTS \ + SDL2PP_WITH_TESTS PORTDOCS= * -OPTIONS_DEFINE= DOCS DOXYGEN +OPTIONS_DEFINE= DOCS DOXYGEN DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_ALL_TARGET= all doxygen DOXYGEN_IMPLIES= DOCS @@ -32,7 +34,4 @@ post-install-DOCS-on: post-install-DOXYGEN-on: @cd ${CONFIGURE_WRKSRC} && ${COPYTREE_SHARE} doxygen ${STAGEDIR}${DOCSDIR}/ -do-test: - @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${LOCALBASE}/bin/ctest -V - .include <bsd.port.mk>