# -*- 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 ropensci handlr 0.3.0 v
revision            2
categories-append   textproc
maintainers         nomaintainer
license             MIT
description         Convert between citation formats
long_description    {*}${description}
homepage            https://docs.ropensci.org/handlr
checksums           rmd160  171765c4c12f4b668bb49ce75a2290be62672d6d \
                    sha256  e3ef682e4bd068fd0bbb541355ea354d9abd344ada0ffd8371b1c92a459655b8 \
                    size    51174
supported_archs     noarch

depends_lib-append  port:R-crul \
                    port:R-jsonlite \
                    port:R-mime \
                    port:R-urltools \
                    port:R-xml2 \
                    port:R-yaml

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

depends_test-append port:R-bibtex \
                    port:R-data.table \
                    port:R-testthat

test.run            yes
