# -*- 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 steve.the.bayesian Boom 0.9.15
revision            1
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             LGPL-2.1
description         Bayesian Object-Oriented Modelling
long_description    A C++ library for Bayesian modelling, with an emphasis on Markov chain Monte Carlo.
homepage            https://github.com/steve-the-bayesian/BOOM
checksums           rmd160  cb6400752052e47aad5d560912d1a8e083b92fe8 \
                    sha256  5360029bcca7c0bcabbf1c4fca10e119ce0d06fb7c48947647bb39307520d601 \
                    size    2507755

# Package uses an old broken version of Eigen.
# Until updated, disable Altivec for PowerPC.
# This is not a perfect fix, but it works.
# https://github.com/steve-the-bayesian/BOOM/issues/78
patchfiles-append   patch-fix-eigen-ppc.diff

depends_test-append port:R-testthat

test.run            yes
