summaryrefslogtreecommitdiff
path: root/graphics/gdalcpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gdalcpp')
-rw-r--r--graphics/gdalcpp/Makefile26
-rw-r--r--graphics/gdalcpp/distinfo3
-rw-r--r--graphics/gdalcpp/pkg-descr9
3 files changed, 38 insertions, 0 deletions
diff --git a/graphics/gdalcpp/Makefile b/graphics/gdalcpp/Makefile
new file mode 100644
index 000000000000..61e031bcacdf
--- /dev/null
+++ b/graphics/gdalcpp/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= gdalcpp
+PORTVERSION= 1.3.0
+CATEGORIES= graphics
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= C++11 GDAL wrapper
+WWW= https://github.com/joto/gdalcpp
+
+LICENSE= BSL
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= gdal>=0:graphics/gdal
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+PLIST_FILES= include/gdalcpp.hpp
+
+USE_GITHUB= yes
+GH_ACCOUNT= joto
+GH_TAGNAME= 7e23085
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/gdalcpp.hpp ${STAGEDIR}${PREFIX}/include/
+
+.include <bsd.port.mk>
diff --git a/graphics/gdalcpp/distinfo b/graphics/gdalcpp/distinfo
new file mode 100644
index 000000000000..a667238d7658
--- /dev/null
+++ b/graphics/gdalcpp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1747715284
+SHA256 (joto-gdalcpp-1.3.0-7e23085_GH0.tar.gz) = a3e84d6a1358754720e6cd68ad912ccc1e5cd14ab25f2281f849080d91d5ccc1
+SIZE (joto-gdalcpp-1.3.0-7e23085_GH0.tar.gz) = 4245
diff --git a/graphics/gdalcpp/pkg-descr b/graphics/gdalcpp/pkg-descr
new file mode 100644
index 000000000000..adf817cca361
--- /dev/null
+++ b/graphics/gdalcpp/pkg-descr
@@ -0,0 +1,9 @@
+gdalcpp is a C++11 wrapper classes for GDAL/OGR.
+
+These are some small wrapper classes for GDAL offering:
+- classes with RAII instead of the arcane cleanup functions in stock GDAL
+- works with GDAL 1, 2, and 3
+- allows you to write less boilerplate code
+
+The classes are not very complete, they just have the code I needed for various
+programs.