From owner-svn-ports-head@FreeBSD.ORG Sat Sep 7 17:29:01 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 802DE466; Sat, 7 Sep 2013 17:29:01 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 54D782B5C; Sat, 7 Sep 2013 17:29:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r87HT1PW048313; Sat, 7 Sep 2013 17:29:01 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r87HT14u048312; Sat, 7 Sep 2013 17:29:01 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201309071729.r87HT14u048312@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Sat, 7 Sep 2013 17:29:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326664 - head/graphics/gdal X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Sep 2013 17:29:01 -0000 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}