aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2021-06-10 15:54:50 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2021-06-11 16:43:46 +0000
commiteb87d961b1d5ea60755e324e3e9c34c28cddc19e (patch)
tree4ade44beb29966b6c9ccedd3b1a097878762112c
parent43364f2c27c7638eb1f545bfd197f27735fd2878 (diff)
downloadports-eb87d961b1d5ea60755e324e3e9c34c28cddc19e.tar.gz
ports-eb87d961b1d5ea60755e324e3e9c34c28cddc19e.zip
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/
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/R-cran-s2/Makefile18
-rw-r--r--graphics/R-cran-s2/distinfo3
-rw-r--r--graphics/R-cran-s2/pkg-descr8
4 files changed, 30 insertions, 0 deletions
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@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/