summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2021-09-20 06:01:41 +0000
committermef <mef@pkgsrc.org>2021-09-20 06:01:41 +0000
commit991c6ef50fc9a7747fda51e55e509319f7bdb5ac (patch)
tree48b064e4a743ed77d0cba0c8baa6dd9e42d7d386 /geography
parente63104b5d52ebbe1763ef72d9d631f68c5599a0c (diff)
downloadpkgsrc-991c6ef50fc9a7747fda51e55e509319f7bdb5ac.tar.gz
(geography/R-wk) import R-wk-0.5.0, from wip/R-wk
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.
Diffstat (limited to 'geography')
-rw-r--r--geography/R-wk/DESCR6
-rw-r--r--geography/R-wk/Makefile15
-rw-r--r--geography/R-wk/buildlink3.mk13
-rw-r--r--geography/R-wk/distinfo6
4 files changed, 40 insertions, 0 deletions
diff --git a/geography/R-wk/DESCR b/geography/R-wk/DESCR
new file mode 100644
index 00000000000..6e7970c100a
--- /dev/null
+++ b/geography/R-wk/DESCR
@@ -0,0 +1,6 @@
+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.
diff --git a/geography/R-wk/Makefile b/geography/R-wk/Makefile
new file mode 100644
index 00000000000..95aca52e1f9
--- /dev/null
+++ b/geography/R-wk/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2021/09/20 06:01:41 mef Exp $
+
+R_PKGNAME= wk
+R_PKGVER= 0.5.0
+CATEGORIES= geography
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Lightweight well-known geometry parsing
+LICENSE= mit
+
+USE_LANGUAGES= c c++
+
+.include "../../math/R/Makefile.extension"
+.include "../../lang/R-cpp11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/geography/R-wk/buildlink3.mk b/geography/R-wk/buildlink3.mk
new file mode 100644
index 00000000000..5f029c53ce8
--- /dev/null
+++ b/geography/R-wk/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/09/20 06:01:41 mef Exp $
+
+BUILDLINK_TREE+= R-wk
+
+.if !defined(R_WK_BUILDLINK3_MK)
+R_WK_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.R-wk+= R-wk>=0.2.0
+BUILDLINK_DEPMETHOD.R-wk?= build
+BUILDLINK_PKGSRCDIR.R-wk?= ../../geography/R-wk
+.endif # R_WK_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -R-wk
diff --git a/geography/R-wk/distinfo b/geography/R-wk/distinfo
new file mode 100644
index 00000000000..0d374d4f9a2
--- /dev/null
+++ b/geography/R-wk/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/09/20 06:01:41 mef Exp $
+
+SHA1 (R/wk_0.5.0.tar.gz) = 9934662b3c75ca4277dd045f6d7a137de85279f8
+RMD160 (R/wk_0.5.0.tar.gz) = 843e0e0236c8c17211a9e77bc301a09f4d0caf6a
+SHA512 (R/wk_0.5.0.tar.gz) = 2fff9b4712b79320239c33692330f7e74b3ff8c132b58e7a5fd07e76a1dc05ad8d134a7df05daf6091b20745d780f891610603c79f13d9869c9c015acd7ed783
+Size (R/wk_0.5.0.tar.gz) = 138686 bytes