# -*- 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.6 v
revision            0
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             BSD
description         Interface to SUNDIALS ordinary differential equation \
                    (ODE) solvers
long_description    {*}${description}
homepage            http://sn248.github.io/sundialr
checksums           rmd160  9f28d29e7f7d5fe1a003582b3dc491be04d5eb19 \
                    sha256  93a8870dc0c33a3a8c0b68cd94dc105c7e53abfacc118ca91b6de9eb54b93951 \
                    size    305406

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
