# -*- 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             r-forge r-project Rmpfr 1.0-0
revision            0
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-2+
description         Multiple precision floating-point reliable
long_description    {*}${description}
homepage            https://rmpfr.r-forge.r-project.org
checksums           rmd160  f526207a96cc43169eae952e22bf823bb2999256 \
                    sha256  d8d3094cb364fe909325548e811e2b37273c1c30f5a091a523ac8e3d54562ff1 \
                    size    1478487

depends_lib-append  port:gmp \
                    port:mpfr \
                    port:R-gmp

# No one notices the release is broken, since the error is in 32-bit-specific code.
# https://r-forge.r-project.org/tracker/index.php?func=detail&aid=6859&group_id=386&atid=1579
patchfiles          patch-fix-silly-typo.diff

depends_test-append port:R-Bessel \
                    port:R-dfoptim \
                    port:R-DPQ \
                    port:R-DPQmpfr \
                    port:R-polynom \
                    port:R-pracma \
                    port:R-sfsmisc

test.run            yes
