# -*- 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        dpiparo vdt 0.4.6 v
github.tarball_from archive
#github.setup        cjones051073 vdt b376d0f9e8cc97689d89f7f8c40c3a4644f48679
#version             0.4.1
revision            0

# turn off livecheck for git commits
#livecheck.type      none

checksums           rmd160  6c9d0463f5ea7c23a6f9d7caece23ebe97e8d172 \
                    sha256  1820feae446780763ec8bbb60a0dbcf3ae1ee548bdd01415b1fb905fd4f90c54 \
                    size    60081

categories          math
maintainers         {jonesc @cjones051073} openmaintainer
license             LGPL-3+

description         A collection of fast and inline implementations of mathematical functions.
long_description    ${name} provides {*}${description}.

compiler.cxx_standard 2011
# error: no member named 'copysign' in namespace
# 'std'; did you mean simply 'copysign'?
# Xcode Clang on macOS <10.9 does not support std::copysign
compiler.blacklist-append \
                    {clang < 600}

# Disable extensions on Apple silicon for now
if { ${configure.build_arch} in [list arm64 ppc ppc64] } {
    configure.args-append   -DSSE=OFF -DNEON=OFF
}
