git: 15345438fc89 - main - databases/sfcgal: Update to 1.5.0

From: Loïc Bartoletti <lbartoletti_at_FreeBSD.org>
Date: Tue, 31 Oct 2023 15:58:59 UTC
The branch main has been updated by lbartoletti:

URL: https://cgit.FreeBSD.org/ports/commit/?id=15345438fc89771c54018b2d6b27315a09bd7134

commit 15345438fc89771c54018b2d6b27315a09bd7134
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2023-10-26 11:35:15 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2023-10-31 15:58:51 +0000

    databases/sfcgal: Update to 1.5.0
    
    Changes:
      - https://gitlab.com/sfcgal/SFCGAL/-/blob/v1.5.0/NEWS?ref_type=tags#L1-15
---
 databases/postgis30/Makefile |  1 +
 databases/postgis31/Makefile |  1 +
 databases/postgis32/Makefile |  1 +
 databases/postgis33/Makefile |  1 +
 databases/postgis34/Makefile |  1 +
 databases/sfcgal/Makefile    | 11 +++++++----
 databases/sfcgal/distinfo    |  8 +++++---
 databases/sfcgal/pkg-plist   |  5 +++++
 graphics/gdal/Makefile       |  2 +-
 9 files changed, 23 insertions(+), 8 deletions(-)

diff --git a/databases/postgis30/Makefile b/databases/postgis30/Makefile
index cd999616aa26..3396b9d050fb 100644
--- a/databases/postgis30/Makefile
+++ b/databases/postgis30/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	postgis
 PORTVERSION=	3.0.9
+PORTREVISION=	1
 CATEGORIES=	databases geography
 MASTER_SITES=	https://download.osgeo.org/postgis/source/
 PKGNAMESUFFIX=	30
diff --git a/databases/postgis31/Makefile b/databases/postgis31/Makefile
index a028fc320374..64c51e7b2f85 100644
--- a/databases/postgis31/Makefile
+++ b/databases/postgis31/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	postgis
 PORTVERSION=	3.1.9
+PORTREVISION=	1
 CATEGORIES=	databases geography
 MASTER_SITES=	https://download.osgeo.org/postgis/source/
 PKGNAMESUFFIX=	31
diff --git a/databases/postgis32/Makefile b/databases/postgis32/Makefile
index 2bc921c95733..a32b2f920dad 100644
--- a/databases/postgis32/Makefile
+++ b/databases/postgis32/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	postgis
 DISTVERSION=	3.2.5
+PORTREVISION=	1
 CATEGORIES=	databases geography
 MASTER_SITES=	https://download.osgeo.org/postgis/source/
 PKGNAMESUFFIX=	32
diff --git a/databases/postgis33/Makefile b/databases/postgis33/Makefile
index 9765cf9113c3..c98ec95f627e 100644
--- a/databases/postgis33/Makefile
+++ b/databases/postgis33/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	postgis
 DISTVERSION=	3.3.4
+PORTREVISION=	1
 CATEGORIES=	databases geography
 MASTER_SITES=	https://download.osgeo.org/postgis/source/
 PKGNAMESUFFIX=	33
diff --git a/databases/postgis34/Makefile b/databases/postgis34/Makefile
index 3c841915423b..1a134c233052 100644
--- a/databases/postgis34/Makefile
+++ b/databases/postgis34/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	postgis
 DISTVERSION=	3.4.0
+PORTREVISION=	1
 CATEGORIES=	databases geography
 MASTER_SITES=	https://download.osgeo.org/postgis/source/
 PKGNAMESUFFIX=	34
diff --git a/databases/sfcgal/Makefile b/databases/sfcgal/Makefile
index 9a64d58935f4..5db78b7e53ef 100644
--- a/databases/sfcgal/Makefile
+++ b/databases/sfcgal/Makefile
@@ -1,9 +1,11 @@
 PORTNAME=	sfcgal
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.4.1
-PORTREVISION=	5
+DISTVERSION=	1.5.0
 CATEGORIES=	databases math graphics
 
+MASTER_SITES=	https://github.com/CGAL/cgal/releases/download/v5.6/:source1
+DISTFILES=	CGAL-5.6.tar.xz:source1
+
 MAINTAINER=	lbartoletti@FreeBSD.org
 COMMENT=	Wrapper library around CGAL for PostGIS
 WWW=		https://oslandia.gitlab.io/SFCGAL/
@@ -11,7 +13,6 @@ WWW=		https://oslandia.gitlab.io/SFCGAL/
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	cgal>0:math/cgal
 LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
 		libgmp.so:math/gmp \
 		libmpfr.so:math/mpfr
