# -*- 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.1.7 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  aef7c6e8d050149d73e93cf1cc5e3fc7d268bd75 \
                    sha256  39ba0f01534db56321d52d587a676810fd782189c222beb8f388559d2dbe9491 \
                    size    2296996

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
