aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/Makefile1
-rw-r--r--math/R-cran-wk/Makefile17
-rw-r--r--math/R-cran-wk/distinfo3
-rw-r--r--math/R-cran-wk/pkg-descr8
4 files changed, 29 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 1f6b0b5cab9c..064f5026bba0 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -122,6 +122,7 @@
SUBDIR += R-cran-truncnorm
SUBDIR += R-cran-units
SUBDIR += R-cran-uroot
+ SUBDIR += R-cran-wk
SUBDIR += R-cran-xts
SUBDIR += R-cran-zoo
SUBDIR += SCIP
diff --git a/math/R-cran-wk/Makefile b/math/R-cran-wk/Makefile
new file mode 100644
index 000000000000..acf9c3b1055d
--- /dev/null
+++ b/math/R-cran-wk/Makefile
@@ -0,0 +1,17 @@
+PORTNAME= wk
+PORTVERSION= 0.4.1
+CATEGORIES= math
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= tota@FreeBSD.org
+COMMENT= Lightweight Well-Known Geometry Parsing
+
+LICENSE= MIT
+
+CRAN_DEPENDS= R-cran-cpp11>0:devel/R-cran-cpp11
+BUILD_DEPENDS= ${CRAN_DEPENDS}
+RUN_DEPENDS= ${CRAN_DEPENDS}
+
+USES= compiler:c++11-lang cran:auto-plist,compiles
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-wk/distinfo b/math/R-cran-wk/distinfo
new file mode 100644
index 000000000000..a0527f0acbe5
--- /dev/null
+++ b/math/R-cran-wk/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1623340892
+SHA256 (wk_0.4.1.tar.gz) = daa7351af0bd657740972016906c686f335b8fa922ba10250e5000ddc2bb8950
+SIZE (wk_0.4.1.tar.gz) = 111779
diff --git a/math/R-cran-wk/pkg-descr b/math/R-cran-wk/pkg-descr
new file mode 100644
index 000000000000..463f6d5af6e2
--- /dev/null
+++ b/math/R-cran-wk/pkg-descr
@@ -0,0 +1,8 @@
+Provides a minimal R and C++ API for parsing well-known binary and
+well-known text representation of geometries to and from R-native
+formats. Well-known binary is compact and fast to parse; well-known
+text is human-readable and is useful for writing tests. These formats
+are only useful in R if the information they contain can be accessed
+in R, for which high-performance functions are provided here.
+
+WWW: https://cran.r-project.org/web/packages/wk/