# -*- 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 nimble-dev nimble 1.2.1
revision            0
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             BSD
description         The base NIMBLE package for R
long_description    {*}${description}
homepage            https://R-nimble.org
checksums           rmd160  44d4d76f14d8760129537da86a9729cb0626a506 \
                    sha256  2e8571e73e5b7553ee84db376444c18e211d4ba542ed415004c5128cb6802587 \
                    size    3392131

# Until Eigen headers are updated or until a build
# against external Eigen actually works. See:
# https://github.com/nimble-dev/nimble/issues/1411
patchfiles-append   patch-disable-broken-altivec.diff

depends_lib-append  port:R-coda \
                    port:R-igraph \
                    port:R-numDeriv \
                    port:R-pracma \
                    port:R-R6

compilers.setup     require_fortran

depends_test-append port:R-mcmcse \
                    port:R-testthat

test.run            yes
