diff options
-rw-r--r-- | devel/sdl2pp/Makefile | 11 |
1 files 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> |