# -*- 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.26
revision            1
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  f066043a1223147919948be844f75d846304a083 \
                    sha256  c3f81cb7fd46879b0c05eac517c561986fb67dc7898b973a277e2f16203f41ae \
                    size    196579

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
