diff --git a/databases/postgis33/Makefile b/databases/postgis33/Makefile index 453bb5c9e9c1..a08cc3701479 100644 --- a/databases/postgis33/Makefile +++ b/databases/postgis33/Makefile @@ -1,94 +1,94 @@ PORTNAME= postgis DISTVERSION= 3.3.8 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= databases geography MASTER_SITES= https://download.osgeo.org/postgis/source/ PKGNAMESUFFIX= 33 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Geographic objects support for PostgreSQL databases WWW= https://postgis.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libproj.so:graphics/proj \ libgeos.so:graphics/geos \ libjson-c.so:devel/json-c \ libgdal.so:graphics/gdal \ libpcre2-8.so:devel/pcre2 USES= compiler:c++14-lang cpe gmake gnome iconv:wchar_t libtool:keepla \ localbase perl5 pkgconfig pgsql:11+ shebangfix USE_GNOME= libxml2 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} NUMERICFLAGS=${PORTVERSION} USE_CXXSTD= c++14 SHEBANG_FILES= extensions/address_standardizer/*.pl regress/run_test.pl \ utils/postgis_restore.pl.in utils/*.pl WANT_PGSQL= server OPTIONS_DEFINE= ADDRSTD JSON LOADERGUI NLS PROTOBUF RASTER SFCGAL TOPOLOGY WAGYU OPTIONS_DEFAULT=ADDRSTD JSON NLS PROTOBUF RASTER SFCGAL TOPOLOGY WAGYU OPTIONS_SUB= yes ADDRSTD_DESC= Enable address standardizer JSON_DESC= Enable JSON support NLS_DESC= Enable international language support LOADERGUI_DESC= Enable shp2pgsql-gui PROTOBUF_DESC= Enable protocol buffers RASTER_DESC= Enable raster support SFCGAL_DESC= Enable sfcgal TOPOLOGY_DESC= Topology support WAGYU_DESC= Enable WAGYU support ADDRSTD_CONFIGURE_WITH= address-standardizer ADDRSTD_LIB_DEPENDS= libpcre.so:devel/pcre ADDRSTD_VARS= WANT_PGSQL+=contrib JSON_CONFIGURE_WITH= json JSON_LIB_DEPENDS= libjson-c.so:devel/json-c LOADERGUI_CONFIGURE_WITH= gui LOADERGUI_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c LOADERGUI_USE= GNOME=gtk20 LOADERGUI_USES= desktop-file-utils NLS_CONFIGURE_WITH= nls NLS_USES= gettext PROTOBUF_CONFIGURE_WITH= protobuf PROTOBUF_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c SFCGAL_CONFIGURE_WITH= sfcgal=${LOCALBASE}/bin/sfcgal-config SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal TOPOLOGY_CONFIGURE_WITH= topology WAGYU_CONFIGURE_WITH= wagyu RASTER_CONFIGURE_WITH= raster CONFLICTS_INSTALL= postgis[0-9][0-9] # lib/postgresql/address_standardizer-3.so VER= ${PORTVERSION:R} PLIST_SUB= PORTVERSION=${PORTVERSION}${DISTVERSIONSUFFIX} \ VER=${VER} .include .if ${PGSQL_VER} > 17 IGNORE= Only supported up to pgsql 17 .endif .if ${CHOSEN_COMPILER_TYPE} == gcc post-patch: ${REINPLACE_CMD} -e '/^#pragma GCC diagnostic/d' \ ${WRKSRC}/postgis/lwgeom_functions_basic.c \ ${WRKSRC}/postgis/lwgeom_geos.c .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgs* ${STAGEDIR}${PREFIX}/bin/rast* ${STAGEDIR}${PREFIX}/bin/shp* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/*.so ${MKDIR} ${STAGEDIR}${DATADIR}/tiger_geocoder (cd ${WRKSRC}/extras/tiger_geocoder && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/tiger_geocoder/ "! ( -name *\.orig -o -name *\.bak )" ) ${MKDIR} ${STAGEDIR}${DATADIR}/utils (cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils/ "! ( -name *\.orig -o -name *\.bak -o -name Makefile -o -name *\.in -o -name uninstall_script )" ) .include diff --git a/databases/postgis34/Makefile b/databases/postgis34/Makefile index b5a6f5135f3e..22a6bcd5902d 100644 --- a/databases/postgis34/Makefile +++ b/databases/postgis34/Makefile @@ -1,91 +1,91 @@ PORTNAME= postgis DISTVERSION= 3.4.4 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= databases geography MASTER_SITES= https://download.osgeo.org/postgis/source/ PKGNAMESUFFIX= 34 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Geographic objects support for PostgreSQL databases WWW= https://postgis.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libproj.so:graphics/proj \ libgeos.so:graphics/geos \ libjson-c.so:devel/json-c \ libgdal.so:graphics/gdal \ libpcre2-8.so:devel/pcre2 USES= compiler:c++11-lang cpe gmake gnome iconv:wchar_t libtool:keepla \ localbase perl5 pkgconfig pgsql:11+ shebangfix USE_GNOME= libxml2 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} NUMERICFLAGS=${PORTVERSION} GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share SHEBANG_FILES= extensions/address_standardizer/*.pl regress/run_test.pl \ utils/postgis_restore.pl.in utils/*.pl loader/postgis.pl WANT_PGSQL= server OPTIONS_DEFINE= ADDRSTD JSON LOADERGUI NLS PROTOBUF RASTER SFCGAL TOPOLOGY OPTIONS_DEFAULT=ADDRSTD JSON NLS PROTOBUF RASTER SFCGAL TOPOLOGY LOADERGUI OPTIONS_SUB= yes ADDRSTD_DESC= Enable address standardizer JSON_DESC= Enable JSON support NLS_DESC= Enable international language support LOADERGUI_DESC= Enable shp2pgsql-gui PROTOBUF_DESC= Enable protocol buffers RASTER_DESC= Enable raster support SFCGAL_DESC= Enable sfcgal TOPOLOGY_DESC= Topology support ADDRSTD_CONFIGURE_WITH= address-standardizer ADDRSTD_VARS= WANT_PGSQL+=contrib JSON_CONFIGURE_WITH= json JSON_LIB_DEPENDS= libjson-c.so:devel/json-c LOADERGUI_CONFIGURE_WITH= gui LOADERGUI_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c LOADERGUI_USE= GNOME=gtk20 LOADERGUI_USES= desktop-file-utils NLS_CONFIGURE_WITH= nls NLS_USES= gettext PROTOBUF_CONFIGURE_WITH= protobuf PROTOBUF_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c SFCGAL_CONFIGURE_WITH= sfcgal=${LOCALBASE}/bin/sfcgal-config SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal TOPOLOGY_CONFIGURE_WITH= topology RASTER_CONFIGURE_WITH= raster CONFLICTS_INSTALL= postgis[0-9][0-9] # lib/postgresql/address_standardizer-3.so VER= ${PORTVERSION:R} PLIST_SUB= PORTVERSION=${PORTVERSION}${DISTVERSIONSUFFIX} \ VER=${VER} .include .if ${PGSQL_VER} > 17 IGNORE= Only supported up to pgsql 17 .endif .if ${CHOSEN_COMPILER_TYPE} == gcc post-patch: ${REINPLACE_CMD} -e '/^#pragma GCC diagnostic/d' \ ${WRKSRC}/postgis/lwgeom_functions_basic.c \ ${WRKSRC}/postgis/lwgeom_geos.c .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgs* ${STAGEDIR}${PREFIX}/bin/rast* ${STAGEDIR}${PREFIX}/bin/shp* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/*.so ${MKDIR} ${STAGEDIR}${DATADIR}/tiger_geocoder (cd ${WRKSRC}/extras/tiger_geocoder && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/tiger_geocoder/ "! ( -name *\.orig -o -name *\.bak )" ) ${MKDIR} ${STAGEDIR}${DATADIR}/utils (cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils/ "! ( -name *\.orig -o -name *\.bak -o -name Makefile -o -name *\.in -o -name uninstall_script )" ) .include diff --git a/databases/postgis35/Makefile b/databases/postgis35/Makefile index c3f1f469112c..1280e436ca48 100644 --- a/databases/postgis35/Makefile +++ b/databases/postgis35/Makefile @@ -1,87 +1,87 @@ PORTNAME= postgis DISTVERSION= 3.5.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases geography MASTER_SITES= https://download.osgeo.org/postgis/source/ PKGNAMESUFFIX= 35 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Geographic objects support for PostgreSQL databases WWW= https://postgis.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libproj.so:graphics/proj \ libgeos.so:graphics/geos \ libjson-c.so:devel/json-c \ libgdal.so:graphics/gdal \ libpcre2-8.so:devel/pcre2 USES= compiler:c++11-lang cpe gmake gnome iconv:wchar_t libtool:keepla \ localbase perl5 pkgconfig pgsql:11+ shebangfix USE_GNOME= libxml2 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} NUMERICFLAGS=${PORTVERSION} GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share SHEBANG_FILES= extensions/address_standardizer/*.pl regress/run_test.pl \ utils/postgis_restore.pl.in utils/*.pl loader/postgis.pl WANT_PGSQL= server OPTIONS_DEFINE= ADDRSTD JSON LOADERGUI NLS PROTOBUF RASTER SFCGAL TOPOLOGY OPTIONS_DEFAULT=ADDRSTD JSON NLS PROTOBUF RASTER SFCGAL TOPOLOGY LOADERGUI OPTIONS_SUB= yes ADDRSTD_DESC= Enable address standardizer JSON_DESC= Enable JSON support NLS_DESC= Enable international language support LOADERGUI_DESC= Enable shp2pgsql-gui PROTOBUF_DESC= Enable protocol buffers RASTER_DESC= Enable raster support SFCGAL_DESC= Enable sfcgal TOPOLOGY_DESC= Topology support ADDRSTD_CONFIGURE_WITH= address-standardizer ADDRSTD_VARS= WANT_PGSQL+=contrib JSON_CONFIGURE_WITH= json JSON_LIB_DEPENDS= libjson-c.so:devel/json-c LOADERGUI_CONFIGURE_WITH= gui LOADERGUI_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c LOADERGUI_USE= GNOME=gtk20 LOADERGUI_USES= desktop-file-utils NLS_CONFIGURE_WITH= nls NLS_USES= gettext PROTOBUF_CONFIGURE_WITH= protobuf PROTOBUF_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c SFCGAL_CONFIGURE_WITH= sfcgal=${LOCALBASE}/bin/sfcgal-config SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal TOPOLOGY_CONFIGURE_WITH= topology RASTER_CONFIGURE_WITH= raster CONFLICTS_INSTALL= postgis[0-9][0-9] # lib/postgresql/address_standardizer-3.so VER= ${PORTVERSION:R} PLIST_SUB= PORTVERSION=${PORTVERSION}${DISTVERSIONSUFFIX} \ VER=${VER} .include .if ${CHOSEN_COMPILER_TYPE} == gcc post-patch: ${REINPLACE_CMD} -e '/^#pragma GCC diagnostic/d' \ ${WRKSRC}/postgis/lwgeom_functions_basic.c \ ${WRKSRC}/postgis/lwgeom_geos.c .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgs* ${STAGEDIR}${PREFIX}/bin/rast* ${STAGEDIR}${PREFIX}/bin/shp* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/*.so ${MKDIR} ${STAGEDIR}${DATADIR}/tiger_geocoder (cd ${WRKSRC}/extras/tiger_geocoder && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/tiger_geocoder/ "! ( -name *\.orig -o -name *\.bak )" ) ${MKDIR} ${STAGEDIR}${DATADIR}/utils (cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils/ "! ( -name *\.orig -o -name *\.bak -o -name Makefile -o -name *\.in -o -name uninstall_script )" ) .include diff --git a/databases/postgis36/Makefile b/databases/postgis36/Makefile index 52cf34d0b56c..b9800c711cb8 100644 --- a/databases/postgis36/Makefile +++ b/databases/postgis36/Makefile @@ -1,86 +1,86 @@ PORTNAME= postgis DISTVERSION= 3.6.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases geography MASTER_SITES= https://download.osgeo.org/postgis/source/ MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Geographic objects support for PostgreSQL databases WWW= https://postgis.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libproj.so:graphics/proj \ libgeos.so:graphics/geos \ libjson-c.so:devel/json-c \ libgdal.so:graphics/gdal \ libpcre2-8.so:devel/pcre2 USES= compiler:c++11-lang cpe gmake gnome iconv:wchar_t libtool:keepla \ localbase perl5 pkgconfig pgsql:11+ shebangfix USE_GNOME= libxml2 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} NUMERICFLAGS=${PORTVERSION} GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share SHEBANG_FILES= extensions/address_standardizer/*.pl regress/run_test.pl \ utils/postgis_restore.pl.in utils/*.pl loader/postgis.pl WANT_PGSQL= server OPTIONS_DEFINE= ADDRSTD JSON LOADERGUI NLS PROTOBUF RASTER SFCGAL TOPOLOGY OPTIONS_DEFAULT=ADDRSTD JSON NLS PROTOBUF RASTER SFCGAL TOPOLOGY LOADERGUI OPTIONS_SUB= yes ADDRSTD_DESC= Enable address standardizer JSON_DESC= Enable JSON support NLS_DESC= Enable international language support LOADERGUI_DESC= Enable shp2pgsql-gui PROTOBUF_DESC= Enable protocol buffers RASTER_DESC= Enable raster support SFCGAL_DESC= Enable sfcgal TOPOLOGY_DESC= Topology support ADDRSTD_CONFIGURE_WITH= address-standardizer ADDRSTD_VARS= WANT_PGSQL+=contrib JSON_CONFIGURE_WITH= json JSON_LIB_DEPENDS= libjson-c.so:devel/json-c LOADERGUI_CONFIGURE_WITH= gui LOADERGUI_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c LOADERGUI_USE= GNOME=gtk20 LOADERGUI_USES= desktop-file-utils NLS_CONFIGURE_WITH= nls NLS_USES= gettext PROTOBUF_CONFIGURE_WITH= protobuf PROTOBUF_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c SFCGAL_CONFIGURE_WITH= sfcgal=${LOCALBASE}/bin/sfcgal-config SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal TOPOLOGY_CONFIGURE_WITH= topology RASTER_CONFIGURE_WITH= raster CONFLICTS_INSTALL= postgis[0-9][0-9] # lib/postgresql/address_standardizer-3.so VER= ${PORTVERSION:R} PLIST_SUB= PORTVERSION=${PORTVERSION}${DISTVERSIONSUFFIX} \ VER=${VER} .include .if ${CHOSEN_COMPILER_TYPE} == gcc post-patch: ${REINPLACE_CMD} -e '/^#pragma GCC diagnostic/d' \ ${WRKSRC}/postgis/lwgeom_functions_basic.c \ ${WRKSRC}/postgis/lwgeom_geos.c .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgs* ${STAGEDIR}${PREFIX}/bin/rast* ${STAGEDIR}${PREFIX}/bin/shp* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/*.so ${MKDIR} ${STAGEDIR}${DATADIR}/tiger_geocoder (cd ${WRKSRC}/extras/tiger_geocoder && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/tiger_geocoder/ "! ( -name *\.orig -o -name *\.bak )" ) ${MKDIR} ${STAGEDIR}${DATADIR}/utils (cd ${WRKSRC}/utils/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils/ "! ( -name *\.orig -o -name *\.bak -o -name Makefile -o -name *\.in -o -name uninstall_script )" ) .include diff --git a/databases/sfcgal/Makefile b/databases/sfcgal/Makefile index eea6468fb131..da96fb71e7ee 100644 --- a/databases/sfcgal/Makefile +++ b/databases/sfcgal/Makefile @@ -1,32 +1,31 @@ PORTNAME= sfcgal DISTVERSIONPREFIX= v -DISTVERSION= 2.2.0 -PORTREVISION= 1 +DISTVERSION= 2.3.0 CATEGORIES= databases math graphics - MASTER_SITES= https://github.com/CGAL/cgal/releases/download/v${CGAL_VERSION}/:source1 DISTFILES= CGAL-${CGAL_VERSION}.tar.xz:source1 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Wrapper library around CGAL for PostGIS WWW= https://oslandia.gitlab.io/SFCGAL/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= nlohmann-json>=3.0.0:devel/nlohmann-json LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr -USES= cmake compiler:c++14-lang +USES= cmake compiler:c++17-lang eigen:3 USE_GITLAB= yes GL_ACCOUNT= SFCGAL GL_PROJECT= SFCGAL USE_LDCONFIG= yes +CGAL_VERSION= 6.1.2 PLIST_SUB= SHL3=${PORTVERSION} SHL1=${PORTVERSION:R:R} DEBUG_SUFFIX=${WITH_DEBUG:Dd} -CGAL_VERSION= 6.0.1 -CMAKE_ARGS+= -DCGAL_DIR=${WRKDIR}/CGAL-${CGAL_VERSION} +CMAKE_ARGS+= -DCGAL_DIR=${WRKDIR}/CGAL-${CGAL_VERSION} -DSFCGAL_BUILD_CLI=ON .include diff --git a/databases/sfcgal/distinfo b/databases/sfcgal/distinfo index 355e0c0de2a5..1a752ffe178a 100644 --- a/databases/sfcgal/distinfo +++ b/databases/sfcgal/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1754333037 -SHA256 (CGAL-6.0.1.tar.xz) = 0acdfbf317c556630dd526f3253780f29b6ec9713ee92903e81b5c93c0f59b7f -SIZE (CGAL-6.0.1.tar.xz) = 25659212 -SHA256 (SFCGAL-v2.2.0.tar.bz2) = 053ccb225dbc4b31272fbbd49d014766d5080508c61875357539f29a6da9e9a2 -SIZE (SFCGAL-v2.2.0.tar.bz2) = 2839118 +TIMESTAMP = 1781275636 +SHA256 (CGAL-6.1.2.tar.xz) = 40411b97c5c64ddc1af1d153d57a39e424d21e947eef2b194fa05c5a8b002eea +SIZE (CGAL-6.1.2.tar.xz) = 26304256 +SHA256 (SFCGAL-v2.3.0.tar.bz2) = f3e136cb47ee586d91fe7070c3485a1a261f1a7e5981ff1b8b873621988c402e +SIZE (SFCGAL-v2.3.0.tar.bz2) = 4159617 diff --git a/databases/sfcgal/files/patch-CMakeLists.txt b/databases/sfcgal/files/patch-CMakeLists.txt deleted file mode 100644 index 9cf1c40f81ad..000000000000 --- a/databases/sfcgal/files/patch-CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- CMakeLists.txt.orig 2025-08-01 21:31:20 UTC -+++ CMakeLists.txt -@@ -122,7 +122,7 @@ endif() - endif() - - #-- minimalist build allowed with boost version older than 1.48 --set( SFCGAL_Boost_COMPONENTS thread system serialization ) -+set( SFCGAL_Boost_COMPONENTS thread serialization ) - #-- program_options - if ( SFCGAL_BUILD_TESTS OR SFCGAL_BUILD_EXAMPLES OR SFCGAL_BUILD_OSG ) - set( SFCGAL_Boost_COMPONENTS chrono unit_test_framework filesystem program_options timer ${SFCGAL_Boost_COMPONENTS} ) diff --git a/databases/sfcgal/pkg-plist b/databases/sfcgal/pkg-plist index c5e833bd4fda..d72441882e29 100644 --- a/databases/sfcgal/pkg-plist +++ b/databases/sfcgal/pkg-plist @@ -1,140 +1,163 @@ bin/sfcgal-config +bin/sfcgalop include/SFCGAL/Coordinate.h +include/SFCGAL/Curve.h +include/SFCGAL/DereferenceIterator.h include/SFCGAL/Envelope.h include/SFCGAL/Exception.h include/SFCGAL/Geometry.h include/SFCGAL/GeometryCollection.h include/SFCGAL/GeometryVisitor.h include/SFCGAL/Kernel.h include/SFCGAL/LineString.h include/SFCGAL/MultiLineString.h include/SFCGAL/MultiPoint.h include/SFCGAL/MultiPolygon.h include/SFCGAL/MultiSolid.h +include/SFCGAL/NURBSCurve.h include/SFCGAL/Point.h include/SFCGAL/Polygon.h include/SFCGAL/PolyhedralSurface.h include/SFCGAL/PreparedGeometry.h include/SFCGAL/Segment.h include/SFCGAL/Simplicity.h include/SFCGAL/Solid.h include/SFCGAL/Surface.h include/SFCGAL/Transform.h include/SFCGAL/Triangle.h include/SFCGAL/TriangulatedSurface.h include/SFCGAL/Validity.h include/SFCGAL/algorithm/BoundaryVisitor.h +include/SFCGAL/algorithm/Chamfer.h include/SFCGAL/algorithm/ConsistentOrientationBuilder.h +include/SFCGAL/algorithm/Sweep.h include/SFCGAL/algorithm/alphaShapes.h include/SFCGAL/algorithm/alphaWrapping3D.h include/SFCGAL/algorithm/area.h include/SFCGAL/algorithm/buffer3D.h include/SFCGAL/algorithm/centroid.h include/SFCGAL/algorithm/collect.h include/SFCGAL/algorithm/collectionExtract.h include/SFCGAL/algorithm/collectionHomogenize.h include/SFCGAL/algorithm/collectionToMulti.h include/SFCGAL/algorithm/connection.h include/SFCGAL/algorithm/convexHull.h include/SFCGAL/algorithm/covers.h include/SFCGAL/algorithm/difference.h include/SFCGAL/algorithm/differencePrimitives.h include/SFCGAL/algorithm/distance.h include/SFCGAL/algorithm/distance3d.h +include/SFCGAL/algorithm/equality.h include/SFCGAL/algorithm/extrude.h include/SFCGAL/algorithm/force2D.h include/SFCGAL/algorithm/force3D.h include/SFCGAL/algorithm/forceMeasured.h +include/SFCGAL/algorithm/insertPointsWithinTolerance.h include/SFCGAL/algorithm/intersection.h include/SFCGAL/algorithm/intersects.h +include/SFCGAL/algorithm/isClosed.h include/SFCGAL/algorithm/isSimple.h include/SFCGAL/algorithm/isValid.h include/SFCGAL/algorithm/length.h include/SFCGAL/algorithm/lineSubstring.h +include/SFCGAL/algorithm/meshToPolyhedralSurface.h include/SFCGAL/algorithm/minkowskiSum.h include/SFCGAL/algorithm/minkowskiSum3D.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/polygonRepair.h +include/SFCGAL/algorithm/roofGeneration.h include/SFCGAL/algorithm/rotate.h include/SFCGAL/algorithm/scale.h include/SFCGAL/algorithm/simplification.h +include/SFCGAL/algorithm/split3D.h include/SFCGAL/algorithm/straightSkeleton.h -include/SFCGAL/algorithm/tesselate.h +include/SFCGAL/algorithm/surfaceSimplification.h +include/SFCGAL/algorithm/tessellate.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 include/SFCGAL/detail/ComplexComparator.h include/SFCGAL/detail/ConstraintInfo.h include/SFCGAL/detail/EnvelopeVisitor.h include/SFCGAL/detail/ForceValidityVisitor.h include/SFCGAL/detail/GeometrySet.h include/SFCGAL/detail/GetPointsVisitor.h include/SFCGAL/detail/Interval.h include/SFCGAL/detail/SegmentStore.h include/SFCGAL/detail/TestGeometry.h include/SFCGAL/detail/TypeForDimension.h include/SFCGAL/detail/algorithm/coversPoints.h +include/SFCGAL/detail/algorithm/meshToPolyhedralSurface.h include/SFCGAL/detail/algorithm/simplification.h +include/SFCGAL/detail/algorithm/split3D.h include/SFCGAL/detail/generator/building.h include/SFCGAL/detail/generator/disc.h include/SFCGAL/detail/generator/hoch.h include/SFCGAL/detail/generator/sierpinski.h include/SFCGAL/detail/graph/Edge.h include/SFCGAL/detail/graph/GeometryGraph.h include/SFCGAL/detail/graph/GeometryGraphBuilder.h include/SFCGAL/detail/graph/Vertex.h include/SFCGAL/detail/graph/algorithm/isHalfEdge.h include/SFCGAL/detail/graph/algorithm/orientation.h include/SFCGAL/detail/io/OsgFactory.h +include/SFCGAL/detail/io/RecursionGuard.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 include/SFCGAL/detail/tools/CharArrayBuffer.h include/SFCGAL/detail/tools/InputStreamReader.h include/SFCGAL/detail/tools/Log.h include/SFCGAL/detail/tools/Registry.h include/SFCGAL/detail/transform/AffineTransform2.h include/SFCGAL/detail/transform/AffineTransform3.h include/SFCGAL/detail/transform/Force2D.h include/SFCGAL/detail/transform/ForceM.h include/SFCGAL/detail/transform/ForceOrderPoints.h include/SFCGAL/detail/transform/ForceZ.h include/SFCGAL/detail/transform/ForceZOrderPoints.h include/SFCGAL/detail/transform/RoundTransform.h include/SFCGAL/detail/triangulate/ConstraintDelaunayTriangulation.h include/SFCGAL/detail/triangulate/markDomains.h include/SFCGAL/detail/triangulate/triangulateInGeometrySet.h include/SFCGAL/detail/ublas.h include/SFCGAL/export.h include/SFCGAL/io/GeometryStreams.h include/SFCGAL/io/OBJ.h include/SFCGAL/io/STL.h include/SFCGAL/io/ewkt.h +include/SFCGAL/io/geojson.h include/SFCGAL/io/osg.h include/SFCGAL/io/vtk.h include/SFCGAL/io/wkb.h include/SFCGAL/io/wkt.h include/SFCGAL/namespace.h include/SFCGAL/numeric.h +include/SFCGAL/primitive3d/Box.h +include/SFCGAL/primitive3d/Cone.h +include/SFCGAL/primitive3d/Cube.h include/SFCGAL/primitive3d/Cylinder.h +include/SFCGAL/primitive3d/Primitive.h include/SFCGAL/primitive3d/Sphere.h +include/SFCGAL/primitive3d/Torus.h include/SFCGAL/triangulate/triangulate2DZ.h include/SFCGAL/triangulate/triangulatePolygon.h include/SFCGAL/version.h lib/cmake/SFCGAL/SFCGALConfig.cmake lib/cmake/SFCGAL/SFCGALConfigVersion.cmake lib/cmake/SFCGAL/SFCGALTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/SFCGAL/SFCGALTargets.cmake lib/libSFCGAL%%DEBUG_SUFFIX%%.so lib/libSFCGAL%%DEBUG_SUFFIX%%.so.%%SHL1%% lib/libSFCGAL%%DEBUG_SUFFIX%%.so.%%SHL3%% libdata/pkgconfig/sfcgal.pc diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile index de10c8ac2efa..6ae91a12bca7 100644 --- a/graphics/gdal/Makefile +++ b/graphics/gdal/Makefile @@ -1,276 +1,277 @@ PORTNAME= gdal PORTVERSION= 3.13.0 +PORTREVISION= 1 CATEGORIES= graphics geography MASTER_SITES= https://download.osgeo.org/gdal/${PORTVERSION}/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= Translator library for raster geospatial data formats WWW= https://gdal.org/ \ https://github.com/OSGeo/gdal LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.TXT BUILD_DEPENDS= fast_float>=0:math/fast_float \ libdivide>=0:math/libdivide \ libertiff>=0:graphics/libertiff \ libgeotiff>=1.5.0:graphics/libgeotiff \ proj>=6,1:graphics/proj LIB_DEPENDS= libgeotiff.so:graphics/libgeotiff \ libgif.so:graphics/giflib \ libjson-c.so:devel/json-c \ libpng.so:graphics/png \ libproj.so:graphics/proj \ libqhull_r.so:math/qhull \ libtiff.so:graphics/tiff USES= cmake compiler:c++17-lang cpe iconv jpeg localbase pkgconfig ssl tar:xz CMAKE_OFF= BUILD_CSHARP_BINDINGS \ BUILD_DOCS \ BUILD_JAVA_BINDINGS \ BUILD_PYTHON_BINDINGS \ BUILD_PYTHON_STUBS \ BUILD_TESTING \ BUILD_VSIPRELOAD \ CLANG_TIDY_ENABLED \ CSHARP_MONO \ ENABLE_DEFLATE64 \ GDAL_ENABLE_HDF5_GLOBAL_LOCK \ GDAL_ENABLE_PLUGINS \ GDAL_ENABLE_PLUGINS_NO_DEPS \ GDAL_SET_INSTALL_RELATIVE_RPATH \ GDAL_USE_INTERNAL_LIBS \ GDAL_USE_GEOTIFF_INTERNAL \ GDAL_USE_GIF_INTERNAL \ GDAL_USE_JPEG12_INTERNAL \ GDAL_USE_JPEG_INTERNAL \ GDAL_USE_JSONC_INTERNAL \ GDAL_USE_LERC_INTERNAL \ GDAL_USE_LIBCSF_INTERNAL \ GDAL_USE_OPENCAD \ GDAL_USE_OPENCAD_INTERNAL \ GDAL_USE_PNG_INTERNAL \ GDAL_USE_PUBLICDECOMPWT \ GDAL_USE_QHULL_INTERNAL \ GDAL_USE_SHAPELIB \ GDAL_USE_TIFF_INTERNAL \ GDAL_USE_ZLIB_INTERNAL \ HDFS_ENABLED \ SWIG_REGENERATE_PYTHON \ ${CMAKE_OFF_${ARCH}} CMAKE_OFF_armv7=GDAL_ENABLE_ARM_NEON_OPTIMIZATIONS CMAKE_ON= AVIF_VERSION_CHECK \ BUILD_APPS \ BUILD_SHARED_LIBS \ BUILD_STATIC_LIBS \ ENABLE_GNM \ ENABLE_IPO \ ENABLE_PAM \ GDAL_AUTOLOAD_PLUGINS \ GDAL_BUILD_OPTIONAL_DRIVERS \ GDAL_ENABLE_ALGORITHMS \ GDAL_HIDE_INTERNAL_SYMBOLS \ GDAL_OBJECT_LIBRARIES_POSITION_INDEPENDENT_CODE \ GDAL_SPLIT_EXPORTED_LIBS \ GDAL_USE_CPL_MULTIPROC_PTHREAD \ GDAL_USE_EXTERNAL_LIBS \ GDAL_USE_GEOTIFF \ GDAL_USE_GIF \ GDAL_USE_ICONV \ GDAL_USE_JPEG \ GDAL_USE_JPEG12 \ GDAL_USE_JSONC \ GDAL_USE_LIBCSF \ GDAL_USE_LIBLZMA \ GDAL_USE_OPENSSL \ GDAL_USE_PNG \ GDAL_USE_QHULL \ GDAL_USE_SHAPELIB_INTERNAL \ GDAL_USE_TIFF \ GDAL_USE_ZLIB \ OGR_BUILD_OPTIONAL_DRIVERS \ OGR_SQLITE_ALLOW_LOAD_EXTENSIONS \ RENAME_INTERNAL_SHAPELIB_SYMBOLS \ USE_CCACHE USE_CXXSTD= c++17 USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} CPE_VENDOR= osgeo HEADER_FILES= alg/gvgcpfit.h \ alg/internal_qhull_headers.h \ alg/thinplatespline.h\ gcore/gdalexif.h \ gcore/gdaljp2metadatagenerator.h \ gcore/gdalsse_priv.h \ gnm/gnm_priv.h \ port/cpl_aws.h \ port/cpl_cpu_features.h \ port/cpl_google_cloud.h \ port/cpl_odbc.h \ port/cpl_sha1.h \ port/cpl_sha256.h \ port/cpl_vsil_curl_priv.h \ port/cpl_worker_thread_pool.h OPTIONS_DEFINE= AEC ARMADILLO BLOSC BRUNSLI CFITSIO CRYPTOPP CURL DEFLATE ECW EXPAT FREEXL GEOS GTA HDF5 HEIF JXL KEA KML LERC LIBXML2 LZ4 MYSQL NETCDF ODBC OPENDRIVE OPENEXR OPENJPEG PCRE2 PGSQL QB3 RASTERLITE2 SFCGAL SPATIALITE SQLITE TILEDB WEBP XERCES ZSTD OPTIONS_RADIO= PDF OPTIONS_RADIO_PDF= PODOFO POPPLER OPTIONS_DEFAULT=AEC CURL DEFLATE EXPAT FREEXL GEOS LERC LIBXML2 LZ4 OPENJPEG PCRE2 PGSQL POPPLER WEBP ZSTD \ HDF5 KML NETCDF SPATIALITE SFCGAL SQLITE XERCES OPTIONS_EXCLUDE_powerpc= LERC OPTIONS_EXCLUDE_powerpc64= LERC OPTIONS_SUB= yes AEC_DESC= Adaptive entropy coding library BLOSC_DESC= Blosc support in Zarr driver BRUNSLI_DESC= Brunsli support via libbrunsli library CRYPTOPP_DESC= Cryptopp support DEFLATE_DESC= Faster deflate support via libdeflate library KEA_DESC= KEA format support LERC_DESC= LERC (Limited Error Raster Compression) support OPENDRIVE_DESC= OpenDRIVE format support PCRE2_DESC= Regular expression support for SQLite QB3_DESC= QB3 compression in MRF driver RASTERLITE2_DESC= RasterLite2 support TILEDB_DESC= TileDB support AEC_CMAKE_BOOL= GDAL_USE_LIBAEC AEC_LIB_DEPENDS= libaec.so:science/libaec ARMADILLO_CMAKE_BOOL= GDAL_USE_ARMADILLO ARMADILLO_LIB_DEPENDS= libarmadillo.so:math/armadillo BLOSC_CMAKE_BOOL= GDAL_USE_BLOSC BLOSC_LIB_DEPENDS= libblosc.so:archivers/c-blosc BRUNSLI_CMAKE_BOOL= GDAL_USE_BRUNSLI BRUNSLI_LIB_DEPENDS= libbrunslidec-c.so:graphics/brunsli CFITSIO_CMAKE_BOOL= GDAL_USE_CFITSIO CFITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio CRYPTOPP_CMAKE_BOOL= GDAL_USE_CRYPTOPP CRYPTOPP_LIB_DEPENDS= libcryptopp.so:security/cryptopp CURL_CMAKE_BOOL= GDAL_USE_CURL CURL_LIB_DEPENDS= libcurl.so:ftp/curl DEFLATE_CMAKE_BOOL= GDAL_USE_DEFLATE DEFLATE_LIB_DEPENDS= libdeflate.so:archivers/libdeflate ECW_CMAKE_BOOL= GDAL_USE_ECW ECW_LIB_DEPENDS= libNCSEcw.so:graphics/libecwj2 EXPAT_CMAKE_BOOL= GDAL_USE_EXPAT EXPAT_LIB_DEPENDS= libexpat.so:textproc/expat2 FREEXL_CMAKE_BOOL= GDAL_USE_FREEXL FREEXL_LIB_DEPENDS= libfreexl.so:textproc/freexl GEOS_CMAKE_BOOL= GDAL_USE_GEOS GEOS_LIB_DEPENDS= libgeos.so:graphics/geos GTA_CMAKE_BOOL= GDAL_USE_GTA GTA_LIB_DEPENDS= libgta.so:devel/libgta HDF5_CMAKE_BOOL= GDAL_USE_HDF5 HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 HEIF_CMAKE_BOOL= GDAL_USE_HEIF HEIF_LIB_DEPENDS= libheif.so:graphics/libheif JXL_CMAKE_BOOL= GDAL_USE_JXL GDAL_USE_JXL_THREADS JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl KEA_CMAKE_BOOL= GDAL_USE_KEA KEA_LIB_DEPENDS= libkea.so:graphics/kealib KML_CMAKE_BOOL= GDAL_USE_LIBKML KML_LIB_DEPENDS= libkmlbase.so:science/libkml \ liburiparser.so:net/uriparser KML_USES= minizip LERC_CMAKE_BOOL= GDAL_USE_LERC LERC_LIB_DEPENDS= libLerc.so:graphics/lerc LIBXML2_CMAKE_BOOL= GDAL_USE_LIBXML2 LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 LZ4_CMAKE_BOOL= GDAL_USE_LZ4 LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 MYSQL_CMAKE_BOOL= GDAL_USE_MYSQL MYSQL_USES= mysql NETCDF_CMAKE_BOOL= GDAL_USE_NETCDF NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf ODBC_CMAKE_BOOL= GDAL_USE_ODBC ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC OPENDRIVE_CMAKE_BOOL= GDAL_USE_OPENDRIVE OPENDRIVE_LDFLAGS= -lpugixml OPENDRIVE_LIB_DEPENDS= libOpenDrive.so:graphics/libopendrive \ libpugixml.so:textproc/pugixml OPENEXR_CFLAGS= -DInt64=uint64_t OPENEXR_CMAKE_BOOL= GDAL_USE_EXR OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr OPENJPEG_BUILD_DEPENDS= openjpeg>=2.1.0:graphics/openjpeg OPENJPEG_CMAKE_BOOL= GDAL_USE_OPENJPEG OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg PCRE2_CMAKE_BOOL= GDAL_USE_PCRE2 PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2 PGSQL_CMAKE_BOOL= GDAL_USE_POSTGRESQL PGSQL_USES= pgsql PODOFO_CMAKE_BOOL= GDAL_USE_PODOFO PODOFO_LIB_DEPENDS= libpodofo.so:graphics/podofo POPPLER_CMAKE_BOOL= GDAL_USE_POPPLER POPPLER_LIB_DEPENDS= libpoppler.so:graphics/poppler QB3_CMAKE_BOOL= GDAL_USE_LIBQB3 QB3_LIB_DEPENDS= libQB3.so:graphics/qb3 RASTERLITE2_CMAKE_BOOL= GDAL_USE_RASTERLITE2 RASTERLITE2_LIB_DEPENDS=librasterlite2.so:graphics/librasterlite2 SFCGAL_CMAKE_BOOL= GDAL_USE_SFCGAL SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal SPATIALITE_CMAKE_BOOL= GDAL_USE_SPATIALITE SPATIALITE_LIB_DEPENDS= libspatialite.so:databases/spatialite SQLITE_CMAKE_BOOL= GDAL_USE_SQLITE3 SQLITE_USES= sqlite TILEDB_CMAKE_BOOL= GDAL_USE_TILEDB TILEDB_LIB_DEPENDS= libtiledb.so:databases/tiledb WEBP_CMAKE_BOOL= GDAL_USE_WEBP WEBP_LIB_DEPENDS= libwebp.so:graphics/webp XERCES_CMAKE_BOOL= GDAL_USE_XERCESC XERCES_LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3 ZSTD_CMAKE_BOOL= GDAL_USE_ZSTD ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd .include .if ${ARCH} == powerpc || ${ARCH} == powerpc64 PLIST_SUB+= BIGENDIAN="@comment " .else PLIST_SUB+= BIGENDIAN="" .endif # Clean up bundled libraries .if !defined(MAINTAINER_MODE) EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/alg/internal_libqhull \ --exclude ${DISTNAME}/frmts/gif/giflib \ --exclude ${DISTNAME}/frmts/gtiff/libgeotiff \ --exclude ${DISTNAME}/frmts/jpeg/libjpeg \ --exclude ${DISTNAME}/frmts/jpeg/libjpeg12 \ --exclude ${DISTNAME}/frmts/png/libpng \ --exclude ${DISTNAME}/frmts/zlib \ --exclude ${DISTNAME}/ogr/ogrsf_frmts/geojson/libjson \ --exclude ${DISTNAME}/third_party/fast_float \ --exclude ${DISTNAME}/third_party/LercLib \ --exclude ${DISTNAME}/third_party/libdivide \ --exclude ${DISTNAME}/third_party/libertiff \ --no-same-owner --no-same-permissions .else post-patch: @${RM} -r ${WRKSRC}/alg/internal_libqhull/ @${RM} -r ${WRKSRC}/frmts/gif/giflib/ @${RM} -r ${WRKSRC}/frmts/gtiff/libgeotiff/ # @${RM} -r ${WRKSRC}/frmts/gtiff/libtiff/ # tif_lerc.c, tif_lzw.c, tif_packbits.c @${RM} -r ${WRKSRC}/frmts/jpeg/libjpeg/ @${RM} -r ${WRKSRC}/frmts/jpeg/libjpeg12/ @${RM} -r ${WRKSRC}/frmts/png/libpng/ @${RM} -r ${WRKSRC}/frmts/zlib/ @${RM} -r ${WRKSRC}/ogr/ogrsf_frmts/geojson/libjson/ @${RM} -r ${WRKSRC}/third_party/fast_float/ @${RM} -r ${WRKSRC}/third_party/LercLib/ @${RM} -r ${WRKSRC}/third_party/libdivide/ @${RM} -r ${WRKSRC}/third_party/libertiff/ .endif 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/ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgdal.so .include