# -*- 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 stla RCDT 1.3.0
revision            1
categories-append   math geometry
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-3
description         Fast 2D constrained Delaunay triangulation
long_description    Performs 2D Delaunay triangulation, constrained or unconstrained, \
                    with the help of the C++ library CDT.
homepage            https://github.com/stla/RCDT
checksums           rmd160  2a2f8414ced19bf10ca29e830035ef0e62590b1f \
                    sha256  86138348629ce72144dee4c120c5606b530e5b45aae0e797840df78f9b9f47cc \
                    size    90999

depends_lib-append  port:R-BH \
                    port:R-colorsGen \
                    port:R-gplots \
                    port:R-Polychrome \
                    port:R-Rcpp \
                    port:R-RcppArmadillo \
                    port:R-rgl \
                    port:R-Rvcg

compiler.cxx_standard 2017
compilers.setup     require_fortran

depends_test-append port:R-knitr \
                    port:R-rmarkdown \
                    port:R-testthat \
                    port:R-uniformly \
                    port:R-viridisLite

test.run            yes
