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

# Revert to GitHub once updated there.
R.setup             cran gregorkastner stochvol 3.2.8 v
revision            1
categories-append   math
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             GPL-2+
description         Efficient Bayesian inference for stochastic volatility (SV) models
long_description    {*}${description}
homepage            https://gregorkastner.github.io/stochvol
checksums           rmd160  cde188155fc4e7869803aafd38bfbea20b0ae970 \
                    sha256  4a8c092c636344e69a828427c79fca5fe57dd3973d9ddd410074e9e93354f14c \
                    size    3332672
# github.tarball_from archive

depends_lib-append  port:R-coda \
                    port:R-Rcpp \
                    port:R-RcppArmadillo

compilers.setup     require_fortran

depends_test-append port:R-knitr \
                    port:R-mvtnorm \
                    port:R-testthat

test.run            yes
