git: eb87d961b1d5 - main - graphics/R-cran-s2: Add new port

TAKATSU Tomonari tota at FreeBSD.org
Fri Jun 11 16:45:14 UTC 2021


The branch main has been updated by tota:

URL: https://cgit.FreeBSD.org/ports/commit/?id=eb87d961b1d5ea60755e324e3e9c34c28cddc19e

commit eb87d961b1d5ea60755e324e3e9c34c28cddc19e
Author:     TAKATSU Tomonari <tota at FreeBSD.org>
AuthorDate: 2021-06-10 15:54:50 +0000
Commit:     TAKATSU Tomonari <tota at FreeBSD.org>
CommitDate: 2021-06-11 16:43:46 +0000

    graphics/R-cran-s2: Add new port
    
    Provides R bindings for Google's s2 library for geometric calculations
    on the sphere. High-performance constructors and exporters provide
    high compatibility with existing spatial packages, transformers
    construct new geometries from existing geometries, predicates provide
    a means to select geometries based on spatial relationships, and
    accessors extract information about geometries.
    
    WWW: https://cran.r-project.org/web/packages/s2/
---
 graphics/Makefile            |  1 +
 graphics/R-cran-s2/Makefile  | 18 ++++++++++++++++++
 graphics/R-cran-s2/distinfo  |  3 +++
 graphics/R-cran-s2/pkg-descr |  8 ++++++++
 4 files changed, 30 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index 169f50bf30ca..90aa7b6249f5 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -30,6 +30,7 @@
     SUBDIR += R-cran-qcc
     SUBDIR += R-cran-rgdal
     SUBDIR += R-cran-rtiff
+    SUBDIR += R-cran-s2
     SUBDIR += R-cran-scales
     SUBDIR += R-cran-shape
     SUBDIR += R-cran-viridis
diff --git a/graphics/R-cran-s2/Makefile b/graphics/R-cran-s2/Makefile
new file mode 100644
index 000000000000..97acd1d34d0a
--- /dev/null
+++ b/graphics/R-cran-s2/Makefile
@@ -0,0 +1,18 @@
+PORTNAME=	s2
+PORTVERSION=	1.0.5
+CATEGORIES=	graphics
+DISTNAME=	${PORTNAME}_${PORTVERSION}
+
+MAINTAINER=	tota at FreeBSD.org
+COMMENT=	Spherical Geometry Operators Using the S2 Geometry Library
+
+LICENSE=	APACHE20
+
+CRAN_DEPENDS=	R-cran-Rcpp>0:devel/R-cran-Rcpp \
+		R-cran-wk>0:math/R-cran-wk
+BUILD_DEPENDS=	${CRAN_DEPENDS}
+RUN_DEPENDS=	${CRAN_DEPENDS}
+
+USES=		cran:auto-plist,compiles
+
+.include <bsd.port.mk>
diff --git a/graphics/R-cran-s2/distinfo b/graphics/R-cran-s2/distinfo
new file mode 100644
index 000000000000..86275c5cc5ec
--- /dev/null
+++ b/graphics/R-cran-s2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1623309450
+SHA256 (s2_1.0.5.tar.gz) = aca499a126e6d8959e06c9846db8251befc3005e25deb829579a2180e03200b7
+SIZE (s2_1.0.5.tar.gz) = 1605805
diff --git a/graphics/R-cran-s2/pkg-descr b/graphics/R-cran-s2/pkg-descr
new file mode 100644
index 000000000000..1b08fecda63d
--- /dev/null
+++ b/graphics/R-cran-s2/pkg-descr
@@ -0,0 +1,8 @@
+Provides R bindings for Google's s2 library for geometric calculations
+on the sphere. High-performance constructors and exporters provide
+high compatibility with existing spatial packages, transformers
+construct new geometries from existing geometries, predicates provide
+a means to select geometries based on spatial relationships, and
+accessors extract information about geometries.
+
+WWW: https://cran.r-project.org/web/packages/s2/


More information about the dev-commits-ports-main mailing list