diff options
Diffstat (limited to 'biology/seqan3/Makefile')
-rw-r--r-- | biology/seqan3/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/biology/seqan3/Makefile b/biology/seqan3/Makefile index 9c8fc69ba93e..c1675008fd19 100644 --- a/biology/seqan3/Makefile +++ b/biology/seqan3/Makefile @@ -1,10 +1,16 @@ PORTNAME= seqan3 -DISTVERSION= 3.3.0 +DISTVERSION= 3.4.0 CATEGORIES= biology devel math +MASTER_SITES= https://github.com/cpm-cmake/CPM.cmake/releases/download/v0.42.0/:cpm +DISTFILES= CPM.cmake:cpm +DIST_SUBDIR= ${PORTNAME}-${DISTVERSION} +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} \ + xxsds-sdsl-lite-d54d389_GH0${EXTRACT_SUFX} MAINTAINER= yuri@FreeBSD.org COMMENT= C++ header-only library for biological sequence analysis -WWW= https://github.com/seqan/seqan3 +WWW= https://www.seqan.de/ \ + https://github.com/seqan/seqan3 LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md @@ -15,14 +21,13 @@ BUILD_DEPENDS= ${HPP_DEPENDS} RUN_DEPENDS= ${HPP_DEPENDS} \ coin-or-lemon>0:math/lemon -USES= cmake localbase +USES= cmake compiler:c++23-lang localbase USE_GITHUB= yes GH_ACCOUNT= seqan GH_TUPLE= xxsds:sdsl-lite:d54d389:sdsl_lite/submodules/sdsl-lite -USE_GCC= yes # tests only pass with gcc, see https://github.com/seqan/seqan3/issues/2643, otherwise gcc isn't needed because this is a header-only library -# tests fail to compile, see https://github.com/seqan/seqan3/issues/3191 +CMAKE_ARGS= -DCPM_LOCATION=${DISTDIR}/${DIST_SUBDIR} TEST_WRKSRC= ${WRKSRC}/.test @@ -33,7 +38,7 @@ post-install: do-test: @${MKDIR} ${TEST_WRKSRC} && cd ${TEST_WRKSRC} && \ - ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} ${WRKSRC}/test/unit && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DFETCHCONTENT_FULLY_DISCONNECTED=OFF ${WRKSRC}/test/unit && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ctest |