2021-05-12 03:20:55 +02:00
PORTNAME = seqan3
2022-06-24 07:17:31 +02:00
DISTVERSION = 3.2.0
2021-05-12 03:20:55 +02:00
CATEGORIES = biology devel math
MAINTAINER = yuri@FreeBSD.org
COMMENT = C++ header-only library for biological sequence analysis
LICENSE = BSD3CLAUSE
LICENSE_FILE = ${ WRKSRC } /LICENSE.md
HPP_DEPENDS = cereal>0:devel/cereal \
range-v3>0:devel/range-v3
BUILD_DEPENDS = ${ HPP_DEPENDS }
2021-05-12 07:45:39 +02:00
RUN_DEPENDS = ${ HPP_DEPENDS } \
coin-or-lemon>0:math/lemon
2021-05-12 03:20:55 +02:00
USES = cmake localbase
USE_GITHUB = yes
GH_ACCOUNT = seqan
2021-11-15 06:13:10 +01:00
GH_TUPLE = xxsds:sdsl-lite:cf9ff4a: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
2021-05-12 03:20:55 +02:00
2021-08-13 19:07:49 +02:00
TEST_WRKSRC = ${ WRKSRC } /.test
2021-05-12 03:20:55 +02:00
NO_ARCH = yes
post-install :
@${ RM } -r ${ STAGEDIR } ${ DOCSDIR }
2021-11-15 06:13:10 +01:00
do-test :
2021-08-13 19:07:49 +02:00
@${ MKDIR } ${ TEST_WRKSRC } && cd ${ TEST_WRKSRC } && \
${ SETENV } ${ CONFIGURE_ENV } ${ CMAKE_BIN } ${ CMAKE_ARGS } ${ WRKSRC } /test/unit && \
${ SETENV } ${ MAKE_ENV } ${ MAKE_CMD } ${ MAKE_ARGS } ${ ALL_TARGET } && \
ctest
2021-05-12 03:20:55 +02:00
. i n c l u d e < b s d . p o r t . m k >