# -*- 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           openssl 1.0
PortGroup           R 1.0

R.setup             github ropensci git2r 0.35.0 v
revision            1
categories-append   devel
maintainers         nomaintainer
license             GPL-2
description         R bindings to the libgit2 library
long_description    {*}${description}
homepage            https://docs.ropensci.org/git2r
checksums           rmd160  92385e0cbe9e6380a037d18fc11d6a8d1c52066d \
                    sha256  05aefc4d286223b6457cce0609050ea1bc8fb91c528e3206bce79d00bfba5d67 \
                    size    237262
github.tarball_from archive

depends_build-append \
                    path:bin/pkg-config:pkgconfig

depends_lib-append  path:lib/pkgconfig/libgit2.pc:libgit2 \
                    port:zlib

depends_test-append port:R-getPass

# May have issues on older systems: https://github.com/ropensci/git2r/issues/447
test.run            yes
