# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
# $FreeBSD: tags/RELEASE_11_1_0/math/R-cran-sf/Makefile 444445 2017-06-27 08:03:09Z tota $

PORTNAME=	sf
DISTVERSION=	0.5-1
CATEGORIES=	math
DISTNAME=	${PORTNAME}_${DISTVERSION}

MAINTAINER=	tota@FreeBSD.org
COMMENT=	Simple Features for R

LICENSE=	GPLv2

CRAN_DEPENDS=	R-cran-Rcpp>0:devel/R-cran-Rcpp \
		R-cran-DBI>0:databases/R-cran-DBI \
		R-cran-units>=0.4:math/R-cran-units \
		R-cran-magrittr>0:devel/R-cran-magrittr
LIB_DEPENDS=	libgdal.so:graphics/gdal \
		libgeos.so:graphics/geos \
		libproj.so:graphics/proj
BUILD_DEPENDS=	${CRAN_DEPENDS}
RUN_DEPENDS=	${CRAN_DEPENDS}

USES=		cran:auto-plist,compiles

.include <bsd.port.mk>
