git: f863b01b8385 - main - graphics/gdal: Add LERC option
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Aug 8 22:04:11 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f863b01b83852a4d54817aaf7a09e27340d4246b
commit f863b01b83852a4d54817aaf7a09e27340d4246b
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-08-08 21:35:25 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-08-08 21:43:48 +0000
graphics/gdal: Add LERC option
---
graphics/gdal/Makefile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile
index 88a91d6337e1..624b91f27e80 100644
--- a/graphics/gdal/Makefile
+++ b/graphics/gdal/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= libgeotiff.so:graphics/libgeotiff \
libqhull.so.7:math/qhull \
libtiff.so:graphics/tiff
-OPTIONS_DEFINE= ARMADILLO CFITSIO CHARLS CRYPTOPP CURL DEFLATE DODS ECW EXPAT EXR FREEXL GEOS GTA HDF5 HEIF JASPER KML LIBXML2 MYSQL NETCDF ODBC OPENJPEG PCRE PGSQL RASTERLITE2 SFCGAL SPATIALITE SQLITE TILEDB WEBP XERCES ZSTD
+OPTIONS_DEFINE= ARMADILLO CFITSIO CHARLS CRYPTOPP CURL DEFLATE DODS ECW EXPAT EXR FREEXL GEOS GTA HDF5 HEIF JASPER KML LERC LIBXML2 MYSQL NETCDF ODBC OPENJPEG PCRE PGSQL RASTERLITE2 SFCGAL SPATIALITE SQLITE TILEDB WEBP XERCES ZSTD
OPTIONS_RADIO= PDF
OPTIONS_RADIO_PDF= PODOFO POPPLER
OPTIONS_DEFAULT=CURL EXPAT FREEXL GEOS JASPER LIBXML2 OPENJPEG PCRE PGSQL POPPLER WEBP ZSTD \
@@ -35,6 +35,7 @@ DEFLATE_DESC= Faster deflate support via libdeflate library
DODS_DESC= DODS/OPeNDAP support
EXR_DESC= EXR support via OpenEXR library
HEIF_DESC= HEIF support via libheif library
+LERC_DESC= LERC (Limited Error Raster Compression) support
PCRE_DESC= Regular expression support for SQLite
RASTERLITE2_DESC= RasterLite2 support
TILEDB_DESC= TileDB support
@@ -129,6 +130,9 @@ JASPER_CONFIGURE_WITH= jasper
JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper
KML_CONFIGURE_WITH= libkml
KML_LIB_DEPENDS= libkmlbase.so:science/libkml
+LERC_CONFIGURE_OFF= --with-lerc=no
+LERC_CONFIGURE_ON= --with-lerc=${LOCALBASE}
+LERC_LIB_DEPENDS= libLerc.so:graphics/lerc
LIBXML2_CONFIGURE_OFF= --with-xml2=no
LIBXML2_CONFIGURE_ON= --with-xml2=yes
LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2
@@ -181,6 +185,7 @@ post-patch:
@${RM} -r ${WRKSRC}/frmts/png/libpng/
@${RM} -r ${WRKSRC}/frmts/zlib/
@${RM} -r ${WRKSRC}/ogr/ogrsf_frmts/geojson/libjson/
+ @${RM} -r ${WRKSRC}/third_party/LercLib/
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
More information about the dev-commits-ports-all
mailing list