aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-09-08 01:29:00 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-09-08 01:29:00 +0800
commit2e4655c46e1c5a8b398090b22eb863c4a1ce5146 (patch)
tree50adb50b95ea552cd18546fe10ce1ff46e3fdc58 /graphics
parentddbfcfc47371941575831cd9301aaeb52d13eefe (diff)
downloadfreebsd-ports-gnome-2e4655c46e1c5a8b398090b22eb863c4a1ce5146.tar.gz
freebsd-ports-gnome-2e4655c46e1c5a8b398090b22eb863c4a1ce5146.tar.zst
freebsd-ports-gnome-2e4655c46e1c5a8b398090b22eb863c4a1ce5146.zip
- Add options: GTA, LIBXML2, PCRE and POPPLER
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gdal/Makefile35
1 files changed, 32 insertions, 3 deletions
diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile
index 426f8776717e..84bf9e497f1c 100644
--- a/graphics/gdal/Makefile
+++ b/graphics/gdal/Makefile
@@ -13,10 +13,11 @@ COMMENT= Translator library for raster geospatial data formats
LICENSE= MIT
-OPTIONS_DEFINE= CFITSIO CURL ECW EXPAT GEOS GEOTIFF GIF HDF5 ICONV JASPER \
- JPEG KML MYSQL NETCDF ODBC PGSQL PNG PROJ SQLITE TIFF WEBP \
- XERCES
+OPTIONS_DEFINE= CFITSIO CURL ECW EXPAT GEOS GEOTIFF GIF GTA HDF5 ICONV JASPER \
+ JPEG KML LIBXML2 MYSQL NETCDF ODBC PCRE PGSQL PNG POPPLER PROJ \
+ SQLITE TIFF WEBP XERCES
OPTIONS_DEFAULT=GEOTIFF GIF JASPER JPEG PNG TIFF
+PCRE_DESC= Regular expression support for SQLite
CFLAGS+= -fPIC ${PTHREAD_CFLAGS}
CONFIGURE_ARGS= --datadir=${DATADIR} \
@@ -82,6 +83,13 @@ CONFIGURE_ARGS+=--with-gif=${LOCALBASE}
CONFIGURE_ARGS+=--with-gif=internal
.endif
+.if ${PORT_OPTIONS:MGTA}
+LIB_DEPENDS+= gta:${PORTSDIR}/devel/libgta
+CONFIGURE_ARGS+=--with-gta=${LOCALBASE}
+.else
+CONFIGURE_ARGS+=--with-gta=no
+.endif
+
.if ${PORT_OPTIONS:MHDF5}
LIB_DEPENDS+= hdf5.7:${PORTSDIR}/science/hdf5-18
CONFIGURE_ARGS+=--with-hdf5=${LOCALBASE}
@@ -117,6 +125,13 @@ CONFIGURE_ARGS+=--with-libkml=${LOCALBASE}
CONFIGURE_ARGS+=--with-libkml=no
.endif
+.if ${PORT_OPTIONS:MLIBXML2}
+LIB_DEPENDS+= xml2:${PORTSDIR}/textproc/libxml2
+CONFIGURE_ARGS+=--with-xml2=${LOCALBASE}/bin/xml2-config
+.else
+CONFIGURE_ARGS+=--with-xml2=no
+.endif
+
.if ${PORT_OPTIONS:MMYSQL}
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE}/bin/mysql_config
USE_MYSQL= yes
@@ -138,6 +153,13 @@ CONFIGURE_ARGS+=--with-odbc=${LOCALBASE}
CONFIGURE_ARGS+=--with-odbc=no
.endif
+.if ${PORT_OPTIONS:MPCRE}
+LIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre
+CONFIGURE_ARGS+=--with-pcre=${LOCALBASE}
+.else
+CONFIGURE_ARGS+=--with-pcre=no
+.endif
+
.if ${PORT_OPTIONS:MPGSQL}
CONFIGURE_ARGS+=--with-pg=${LOCALBASE}/bin/pg_config
USE_PGSQL= yes
@@ -152,6 +174,13 @@ CONFIGURE_ARGS+=--with-png=${LOCALBASE}
CONFIGURE_ARGS+=--with-png=internal
.endif
+.if ${PORT_OPTIONS:MPOPPLER}
+LIB_DEPENDS+= poppler:${PORTSDIR}/graphics/poppler
+CONFIGURE_ARGS+=--with-poppler=${LOCALBASE}
+.else
+CONFIGURE_ARGS+=--with-poppler=no
+.endif
+
.if ${PORT_OPTIONS:MPROJ}
LIB_DEPENDS+= proj:${PORTSDIR}/graphics/proj
CONFIGURE_ARGS+=--with-static-proj4=${LOCALBASE}