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

# GitHub version lags behind.
R.setup             cran snoweye pbdSLAP 0.3-7
revision            2
categories-append   math parallel
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             MPL-2
description         ScaLAPACK/PBLAS/BLACS/LAPACK library for use with pbdR
long_description    {*}${description}
homepage            https://github.com/snoweye/pbdSLAP
checksums           rmd160  3b2e303bcda4e680a3c69b76c5cc2b57afdc098f \
                    sha256  900db20581e73c5276a1c9ba98a9b0c7c256d88208a52a0697a9d5bcd969b9b1 \
                    size    1470428

set mpi_suffix      mp
set mpi_port        mpich-default

depends_lib-append  port:${mpi_port} \
                    port:R-pbdMPI

compilers.setup     require_fortran

test.run            yes
