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

R.setup             github r-lib pkgdepends 0.7.2 v
revision            1
categories-append   devel
maintainers         nomaintainer
license             MIT
description         Package dependency resolution and downloads
long_description    {*}${description}
homepage            https://r-lib.github.io/pkgdepends
checksums           rmd160  00aaf3d00a6ad6aa0b547897163137666d460c37 \
                    sha256  9384dae1cdaba45b55ea0227ce2f2784928d957fcbe930fcab501705abe1c28d \
                    size    495210
supported_archs     noarch

depends_lib-append  port:R-callr \
                    port:R-cli \
                    port:R-curl \
                    port:R-desc \
                    port:R-filelock \
                    port:R-jsonlite \
                    port:R-lpSolve \
                    port:R-pkgbuild \
                    port:R-pkgcache \
                    port:R-processx \
                    port:R-ps \
                    port:R-R6 \
                    port:R-zip

# asciicast depends on V8.
patchfiles          patch-no-asciicast.diff

depends_test-append port:R-covr \
                    port:R-debugme \
                    port:R-fansi \
                    port:R-fs \
                    port:R-glue \
                    port:R-htmlwidgets \
                    port:R-mockery \
                    port:R-pak \
                    port:R-pingr \
                    port:R-rmarkdown \
                    port:R-rstudioapi \
                    port:R-spelling \
                    port:R-svglite \
                    port:R-testthat \
                    port:R-tibble \
                    port:R-webfakes \
                    port:R-withr

test.run            yes
