# -*- 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.3.0
revision            2
categories-append   math
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             BSD
description         The base NIMBLE package for R
long_description    {*}${description}
homepage            https://R-nimble.org
checksums           rmd160  26cd26f6ac623f0d038c44542e1d7173fa3aba0c \
                    sha256  3429491236dae3207bf86410744ed9d1a202536f649ce46196983370e8c8c74e \
                    size    3414374

# 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-nloptr \
                    port:R-testthat

test.run            yes
