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.
27 lines
465 B
Makefile
27 lines
465 B
Makefile
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>
|