summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--geography/Makefile3
-rw-r--r--geography/R-sf/DESCR5
-rw-r--r--geography/R-sf/Makefile22
-rw-r--r--geography/R-sf/buildlink3.mk13
-rw-r--r--geography/R-sf/distinfo6
5 files changed, 48 insertions, 1 deletions
diff --git a/geography/Makefile b/geography/Makefile
index 8da682e0b93..9b44dbfffa6 100644
--- a/geography/Makefile
+++ b/geography/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.89 2020/08/07 03:55:17 brook Exp $
+# $NetBSD: Makefile,v 1.90 2020/08/08 23:12:17 brook Exp $
#
COMMENT= Software for geographical-related uses
@@ -11,6 +11,7 @@ SUBDIR+= R-maps
SUBDIR+= R-maptools
SUBDIR+= R-prettymapr
SUBDIR+= R-rgeos
+SUBDIR+= R-sf
SUBDIR+= R-spatstat
SUBDIR+= R-spatstat.data
SUBDIR+= R-spatstat.utils
diff --git a/geography/R-sf/DESCR b/geography/R-sf/DESCR
new file mode 100644
index 00000000000..42d2a987bad
--- /dev/null
+++ b/geography/R-sf/DESCR
@@ -0,0 +1,5 @@
+Support for simple features, a standardized way to encode spatial
+vector data. Binds to 'GDAL' for reading and writing data, to 'GEOS'
+for geometrical operations, and to 'PROJ' for projection conversions
+and datum transformations. Optionally uses the 's2' package for
+spherical geometry operations on geographic coordinates.
diff --git a/geography/R-sf/Makefile b/geography/R-sf/Makefile
new file mode 100644
index 00000000000..24d3ccfdf6f
--- /dev/null
+++ b/geography/R-sf/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2020/08/08 23:12:18 brook Exp $
+
+R_PKGNAME= sf
+R_PKGVER= 0.9-5
+CATEGORIES= geography
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Simple Features for R
+LICENSE= mit OR gnu-gpl-v2
+
+USE_LANGUAGES+= c c++11
+
+DEPENDS+= R-magrittr>=1.5:../../devel/R-magrittr
+DEPENDS+= R-rgeos>=0.5.2:../../geography/R-rgeos
+DEPENDS+= R-DBI>=0.8:../../math/R-DBI
+DEPENDS+= R-classInt>=0.4.1:../../math/R-classInt
+DEPENDS+= R-units>=0.6.0:../../math/R-units
+
+.include "../../math/R/Makefile.extension"
+.include "../../devel/R-Rcpp/buildlink3.mk"
+.include "../../geography/gdal-lib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/geography/R-sf/buildlink3.mk b/geography/R-sf/buildlink3.mk
new file mode 100644
index 00000000000..9cb2be94704
--- /dev/null
+++ b/geography/R-sf/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/08/08 23:12:18 brook Exp $
+
+BUILDLINK_TREE+= R-sf
+
+.if !defined(R_SF_BUILDLINK3_MK)
+R_SF_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.R-sf+= R-sf>=0.9.5
+BUILDLINK_PKGSRCDIR.R-sf?= ../../geography/R-sf
+
+.endif # R_SF_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -R-sf
diff --git a/geography/R-sf/distinfo b/geography/R-sf/distinfo
new file mode 100644
index 00000000000..de710f294d0
--- /dev/null
+++ b/geography/R-sf/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/08/08 23:12:18 brook Exp $
+
+SHA1 (R/sf_0.9-5.tar.gz) = 40dc58bc65cd7730dc9f10767ba34f83f6e8d09f
+RMD160 (R/sf_0.9-5.tar.gz) = 7c8b3203f3053a529ba7c8d1ade21eebe6bfd940
+SHA512 (R/sf_0.9-5.tar.gz) = f70fbdeaa2de7fb55444002d2f38ed9eee646dd7fdfd82428a7fd5346c1e493c0b1ac653aa27b8f3661dea0dc3610b22a63199ccd636569ddae8466e83a937a6
+Size (R/sf_0.9-5.tar.gz) = 9001885 bytes