diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-09-07 17:29:00 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-09-07 17:29:00 +0000 |
commit | 9c6c586b9a2eb9fa38ba7816ea3e24ac582b2084 (patch) | |
tree | 50adb50b95ea552cd18546fe10ce1ff46e3fdc58 /graphics | |
parent | 90f9630c5f026f7f1e2db6c668e496be69217be8 (diff) | |
download | ports-9c6c586b9a2eb9fa38ba7816ea3e24ac582b2084.tar.gz ports-9c6c586b9a2eb9fa38ba7816ea3e24ac582b2084.zip |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gdal/Makefile | 35 |
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} |