# -*- 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 HenrikBengtsson R.devices 2.17.3
revision            1
platforms           {darwin any}
maintainers         nomaintainer
license             LGPL-2.1+
description         Unified handling of graphics devices
long_description    {*}${description}
checksums           rmd160  61758a2c1119559e8ef9a0b52fed981e3b777f82 \
                    sha256  4fa070d83781774e69c8ec5f4b3ffb3751f0d3f292271cdb47d76b0c012f3cf8 \
                    size    250435
supported_archs     noarch

depends_lib-append  port:R-base64enc \
                    port:R-R.methodsS3 \
                    port:R-R.oo \
                    port:R-R.utils

depends_test-append port:R-Cairo \
                    port:R-digest \
                    port:R-R.rsp

# PPC may not be supported, at least for tests: https://github.com/HenrikBengtsson/R.devices/issues/40
test.run            yes
