# -*- 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 joeguinness GpGp 0.5.0
revision            1
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             MIT
description         Fast Gaussian process computation using Vecchiaʼs approximation
long_description    {*}${description}
checksums           rmd160  059411e80df66d7a292e668d936db43e66e84e58 \
                    sha256  a3c0bf3df5fb7d766906e7f29c09aa50f77a75e5ffe9abf0e44287909816a267 \
                    size    1378259

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

compilers.setup     require_fortran

depends_test-append port:R-fields \
                    port:R-knitr \
                    port:R-maps \
                    port:R-maptools \
                    port:R-rmarkdown \
                    port:R-testthat

test.run            yes
