# -*- 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           boost 1.0
PortGroup           R 1.0

boost.version       1.81

R.setup             cran eddelbuettel RQuantLib 0.4.24
revision            0
categories-append   finance
maintainers         nomaintainer
license             GPL-2+
description         R interface to the QuantLib library
long_description    {*}${description}
homepage            https://dirk.eddelbuettel.com/code/rquantlib.html
checksums           rmd160  0f7a8b36af9e429764d093fd6498ddbcacf90b58 \
                    sha256  2fa7a44652a979fc35f7ffc723d4279bf1ad8db97e19c652c0ccff59f7488cf1 \
                    size    195836

depends_lib-append  port:QuantLib \
                    port:R-Rcpp \
                    port:R-zoo

if {${configure.cxx_stdlib} ne "libc++"} {
    patchfiles-append \
                    patch-cxx11.diff
}

depends_test-append port:R-rgl \
                    port:R-tinytest \
                    port:R-shiny

test.run            yes