# -*- 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 rcppcore RcppEigen 0.3.4.0.1
revision            0
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-2+
description         Rcpp integration for the Eigen Templated Linear Algebra Library
long_description    {*}${description}
homepage            https://dirk.eddelbuettel.com/code/rcpp.eigen.html
checksums           rmd160  b13bd6e5fc1c1424c0c0af2cc3e4dee163bb336c \
                    sha256  25ed48f148b50aaadd92752d73e3eefe00ab4ecd4ae5662ae91a9ff3f72a4e26 \
                    size    1761689

depends_lib-append  port:R-Rcpp

# Fixed in upstream in: https://gitlab.com/libeigen/eigen/-/merge_requests/1150
# To be dropped with 0.3.5.
patchfiles          patch-fix-powerpc.diff

compilers.setup     require_fortran

depends_test-append port:R-inline \
                    port:R-microbenchmark \
                    port:R-pkgKitten \
                    port:R-tinytest

test.run            yes
