# -*- 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.16
revision            1
categories-append   math
maintainers         {@barracuda156 macos-powerpc.org:barracuda} 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  e7e7d0ef5ea1d85f6aa59d8244d7e71406384c01 \
                    sha256  6a17ca88aff476a58a0634ec633e50b239e60473c038b78f90e192b533c22494 \
                    size    2501472

# 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
