svn commit: r326664 - head/graphics/gdal

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Sep 7 17:29:01 UTC 2013


Author: sunpoet
Date: Sat Sep  7 17:29:00 2013
New Revision: 326664
URL: http://svnweb.freebsd.org/changeset/ports/326664

Log:
  - Add options: GTA, LIBXML2, PCRE and POPPLER

Modified:
  head/graphics/gdal/Makefile

Modified: head/graphics/gdal/Makefile
==============================================================================
--- head/graphics/gdal/Makefile	Sat Sep  7 17:21:58 2013	(r326663)
+++ head/graphics/gdal/Makefile	Sat Sep  7 17:29:00 2013	(r326664)
@@ -13,10 +13,11 @@ COMMENT=	Translator library for raster g
 
 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=${LOCALBAS
 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}


More information about the svn-ports-all mailing list