# -*- 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             cran cran mnorm 1.2.2
revision            1
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-2+
description         Multivariate normal distribution
long_description    Calculates and differentiates probabilities and density \
                    of (conditional) multivariate normal distribution and Gaussian copula.
checksums           rmd160  8010541623f56de2f02bffe8979b9cf76e43f6bf \
                    sha256  e00791d32112c8ced1a7f3c1e1df1d0057fc1c48942ec63c81c65c5619206dc7 \
                    size    58125

# Remove this with the next update. It is a one-time fix.
if {${os.platform} eq "darwin" && ${configure.cxx_stdlib} eq "libc++"} {
    incr revision
}

depends_lib-append  port:R-hpa \
                    port:R-Rcpp \
                    port:R-RcppArmadillo

compilers.setup     require_fortran

test.run            yes
