# -*- 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.1.0
revision            1
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  48fd4d5c8b765f67a20e8930ab531aca61e21e6c \
                    sha256  0bdd828d5394da1021cd5b2d0229949f9d690e68644518276239c669aea4c199 \
                    size    3286668

# 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-testthat

test.run            yes
