# -*- 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 s-u proj4 1.0-15
revision            3
categories-append   gis
maintainers         nomaintainer
license             GPL-2
description         Simple R interface to the PROJ.4 cartographic projections library
long_description    {*}${description}
homepage            https://www.rforge.net/proj4
checksums           rmd160  0e66672eed6867ac6d1a382106084ed91da7f687 \
                    sha256  eecc7d049d91e150d80682f8b75494010ad7c7d219c6845ab91a73213e88d314 \
                    size    43463

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

set deproot         ${prefix}/libexec/R

depends_lib-append  port:proj-R

build.env-append    PKG_CONFIG_PATH=${deproot}/proj/lib/pkgconfig