@@ -20,9 +21,11 @@ USES=		cmake compiler:c++14-lang
 USE_GITLAB=	yes
 GL_ACCOUNT=	Oslandia
 GL_PROJECT=	SFCGAL
-GL_TAGNAME=	2d6a1a89552f14fe2926038b7237686bb9e5472e
+GL_TAGNAME=	cbcf0adaa6cecc80347345952b5c850a64d2db4f
 USE_LDCONFIG=	yes
 
 PLIST_SUB=	SHL3=${PORTVERSION} SHL1=${PORTVERSION:R:R} DEBUG_SUFFIX=${WITH_DEBUG:Dd}
 
+CMAKE_ARGS+=	-DCGAL_DIR=${WRKDIR}/CGAL-5.6
+
 .include <bsd.port.mk>
diff --git a/databases/sfcgal/distinfo b/databases/sfcgal/distinfo
index f79b429a02e3..e4c2ce131413 100644
--- a/databases/sfcgal/distinfo
+++ b/databases/sfcgal/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1643299186
-SHA256 (Oslandia-SFCGAL-2d6a1a89552f14fe2926038b7237686bb9e5472e_GL0.tar.gz) = e643d51a16ea1c36291e8e371ea8096a59997506bda24945cac364e5b3391ede
-SIZE (Oslandia-SFCGAL-2d6a1a89552f14fe2926038b7237686bb9e5472e_GL0.tar.gz) = 2423030
+TIMESTAMP = 1698765444
+SHA256 (CGAL-5.6.tar.xz) = dcab9b08a50a06a7cc2cc69a8a12200f8d8f391b9b8013ae476965c10b45161f
+SIZE (CGAL-5.6.tar.xz) = 24874364
+SHA256 (Oslandia-SFCGAL-cbcf0adaa6cecc80347345952b5c850a64d2db4f_GL0.tar.gz) = 20920dabbfbac8c0fcc6f2f8aac63fb8144607f9e769ffba81db28c72c200e8d
+SIZE (Oslandia-SFCGAL-cbcf0adaa6cecc80347345952b5c850a64d2db4f_GL0.tar.gz) = 2435030
diff --git a/databases/sfcgal/pkg-plist b/databases/sfcgal/pkg-plist
index 86bc885719e1..2941fc708923 100644
--- a/databases/sfcgal/pkg-plist
+++ b/databases/sfcgal/pkg-plist
@@ -48,11 +48,13 @@ include/SFCGAL/algorithm/minkowskiSum.h
 include/SFCGAL/algorithm/normal.h
 include/SFCGAL/algorithm/offset.h
 include/SFCGAL/algorithm/orientation.h
+include/SFCGAL/algorithm/partition_2.h
 include/SFCGAL/algorithm/plane.h
 include/SFCGAL/algorithm/straightSkeleton.h
 include/SFCGAL/algorithm/tesselate.h
 include/SFCGAL/algorithm/translate.h
 include/SFCGAL/algorithm/union.h
+include/SFCGAL/algorithm/visibility.h
 include/SFCGAL/algorithm/volume.h
 include/SFCGAL/capi/sfcgal_c.h
 include/SFCGAL/config.h
@@ -77,6 +79,8 @@ include/SFCGAL/detail/graph/algorithm/isHalfEdge.h
 include/SFCGAL/detail/graph/algorithm/orientation.h
 include/SFCGAL/detail/io/OsgFactory.h
 include/SFCGAL/detail/io/Serialization.h
+include/SFCGAL/detail/io/WkbReader.h
+include/SFCGAL/detail/io/WkbWriter.h
 include/SFCGAL/detail/io/WktReader.h
 include/SFCGAL/detail/io/WktWriter.h
 include/SFCGAL/detail/polygonSetToMultiPolygon.h
@@ -100,6 +104,7 @@ include/SFCGAL/io/GeometryStreams.h
 include/SFCGAL/io/ewkt.h
 include/SFCGAL/io/osg.h
 include/SFCGAL/io/vtk.h
+include/SFCGAL/io/wkb.h
 include/SFCGAL/io/wkt.h
 include/SFCGAL/numeric.h
 include/SFCGAL/triangulate/triangulate2DZ.h
diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile
index 67c6f1aab8d4..16bf2d2b0749 100644
--- a/graphics/gdal/Makefile
+++ b/graphics/gdal/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gdal
 PORTVERSION=	3.7.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	graphics geography
 MASTER_SITES=	https://download.osgeo.org/gdal/${PORTVERSION}/ \
 		LOCAL/sunpoet