# -*- 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 ku-awdc runjags 2.2.2-4
revision            1
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-2
description         Interface utilities, model templates, parallel computing methods \
                    and additional distributions for MCMC models in JAGS
long_description    {*}${description}
homepage            https://github.com/ku-awdc/runjags
checksums           rmd160  06d972a1f394848651f7dc4f4a9abf6f3e16ac0e \
                    sha256  6f656e4d0620c0806e596ddb4bfec3934534ec17c02da699fcbfd6720a6f424f \
                    size    1115780

depends_build-append \
                    port:pkgconfig
depends_lib-append  port:jags \
                    port:R-coda

# The issue is not as obvious as with other JAGS-related ports,
# but shows up in tests.
patchfiles          patch-fix-cxx11.diff

depends_test-append port:R-knitr \
                    port:R-markdown \
                    port:R-modeest \
                    port:R-rjags \
                    port:R-spelling \
                    port:R-testthat

test.run            yes
