# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
# $FreeBSD: head/math/R-cran-sf/Makefile 468506 2018-04-28 00:16:05Z tota $

PORTNAME=	sf
DISTVERSION=	0.6-2
CATEGORIES=	math
DISTNAME=	${PORTNAME}_${DISTVERSION}

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

LICENSE=	GPLv2 MIT
LICENSE_COMB=	dual

CRAN_DEPENDS=	R-cran-Rcpp>0:devel/R-cran-Rcpp \
		R-cran-RPostgreSQL>0:databases/R-cran-RPostgreSQL \
		R-cran-DBI>=0.8:databases/R-cran-DBI \
		R-cran-units>=0.5.1:math/R-cran-units \
		R-cran-classInt>0:devel/R-cran-classInt \
		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>
