# -*- 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

R.setup             bioconductor Bioconductor rsbml 2.62.0
revision            0
categories-append   bioconductor
maintainers         nomaintainer
license             Artistic-2
description         R support for SBML, using libsbml
long_description    {*}${description}
checksums           rmd160  caddc5dd6bc4cf7471ff5160d55fbce694334494 \
                    sha256  7a91f571e74fb1fafa58423a3402261c5e213dae7384cbb4d42af87bc1ebf50a \
                    size    565386

depends_build-append \
                    port:pkgconfig
depends_lib-append  port:libsbml \
                    port:R-BiocGenerics \
                    port:R-graph

platform darwin {
    if {${os.major} > 10 && ${configure.cxx_stdlib} eq "libc++"} {
    build.args-append   --configure-vars=' \
                        RSBML_CPPFLAGS="-D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION" \
                        '
    }
}

test.run            no
