summaryrefslogtreecommitdiff
path: root/graphics/R-cran-s2/Makefile
blob: 748a4733536e8a4805b4f408edfb11726ec8041c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
PORTNAME=	s2
PORTVERSION=	1.1.0
CATEGORIES=	graphics
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	tota@FreeBSD.org
COMMENT=	Spherical Geometry Operators Using the S2 Geometry Library
WWW=		https://cran.r-project.org/web/packages/s2/

LICENSE=	APACHE20

NOT_FOR_ARCHS=	armv6 armv7 i386 mips powerpc powerpcspe
NOT_FOR_ARCHS_REASON=	is currently 64-bit only

CRAN_DEPENDS=	R-cran-Rcpp>0:devel/R-cran-Rcpp \
		R-cran-wk>=0.6.0:math/R-cran-wk
BUILD_DEPENDS=	${CRAN_DEPENDS}
RUN_DEPENDS=	${CRAN_DEPENDS}

USES=		cran:auto-plist,compiles

.include <bsd.port.options.mk>

.if ${ARCH} == powerpc64
EXTRA_PATCHES=	${FILESDIR}/extra-patch-src_Makevars.in
.endif

.include <bsd.port.mk>