git: 62845ed5f960 - main - math/R-cran-wk: Add new port

TAKATSU Tomonari tota at FreeBSD.org
Fri Jun 11 11:54:04 UTC 2021


The branch main has been updated by tota:

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

commit 62845ed5f9608185a76ac377d77e09fa648f1f86
Author:     TAKATSU Tomonari <tota at FreeBSD.org>
AuthorDate: 2021-06-10 16:13:45 +0000
Commit:     TAKATSU Tomonari <tota at FreeBSD.org>
CommitDate: 2021-06-11 11:53:58 +0000

    math/R-cran-wk: Add new port
    
    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/
---
 math/Makefile            |  1 +
 math/R-cran-wk/Makefile  | 17 +++++++++++++++++
 math/R-cran-wk/distinfo  |  3 +++
 math/R-cran-wk/pkg-descr |  8 ++++++++
 4 files changed, 29 insertions(+)

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 at 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/


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