# -*- 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           muniversal 1.1

name                cln
conflicts           puppet
version             1.3.7
revision            0
categories          math
maintainers         {mps @Schamschula} openmaintainer
license             GPL-2+
description         Class Library for Numbers
long_description    CLN is a C++ library providing a rich library of \
                    numeric functions.

use_bzip2           yes

homepage            http://www.ginac.de/CLN/
master_sites        ${homepage}

checksums           rmd160  e3977b1fb9f6cdc870d715ae603d8cee683330c7 \
                    sha256  7c7ed8474958337e4df5bb57ea5176ad0365004cbb98b621765bc4606a10d86b \
                    size    1337235

depends_lib         port:gmp

compiler.cxx_standard 2011

configure.cppflags.arm64-append -DNO_ASM

test.run            yes
test.target         check

livecheck.type      regex
livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
