# -*- 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 is outdated.
R.setup             cran datawookie emayili 0.9.1
revision            0
categories-append   mail
platforms           {darwin any}
maintainers         nomaintainer
license             GPL-3
description         Light, simple tool for sending e-mails with minimal dependencies
long_description    {*}${description}
homepage            https://datawookie.github.io/emayili
checksums           rmd160  07219bdea21c151f51d1b10d8d5942e55bff3df4 \
                    sha256  d79e7fd73af67bcd30e283d611446340677a4e19ab689e51c2cfc4e98ef2b411 \
                    size    281823
supported_archs     noarch

depends_lib-append  port:R-base64enc \
                    port:R-commonmark \
                    port:R-curl \
                    port:R-digest \
                    port:R-dplyr \
                    port:R-glue \
                    port:R-htmltools \
                    port:R-httr \
                    port:R-logger \
                    port:R-magrittr \
                    port:R-mime \
                    port:R-purrr \
                    port:R-rmarkdown \
                    port:R-rvest \
                    port:R-stringi \
                    port:R-stringr \
                    port:R-tidyr \
                    port:R-urltools \
                    port:R-xfun \
                    port:R-xml2

# Some optional deps are omitted.
depends_test-append port:R-gpg \
                    port:R-here \
                    port:R-jinjar \
                    port:R-lintr \
                    port:R-memoise \
                    port:R-roxygen2 \
                    port:R-showtext \
                    port:R-testthat

test.run            yes