graphics/gdalcpp: Add gdalcpp 1.3.0

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.
This commit is contained in:
Po-Chuan Hsieh 2025-05-25 17:26:44 +08:00
parent 896078d4d7
commit 977a60aa21
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 39 additions and 0 deletions

View File

@ -230,6 +230,7 @@
SUBDIR += gd
SUBDIR += gdal
SUBDIR += gdal-grass
SUBDIR += gdalcpp
SUBDIR += gdchart
SUBDIR += gdk-pixbuf-extra
SUBDIR += gdk-pixbuf2

26
graphics/gdalcpp/Makefile Normal file
View File

@ -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>

View File

@ -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

View File

@ -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.