# -*- 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.2
revision            1
maintainers         nomaintainer
license             LGPL-2.1+
description         Unified handling of graphics devices
long_description    {*}${description}
checksums           rmd160  cdf27e5a220e8f67ede02600d6993980000e1e83 \
                    sha256  403eeaf552dd696142096973dee3460dc52c19b73fd194841dd4638e2bdcec95 \
                    size    243013
supported_archs     noarch
platforms           {darwin any}

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
