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

# Revert to GitHub once updated there.
R.setup             cran paleolimbot geos 0.2.4
revision            1
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             MIT
description         Open Source Geometry Engine (GEOS) R API
long_description    {*}${description}
homepage            https://paleolimbot.github.io/geos
checksums           rmd160  4f720c0db0a208a54afc63b157e3741ca4228cdd \
                    sha256  162d7146a723e1374ac0c6b2216466f8db3cce807a4c7c559a151fbf72aa9d0d \
                    size    162176

depends_lib-append  port:R-libgeos \
                    port:R-wk

depends_test-append port:R-sf \
                    port:R-testthat \
                    port:R-vctrs

# 5 tests fails on ppc: https://github.com/paleolimbot/geos/issues/88
test.run            yes
