# -*- 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           R 1.0

R.setup             cran RfastOfficial Rfast2 0.1.5.2
revision            2
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-2+
description         Collection of efficient and extremely fast R functions – II
long_description    {*}${description}
checksums           rmd160  11cdc13e2587f14f2df1e536c243189f7d3297d2 \
                    sha256  e1bae78e45409a590771e3a589978f48dba56a331d60cfaee42216402636b288 \
                    size    177103

# Remove this with the next update. It is a one-time fix.
if {${os.platform} eq "darwin" && ${configure.cxx_stdlib} eq "libc++"} {
    incr revision
}

depends_lib-append  port:R-Rcpp \
                    port:R-RcppArmadillo \
                    port:R-RcppParallel \
                    port:R-Rfast \
                    port:R-Rnanoflann

compilers.setup     require_fortran
compiler.cxx_standard 2017

test.run            yes
