aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Teixeira <eduardo@FreeBSD.org>2023-09-07 11:50:30 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2023-09-07 13:58:49 +0000
commitaa6f7e8870c71838c4e44cdb63cfa0041d86cb90 (patch)
treec77719b81534b56a60c228dc9f0def5356c732a1
parent94787841628f9485cae4fcdb8bc1586ff1132b21 (diff)
math/R-cran-ncdf4: New port: Interface to Unidata netCDF (Version 4 or Earlier) Format Data Files
Provides a high-level R interface to data files written using Unidata's netCDF library (version 4 or earlier), which are binary data files that are portable across platforms and include metadata information in addition to the data sets. WWW: https://cran.r-project.org/web/packages/ncdf4/
-rw-r--r--math/Makefile1
-rw-r--r--math/R-cran-ncdf4/Makefile16
-rw-r--r--math/R-cran-ncdf4/distinfo3
-rw-r--r--math/R-cran-ncdf4/pkg-descr7
4 files changed, 27 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 3da53b1b3ab5..a2e7905ee69b 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -103,6 +103,7 @@
SUBDIR += R-cran-mitools
SUBDIR += R-cran-moments
SUBDIR += R-cran-mvtnorm
+ SUBDIR += R-cran-ncdf4
SUBDIR += R-cran-nloptr
SUBDIR += R-cran-nnls
SUBDIR += R-cran-nortest
diff --git a/math/R-cran-ncdf4/Makefile b/math/R-cran-ncdf4/Makefile
new file mode 100644
index 000000000000..32d2d2a2ce42
--- /dev/null
+++ b/math/R-cran-ncdf4/Makefile
@@ -0,0 +1,16 @@
+PORTNAME= ncdf4
+DISTVERSION= 1.21
+CATEGORIES= math
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= eduardo@FreeBSD.org
+COMMENT= Interface to Unidata netCDF (Version 4 or Earlier) Format Data Files
+WWW= https://cran.r-project.org/web/packages/ncdf4/
+
+LICENSE= GPLv3+
+
+LIB_DEPENDS= libnetcdf.so:science/netcdf
+
+USES= cran:auto-plist,compiles
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-ncdf4/distinfo b/math/R-cran-ncdf4/distinfo
new file mode 100644
index 000000000000..e0ed3641266d
--- /dev/null
+++ b/math/R-cran-ncdf4/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1694083587
+SHA256 (ncdf4_1.21.tar.gz) = 2f5ae7def382c595c66b6ed0ea0529f8337108eb73de39939f9762f3fb21b30d
+SIZE (ncdf4_1.21.tar.gz) = 127380
diff --git a/math/R-cran-ncdf4/pkg-descr b/math/R-cran-ncdf4/pkg-descr
new file mode 100644
index 000000000000..62d5ccfda2bb
--- /dev/null
+++ b/math/R-cran-ncdf4/pkg-descr
@@ -0,0 +1,7 @@
+Provides a high-level R interface to data files written using Unidata's
+netCDF library (version 4 or earlier), which are binary data files that
+are portable across platforms and include metadata information in addition
+to the data sets. Using this package, netCDF files (either version 4 or
+"classic" version 3) can be opened and data sets read in easily. It is
+also easy to create new netCDF dimensions, variables, and files, in either
+version 3 or 4 format, and manipulate existing netCDF files.