Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2020 10:51:55 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r535394 - in head/graphics/gdal: . files
Message-ID:  <202005161051.04GApt6X014566@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat May 16 10:51:54 2020
New Revision: 535394
URL: https://svnweb.freebsd.org/changeset/ports/535394

Log:
  Update to 3.1.0
  
  Changes:	https://github.com/OSGeo/gdal/blob/release/3.1/gdal/NEWS
  PR:		246392
  Exp-run by:	antoine

Deleted:
  head/graphics/gdal/files/patch-scripts-GNUmakefile
Modified:
  head/graphics/gdal/Makefile
  head/graphics/gdal/distinfo
  head/graphics/gdal/pkg-plist

Modified: head/graphics/gdal/Makefile
==============================================================================
--- head/graphics/gdal/Makefile	Sat May 16 10:51:49 2020	(r535393)
+++ head/graphics/gdal/Makefile	Sat May 16 10:51:54 2020	(r535394)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gdal
-PORTVERSION=	3.0.4
-PORTREVISION=	4
+PORTVERSION=	3.1.0
 CATEGORIES=	graphics geography
 MASTER_SITES=	https://download.osgeo.org/gdal/${PORTVERSION}/ \
 		LOCAL/sunpoet
@@ -35,7 +34,7 @@ PCRE_DESC=	Regular expression support for SQLite
 USES=		compiler:c++11-lang gmake iconv jpeg localbase pkgconfig ssl tar:xz
 
 CFLAGS+=	-fPIC
-CONFIGURE_ARGS=	--datadir=${DATADIR} \
+CONFIGURE_ARGS=	--datadir=${PREFIX}/share \
 		--enable-static=yes \
 		--with-geotiff=yes \
 		--with-gif=yes \
@@ -102,7 +101,7 @@ JASPER_LIB_DEPENDS=	libjasper.so:graphics/jasper
 KML_CONFIGURE_WITH=	libkml
 KML_LIB_DEPENDS=	libkmlbase.so:science/libkml
 LIBXML2_CONFIGURE_OFF=	--with-xml2=no
-LIBXML2_CONFIGURE_ON=	--with-xml2=${LOCALBASE}/bin/xml2-config
+LIBXML2_CONFIGURE_ON=	--with-xml2=yes
 LIBXML2_LIB_DEPENDS=	libxml2.so:textproc/libxml2
 MYSQL_CONFIGURE_OFF=	--with-mysql=no
 MYSQL_CONFIGURE_ON=	--with-mysql=${LOCALBASE}/bin/mysql_config
@@ -151,9 +150,10 @@ post-patch:
 	@${RM} -r ${WRKSRC}/ogr/ogrsf_frmts/geojson/libjson/
 
 post-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
+	${INSTALL_DATA} ${WRKSRC}/scripts/gdal-bash-completion.sh ${STAGEDIR}${PREFIX}/etc/bash_completion.d
 	cd ${WRKSRC}/ && ${INSTALL_DATA} ${HEADER_FILES} ${STAGEDIR}${PREFIX}/include/
 	${INSTALL_DATA} ${WRKSRC}/libgdal.a ${STAGEDIR}${PREFIX}/lib/
-	${TOUCH} ${STAGEDIR}${PREFIX}/lib/gdalplugins/.keepme
 	${INSTALL_DATA} ${WRKSRC}/GDALmake.opt ${STAGEDIR}${DATADIR}/
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgdal.so.${PORTVERSION}
 

Modified: head/graphics/gdal/distinfo
==============================================================================
--- head/graphics/gdal/distinfo	Sat May 16 10:51:49 2020	(r535393)
+++ head/graphics/gdal/distinfo	Sat May 16 10:51:54 2020	(r535394)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1580562263
-SHA256 (gdal-3.0.4.tar.xz) = 5569a4daa1abcbba47a9d535172fc335194d9214fdb96cd0f139bb57329ae277
-SIZE (gdal-3.0.4.tar.xz) = 8696684
+TIMESTAMP = 1588929131
+SHA256 (gdal-3.1.0.tar.xz) = e754a22242ccbec731aacdb2333b567d4c95b9b02d3ba1ea12f70508d244fcda
+SIZE (gdal-3.1.0.tar.xz) = 12076312

Modified: head/graphics/gdal/pkg-plist
==============================================================================
--- head/graphics/gdal/pkg-plist	Sat May 16 10:51:49 2020	(r535393)
+++ head/graphics/gdal/pkg-plist	Sat May 16 10:51:54 2020	(r535394)
@@ -3,6 +3,7 @@ bin/gdal_contour
 bin/gdal_grid
 bin/gdal_rasterize
 bin/gdal_translate
+bin/gdal_viewshed
 bin/gdaladdo
 bin/gdalbuildvrt
 bin/gdaldem
@@ -10,6 +11,8 @@ bin/gdalenhance
 bin/gdalinfo
 bin/gdallocationinfo
 bin/gdalmanage
+bin/gdalmdiminfo
+bin/gdalmdimtranslate
 bin/gdalserver
 bin/gdalsrsinfo
 bin/gdaltindex
@@ -100,11 +103,12 @@ include/ogr_geometry.h
 include/ogr_p.h
 include/ogr_spatialref.h
 include/ogr_srs_api.h
+include/ogr_swq.h
 include/ogrsf_frmts.h
 include/rawdataset.h
 include/thinplatespline.h
 include/vrtdataset.h
-lib/gdalplugins/.keepme
+@dir lib/gdalplugins
 lib/libgdal.a
 lib/libgdal.so
 lib/libgdal.so.3
@@ -122,6 +126,7 @@ libdata/pkgconfig/gdal.pc
 %%DATADIR%%/epsg.wkt
 %%DATADIR%%/esri_StatePlane_extra.wkt
 %%DATADIR%%/gdalicon.png
+%%DATADIR%%/gdalmdiminfo_output.schema.json
 %%DATADIR%%/gdalvrt.xsd
 %%DATADIR%%/gml_registry.xml
 %%DATADIR%%/gmlasconf.xml
@@ -186,3 +191,4 @@ libdata/pkgconfig/gdal.pc
 %%DATADIR%%/trailer.dxf
 %%DATADIR%%/vdv452.xml
 %%DATADIR%%/vdv452.xsd
+%%DATADIR%%/vicar.json



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005161051.04GApt6X014566>