# -*- 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 mlampros elmNNRcpp 1.0.4
revision            1
categories-append   math
maintainers         nomaintainer
license             {GPL-2 GPL-3}
description         Extreme learning machine algorithm
long_description    {*}${description}
homepage            https://mlampros.github.io/elmNNRcpp
checksums           rmd160  be771dce01205f99eee3199010427c3df0846157 \
                    sha256  f28f114beb8c3cc0e6d64612d5dcc5ac7905caa0137aed885ea74d728f61c3ee \
                    size    414622

# 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-KernelKnn \
                    port:R-Rcpp \
                    port:R-RcppArmadillo

compilers.setup     require_fortran

depends_test-append port:R-covr \
                    port:R-knitr \
                    port:R-rmarkdown \
                    port:R-testthat

test.run            yes
