# -*- 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 sn248 sundialr 0.2.0 v
revision            0
categories-append   math
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             BSD
description         Interface to SUNDIALS ordinary differential equation \
                    (ODE) solvers
long_description    {*}${description}
homepage            http://sn248.github.io/sundialr
checksums           rmd160  d46179a14298359a0958f2d1a1207274e7fe9370 \
                    sha256  1144f21f9542f4771401d550ffd73e8b9f0a688f1f321342f42472bd87f9e093 \
                    size    2409055

depends_build-append \
                    path:bin/cmake:cmake

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

compilers.setup     require_fortran

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

test.run            yes
