# -*- 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 r-lib svglite 2.1.3 v
revision            1
categories-append   graphics
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-2+
description         SVG graphics device
long_description    {*}${description}
homepage            https://svglite.r-lib.org
checksums           rmd160  e6fc858ff6ed6f7545f828fecd0637e36d27b811 \
                    sha256  f0a8564e6f9127f4d1e05cf5a5f36b4e244aee0008e27473e504c63873ef0a54 \
                    size    124650

depends_lib-append  port:libpng \
                    port:R-cpp11 \
                    port:R-systemfonts

depends_test-append port:R-covr \
                    port:R-fontquiver \
                    port:R-htmltools \
                    port:R-knitr \
                    port:R-rmarkdown \
                    port:R-testthat \
                    port:R-xml2

test.run            yes
