# -*- 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.5
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  4b36064f0201423cfb88bcdf0af8d43df24e0db8 \
                    sha256  02cabc43e31016361951a7fae459bcd9887ab4aec968230699226013b6175e61 \
                    size    416140

# 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
