aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gdal
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-07-21 01:57:01 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-07-21 01:57:01 +0800
commitaa3eb0330d4b1b23c54862ada38e2c72d4b77895 (patch)
tree6966c1741de02399d8c8f089ee7b1dd7f9ba448e /graphics/gdal
parent0173941c7e30ac5ef1ae356b0c15597816827589 (diff)
downloadfreebsd-ports-gnome-aa3eb0330d4b1b23c54862ada38e2c72d4b77895.tar.gz
freebsd-ports-gnome-aa3eb0330d4b1b23c54862ada38e2c72d4b77895.tar.zst
freebsd-ports-gnome-aa3eb0330d4b1b23c54862ada38e2c72d4b77895.zip
Add SFCGAL option
PR: 220876 Submitted by: lbartoletti <lbartoletti@tuxfamily.org>
Diffstat (limited to 'graphics/gdal')
-rw-r--r--graphics/gdal/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile
index 60072dbe655a..36363954ca24 100644
--- a/graphics/gdal/Makefile
+++ b/graphics/gdal/Makefile
@@ -22,8 +22,8 @@ LIB_DEPENDS= libgeotiff.so:graphics/libgeotiff \
libtiff.so:graphics/tiff
OPTIONS_DEFINE= ARMADILLO CFITSIO CURL ECW EXPAT FREEXL GEOS GTA HDF5 JASPER \
- KML LIBXML2 MYSQL NETCDF ODBC OPENJPEG PCRE PGSQL SPATIALITE \
- SQLITE WEBP XERCES
+ KML LIBXML2 MYSQL NETCDF ODBC OPENJPEG PCRE PGSQL SFCGAL \
+ SPATIALITE SQLITE WEBP XERCES
OPTIONS_DEFAULT=JASPER
OPTIONS_RADIO= PDF
OPTIONS_RADIO_PDF= PODOFO POPPLER
@@ -103,6 +103,9 @@ PODOFO_CONFIGURE_WITH= podofo
PODOFO_LIB_DEPENDS= libpodofo.so:graphics/podofo
POPPLER_CONFIGURE_WITH= poppler=${LOCALBASE}
POPPLER_LIB_DEPENDS= libpoppler.so:graphics/poppler
+SFCGAL_CONFIGURE_OFF= --with-sfcgal=no
+SFCGAL_CONFIGURE_ON= --with-sfcgal=${LOCALBASE}/bin/sfcgal-config
+SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal
SPATIALITE_CONFIGURE_WITH= spatialite
SPATIALITE_LIB_DEPENDS= libspatialite.so:databases/spatialite
SQLITE_CONFIGURE_WITH= sqlite3