# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           cmake 1.1
PortGroup           github 1.0

github.setup        lisitsyn tapkee 04b33b582c1875528b4089eacd5d7b8321075967
version             2024.07.17
revision            0
categories          math science
license             {BSD LGPL-3}
platforms           any
supported_archs     noarch
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
description         Flexible and efficient С++ template library for dimension reduction
long_description    {*}${description}
homepage            https://tapkee.lisitsyn.me
checksums           rmd160  854b46f0cd1ee5f9978d40bc781a5e07c5979f5e \
                    sha256  2107106a5b30260554a445de02757d8655d9755687187f37b81967a4ac63f657 \
                    size    134442
github.tarball_from archive

set fmt_v           11

cmake.module_path-append \
                    ${prefix}/lib/libfmt${fmt_v}/cmake
depends_lib-append  path:share/pkgconfig/eigen3.pc:eigen3 \
                    port:arpack \
                    port:cxxopts \
                    port:libfmt${fmt_v}
depends_build-append \
                    port:gtest

compiler.cxx_standard 2020
compiler.openmp_version 4.0
                    
configure.args-append \
                    -DBUILD_EXAMPLES=OFF \
                    -DBUILD_TESTS=ON

test.run            yes
