1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

graphics/gdal: Add LERC option

This commit is contained in:
Po-Chuan Hsieh 2021-08-09 05:35:25 +08:00
parent 97d6e1081b
commit f863b01b83
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

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