aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2021-10-17 03:10:24 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2021-10-17 08:49:05 +0000
commit18a7aaea92e1d317726c9d5e92364f17b5561532 (patch)
tree64a833737162648191246e167184b5c0ae3f0ac5 /math
parent9f87d733cf330c4cc842d6315a528f990237810a (diff)
downloadports-18a7aaea92e1d317726c9d5e92364f17b5561532.tar.gz
ports-18a7aaea92e1d317726c9d5e92364f17b5561532.zip
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/R-cran-terra/Makefile20
-rw-r--r--math/R-cran-terra/distinfo3
-rw-r--r--math/R-cran-terra/pkg-descr12
4 files changed, 36 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 974b74fde1eb..d5e545695f82 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -119,6 +119,7 @@
SUBDIR += R-cran-statmod
SUBDIR += R-cran-survey
SUBDIR += R-cran-tensor
+ SUBDIR += R-cran-terra
SUBDIR += R-cran-truncnorm
SUBDIR += R-cran-units
SUBDIR += R-cran-uroot
diff --git a/math/R-cran-terra/Makefile b/math/R-cran-terra/Makefile
new file mode 100644
index 000000000000..cf25d76bdeca
--- /dev/null
+++ b/math/R-cran-terra/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= terra
+DISTVERSION= 1.4-11
+CATEGORIES= math
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= tota@FreeBSD.org
+COMMENT= Spatiall Data Analysis
+
+LICENSE= GPLv3+
+
+LIB_DEPENDS= libgdal.so:graphics/gdal \
+ libgeos.so:graphics/geos \
+ libproj.so:graphics/proj
+CRAN_DEPENDS= R-cran-Rcpp>0:devel/R-cran-Rcpp
+BUILD_DEPENDS= ${CRAN_DEPENDS}
+RUN_DEPENDS= ${CRAN_DEPENDS}
+
+USES= compiler:c++11-lang cran:auto-plist,compiles sqlite:3
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-terra/distinfo b/math/R-cran-terra/distinfo
new file mode 100644
index 000000000000..b4c6080afd99
--- /dev/null
+++ b/math/R-cran-terra/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1634410480
+SHA256 (terra_1.4-11.tar.gz) = 0a8fc0deffd4f2d0065ac6b70ae5cda079a38fe86e40861df94d01d01412fd21
+SIZE (terra_1.4-11.tar.gz) = 541948
diff --git a/math/R-cran-terra/pkg-descr b/math/R-cran-terra/pkg-descr
new file mode 100644
index 000000000000..ad6ace010f0f
--- /dev/null
+++ b/math/R-cran-terra/pkg-descr
@@ -0,0 +1,12 @@
+Methods for spatial data analysis with raster and vector data.
+Raster methods allow for low-level data manipulation as well as
+high-level global, local, zonal, and focal computation. The predict
+and interpolate methods facilitate the use of regression type
+(interpolation, machine learning) models for spatial prediction,
+including with satellite remote sensing data. Processing of very
+large files is supported. See the manual and tutorials on
+<https://rspatial.org/terra/> to get started. 'terra' is very similar
+to the 'raster' package; but 'terra' can do more, is easier to use,
+and it is faster.
+
+WWW: https://cran.r-project.org/web/packages/terra/