# -*- 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             cran cran restfulr 0.0.15
revision            2
categories-append   www
maintainers         nomaintainer
license             Artistic-2
description         R interface to RESTful web services
long_description    {*}${description}
checksums           rmd160  dafe1b3a05e2263454482e66132548223bbd503b \
                    sha256  40ff8f1fb2987af2223e1a855bb1680c5ce2143fbce7ebc42f1edb291f80e692 \
                    size    15033

depends_lib-append  port:R-RCurl \
                    port:R-rjson \
                    port:R-S4Vectors \
                    port:R-XML \
                    port:R-yaml

# R-rsolr would require installation of Solr.
patchfiles          patch-no-rsolr.diff

depends_test-append port:R-getPass \
                    port:R-RUnit

test.run            yes
