# -*- 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 HERNANDB bartBMA 1.0
revision            3
categories-append   math
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             GPL-2+
description         Bayesian Additive Regression Trees using Bayesian Model Averaging
long_description    {*}${description}
checksums           rmd160  5df6909fa995d2a4d6039f7ebf92feb14eaa833a \
                    sha256  af61cf086ee3c902959f46e47548d6dd9f304898154d7ec2f5ee3f3a54995e97 \
                    size    133312

depends_lib-append  port:R-BH \
                    port:R-mvnfast \
                    port:R-Rcpp \
                    port:R-RcppArmadillo \
                    port:R-Rdpack

# Boost requires at least C++14 now:
post-patch {
    reinplace "s|CXX11|CXX14|" ${worksrcpath}/src/Makevars
}

compilers.setup     require_fortran

test.run            yes
