diff --git a/databases/postgis24/Makefile b/databases/postgis24/Makefile index 495499ed8418..2d2d968c1817 100644 --- a/databases/postgis24/Makefile +++ b/databases/postgis24/Makefile @@ -1,65 +1,65 @@ # Created by: Loïc BARTOLETTI PORTNAME= postgis PORTVERSION= 2.4.9 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= databases geography MASTER_SITES= https://download.osgeo.org/postgis/source/ PKGNAMESUFFIX= 24 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Geographic objects support for PostgreSQL databases 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 USES= alias cpe gettext gmake gnome iconv:wchar_t libtool:keepla \ localbase perl5 pkgconfig pgsql:9.5-12 shebangfix USE_GNOME= libxml2 USE_LDCONFIG= yes USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} NUMERICFLAGS=${PORTVERSION} SHEBANG_FILES= extensions/address_standardizer/*.pl raster/test/regress/*.pl \ raster/test/regress/loader/*.pl regress/run_test.pl \ utils/postgis_restore.pl.in utils/*.pl WANT_PGSQL= server OPTIONS_DEFINE= ADDRSTD LOADERGUI SFCGAL TOPOLOGY OPTIONS_DEFAULT=ADDRSTD SFCGAL TOPOLOGY OPTIONS_SUB= yes LOADERGUI_DESC= Enable shp2pgsql-gui TOPOLOGY_DESC= Topology support SFCGAL_DESC= Enable sfcgal ADDRSTD_DESC= Enable address standardizer CONFLICTS_INSTALL= postgis20 postgis21 postgis22 postgis23 postgis25 postgis30 postgis31 LOADERGUI_CONFIGURE_WITH= gui LOADERGUI_USE= GNOME=gtk20 TOPOLOGY_CONFIGURE_WITH= topology SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal SFCGAL_CONFIGURE_WITH= sfcgal=${LOCALBASE}/bin/sfcgal-config ADDRSTD_CONFIGURE_WITH= address-standardizer ADDRSTD_LIB_DEPENDS= libpcre.so:devel/pcre ADDRSTD_VARS= WANT_PGSQL+=contrib PLIST_SUB= PORTVERSION=${PORTVERSION} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblwgeom-2.4.so.0.0.0 ${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/postgis25/Makefile b/databases/postgis25/Makefile index f3f4b4b7fa33..6bbd4a7ec419 100644 --- a/databases/postgis25/Makefile +++ b/databases/postgis25/Makefile @@ -1,79 +1,79 @@ # Created by: Loïc BARTOLETTI PORTNAME= postgis PORTVERSION= 2.5.5 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= databases geography MASTER_SITES= https://download.osgeo.org/postgis/source/ PKGNAMESUFFIX= 25 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Geographic objects support for PostgreSQL databases 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 USES= alias compiler cpe gmake gnome iconv:wchar_t libtool:keepla \ localbase perl5 pkgconfig pgsql:9.4+ shebangfix USE_GNOME= libxml2 USE_LDCONFIG= yes USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} NUMERICFLAGS=${PORTVERSION} SHEBANG_FILES= extensions/address_standardizer/*.pl raster/test/regress/*.pl \ raster/test/regress/loader/*.pl regress/run_test.pl \ utils/postgis_restore.pl.in utils/*.pl WANT_PGSQL= server OPTIONS_DEFINE= ADDRSTD LOADERGUI NLS SFCGAL TOPOLOGY OPTIONS_DEFAULT=ADDRSTD SFCGAL TOPOLOGY OPTIONS_SUB= yes LOADERGUI_DESC= Enable shp2pgsql-gui TOPOLOGY_DESC= Topology support SFCGAL_DESC= Enable sfcgal ADDRSTD_DESC= Enable address standardizer ADDRSTD_CONFIGURE_WITH= address-standardizer ADDRSTD_LIB_DEPENDS= libpcre.so:devel/pcre ADDRSTD_VARS= WANT_PGSQL+=contrib LOADERGUI_CONFIGURE_WITH= gui LOADERGUI_USE= GNOME=gtk20 NLS_CONFIGURE_WITH= nls NLS_USES= gettext SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal SFCGAL_CONFIGURE_WITH= sfcgal=${LOCALBASE}/bin/sfcgal-config TOPOLOGY_CONFIGURE_WITH= topology CONFLICTS_INSTALL= postgis20 postgis21 postgis22 postgis23 postgis24 postgis30 postgis31 VER= ${PORTVERSION:R} PLIST_SUB= PORTVERSION=${PORTVERSION} \ 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/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblwgeom-${VER}.so.0.0.0 ${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/postgis30/Makefile b/databases/postgis30/Makefile index 52476219470c..dc7ee4711311 100644 --- a/databases/postgis30/Makefile +++ b/databases/postgis30/Makefile @@ -1,85 +1,86 @@ # Created by: Loïc BARTOLETTI PORTNAME= postgis PORTVERSION= 3.0.4 +PORTREVISION= 1 CATEGORIES= databases geography MASTER_SITES= https://download.osgeo.org/postgis/source/ PKGNAMESUFFIX= 30 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Geographic objects support for PostgreSQL databases 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 USES= alias compiler:c++11-lang cpe gmake gnome iconv:wchar_t libtool:keepla \ localbase perl5 pkgconfig pgsql:9.5+ shebangfix USE_GNOME= libxml2 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} NUMERICFLAGS=${PORTVERSION} SHEBANG_FILES= extensions/address_standardizer/*.pl raster/test/regress/*.pl \ raster/test/regress/loader/*.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 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_USE= GNOME=gtk20 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 CONFLICTS_INSTALL= postgis20 postgis21 postgis22 postgis23 postgis24 postgis25 postgis31 VER= ${PORTVERSION:R} PLIST_SUB= PORTVERSION=${PORTVERSION} \ 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/* ${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/postgis31/Makefile b/databases/postgis31/Makefile index 759ebde74498..62381dc06b0f 100644 --- a/databases/postgis31/Makefile +++ b/databases/postgis31/Makefile @@ -1,83 +1,84 @@ PORTNAME= postgis PORTVERSION= 3.1.4 +PORTREVISION= 1 CATEGORIES= databases geography MASTER_SITES= https://download.osgeo.org/postgis/source/ PKGNAMESUFFIX= 31 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Geographic objects support for PostgreSQL databases 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 USES= alias compiler:c++11-lang cpe gmake gnome iconv:wchar_t libtool:keepla \ localbase perl5 pkgconfig pgsql:9.5+ shebangfix USE_GNOME= libxml2 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} NUMERICFLAGS=${PORTVERSION} SHEBANG_FILES= extensions/address_standardizer/*.pl raster/test/regress/*.pl \ raster/test/regress/loader/*.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 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_USE= GNOME=gtk20 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 CONFLICTS_INSTALL= postgis20 postgis21 postgis22 postgis23 postgis24 postgis25 postgis30 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/* ${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 df6e05c0d89c..e98a2907145e 100644 --- a/databases/sfcgal/Makefile +++ b/databases/sfcgal/Makefile @@ -1,29 +1,28 @@ # Created by: Loïc BARTOLETTI PORTNAME= sfcgal DISTVERSIONPREFIX= v -DISTVERSION= 1.3.10 -PORTREVISION= 2 +DISTVERSION= 1.4.0 CATEGORIES= databases math graphics MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Wrapper library around CGAL for PostGIS 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 USES= cmake compiler:c++14-lang USE_GITLAB= yes GL_ACCOUNT= Oslandia GL_PROJECT= SFCGAL -GL_COMMIT= 8ec8641f0750e0fa78d70ffb5a90c3cab94e03d9 +GL_COMMIT= 815d5097f684dbc48b22041bf2047beab36df0a1 USE_LDCONFIG= yes PLIST_SUB= SHL3=${PORTVERSION} SHL1=${PORTVERSION:R:R} .include diff --git a/databases/sfcgal/distinfo b/databases/sfcgal/distinfo index bf3e8818ba00..bc1b4fb720ad 100644 --- a/databases/sfcgal/distinfo +++ b/databases/sfcgal/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1618642307 -SHA256 (Oslandia-SFCGAL-8ec8641f0750e0fa78d70ffb5a90c3cab94e03d9_GL0.tar.gz) = 0793963dbff1f2f641dd587fa9a663426f7a44e8af002336e94f634da6f81b0e -SIZE (Oslandia-SFCGAL-8ec8641f0750e0fa78d70ffb5a90c3cab94e03d9_GL0.tar.gz) = 2524226 +TIMESTAMP = 1631629768 +SHA256 (Oslandia-SFCGAL-815d5097f684dbc48b22041bf2047beab36df0a1_GL0.tar.gz) = ab0e3b327d79edc01f549ed8de9006f8262cf56135bfe2dff7db35cb7a339307 +SIZE (Oslandia-SFCGAL-815d5097f684dbc48b22041bf2047beab36df0a1_GL0.tar.gz) = 2418077 diff --git a/databases/sfcgal/pkg-plist b/databases/sfcgal/pkg-plist index 80c5eee2c2c1..62420bb598d7 100644 --- a/databases/sfcgal/pkg-plist +++ b/databases/sfcgal/pkg-plist @@ -1,111 +1,110 @@ bin/sfcgal-config include/SFCGAL/Coordinate.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/Point.h include/SFCGAL/Polygon.h include/SFCGAL/PolyhedralSurface.h include/SFCGAL/PreparedGeometry.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/ConsistentOrientationBuilder.h include/SFCGAL/algorithm/area.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/extrude.h include/SFCGAL/algorithm/force2D.h include/SFCGAL/algorithm/force3D.h include/SFCGAL/algorithm/intersection.h include/SFCGAL/algorithm/intersects.h include/SFCGAL/algorithm/isValid.h include/SFCGAL/algorithm/length.h include/SFCGAL/algorithm/lineSubstring.h include/SFCGAL/algorithm/minkowskiSum.h include/SFCGAL/algorithm/normal.h include/SFCGAL/algorithm/offset.h include/SFCGAL/algorithm/orientation.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/volume.h include/SFCGAL/capi/sfcgal_c.h include/SFCGAL/config.h include/SFCGAL/detail/ComplexComparator.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/Point_inside_polyhedron.h include/SFCGAL/detail/TestGeometry.h include/SFCGAL/detail/TypeForDimension.h include/SFCGAL/detail/algorithm/coversPoints.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/Serialization.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/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/ewkt.h include/SFCGAL/io/osg.h include/SFCGAL/io/vtk.h include/SFCGAL/io/wkt.h include/SFCGAL/numeric.h include/SFCGAL/triangulate/triangulate2DZ.h include/SFCGAL/triangulate/triangulatePolygon.h include/SFCGAL/version.h lib/libSFCGAL.so lib/libSFCGAL.so.%%SHL1%% lib/libSFCGAL.so.%%SHL3%% libdata/pkgconfig/sfcgal.pc diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile index bcf0c4254783..c89de3907316 100644 --- a/graphics/gdal/Makefile +++ b/graphics/gdal/Makefile @@ -1,198 +1,198 @@ # Created by: Randall Hopper PORTNAME= gdal PORTVERSION= 3.3.1 -PORTREVISION= 3 +PORTREVISION= 4 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 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.TXT BUILD_DEPENDS= 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.so.7:math/qhull \ libtiff.so:graphics/tiff OPTIONS_DEFINE= ARMADILLO CFITSIO CHARLS CRYPTOPP CURL DEFLATE DODS ECW EXPAT EXR FREEXL GEOS GTA HDF5 HEIF JASPER KML LERC LIBXML2 MYSQL NETCDF ODBC OPENJPEG PCRE PGSQL RASTERLITE2 SFCGAL SPATIALITE SQLITE TILEDB WEBP XERCES ZSTD OPTIONS_RADIO= PDF OPTIONS_RADIO_PDF= PODOFO POPPLER OPTIONS_DEFAULT=CURL EXPAT FREEXL GEOS JASPER LIBXML2 OPENJPEG PCRE PGSQL POPPLER WEBP ZSTD \ HDF5 KML NETCDF SPATIALITE SFCGAL SQLITE XERCES OPTIONS_SUB= yes CHARLS_DESC= JPEG-Lossless support via charls CRYPTOPP_DESC= Cryptopp support DEFLATE_DESC= Faster deflate support via libdeflate library DODS_DESC= DODS/OPeNDAP support EXR_DESC= EXR support via OpenEXR library HEIF_DESC= HEIF support via libheif library LERC_DESC= LERC (Limited Error Raster Compression) support PCRE_DESC= Regular expression support for SQLite RASTERLITE2_DESC= RasterLite2 support TILEDB_DESC= TileDB support USES= compiler:c++14-lang gmake iconv jpeg localbase pkgconfig ssl tar:xz CFLAGS+= -fPIC CONFIGURE_ARGS= --datadir=${PREFIX}/share \ --enable-static=yes \ --with-cpp14 \ --with-crypto=yes \ --with-geotiff=yes \ --with-gif=yes \ --with-gnm=yes \ --with-jpeg=yes \ --with-libjson-c=yes \ --with-liblzma=yes \ --with-libtiff=yes \ --with-libz=/usr \ --with-pcidsk=internal \ --with-pcraster=internal \ --with-png=yes \ --with-proj=yes \ --with-qhull=yes \ --with-threads=yes \ --without-libtool \ ${ICONV_CONFIGURE_ARG} GNU_CONFIGURE= yes LDFLAGS+= ${ICONV_LIB} MAKEFILE= GNUmakefile USE_CXXSTD= c++14 USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} SLAVEDIRS= graphics/p5-Geo-GDAL graphics/py-gdal HEADER_FILES= alg/gdalwarpkernel_opencl.h \ 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_sha1.h \ port/cpl_sha256.h \ port/cpl_vsil_curl_priv.h \ port/cpl_worker_thread_pool.h ARMADILLO_CONFIGURE_OFF=--with-armadillo=no ARMADILLO_CONFIGURE_ON= --with-armadillo=${LOCALBASE} ARMADILLO_LIB_DEPENDS= libarmadillo.so:math/armadillo CFITSIO_CONFIGURE_WITH= cfitsio CFITSIO_LIB_DEPENDS= libcfitsio.so:astro/cfitsio CHARLS_CONFIGURE_WITH= charls CHARLS_LIB_DEPENDS= libcharls.so:graphics/charls CRYPTOPP_CONFIGURE_OFF= --with-cryptopp=no CRYPTOPP_CONFIGURE_ON= --with-cryptopp=${LOCALBASE} CRYPTOPP_LIB_DEPENDS= libcryptopp.so:security/cryptopp CURL_CONFIGURE_OFF= --with-curl=no CURL_CONFIGURE_ON= --with-curl=${LOCALBASE}/bin/curl-config CURL_LIB_DEPENDS= libcurl.so:ftp/curl DEFLATE_CONFIGURE_WITH= libdeflate DEFLATE_LIB_DEPENDS= libdeflate.so:archivers/libdeflate DODS_CONFIGURE_OFF= --with-dods-root=no DODS_CONFIGURE_ON= --with-dods-root=${LOCALBASE} DODS_LIB_DEPENDS= libdap.so:devel/libdap ECW_CONFIGURE_WITH= ecw ECW_LIB_DEPENDS= libNCSEcw.so:graphics/libecwj2 EXPAT_CONFIGURE_WITH= expat EXPAT_LIB_DEPENDS= libexpat.so:textproc/expat2 EXR_CONFIGURE_WITH= exr EXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr EXR_CFLAGS= -DInt64=uint64_t FREEXL_CONFIGURE_WITH= freexl FREEXL_LIB_DEPENDS= libfreexl.so:textproc/freexl GEOS_CONFIGURE_OFF= --with-geos=no GEOS_CONFIGURE_ON= --with-geos=${LOCALBASE}/bin/geos-config GEOS_LIB_DEPENDS= libgeos.so:graphics/geos GTA_CONFIGURE_WITH= gta GTA_LIB_DEPENDS= libgta.so:devel/libgta HDF5_CONFIGURE_WITH= hdf5 HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 HEIF_CONFIGURE_WITH= heif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif JASPER_CONFIGURE_WITH= jasper JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper KML_CONFIGURE_WITH= libkml KML_LIB_DEPENDS= libkmlbase.so:science/libkml LERC_CONFIGURE_OFF= --with-lerc=no LERC_CONFIGURE_ON= --with-lerc=${LOCALBASE} LERC_LIB_DEPENDS= libLerc.so:graphics/lerc LIBXML2_CONFIGURE_OFF= --with-xml2=no 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 MYSQL_USES= mysql NETCDF_CONFIGURE_WITH= netcdf NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf ODBC_CONFIGURE_WITH= odbc ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC OPENJPEG_BUILD_DEPENDS= openjpeg>=2.1.0:graphics/openjpeg OPENJPEG_CONFIGURE_WITH=openjpeg OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg PCRE_CONFIGURE_WITH= pcre PCRE_LIB_DEPENDS= libpcre.so:devel/pcre PGSQL_CONFIGURE_WITH= pg PGSQL_USES= pgsql PODOFO_CONFIGURE_WITH= podofo PODOFO_LIB_DEPENDS= libpodofo.so:graphics/podofo POPPLER_CONFIGURE_WITH= poppler=${LOCALBASE} POPPLER_LIB_DEPENDS= libpoppler.so:graphics/poppler RASTERLITE2_CONFIGURE_OFF= --with-rasterlite2=no RASTERLITE2_CONFIGURE_ON= --with-rasterlite2=${LOCALBASE} RASTERLITE2_LIB_DEPENDS=librasterlite2.so:graphics/librasterlite2 SFCGAL_CONFIGURE_OFF= --with-sfcgal=no SFCGAL_CONFIGURE_ON= --with-sfcgal=${LOCALBASE}/bin/sfcgal-config SFCGAL_LIB_DEPENDS= libSFCGAL.so:databases/sfcgal SPATIALITE_CONFIGURE_WITH= spatialite SPATIALITE_LIB_DEPENDS= libspatialite.so:databases/spatialite SQLITE_CONFIGURE_WITH= sqlite3 SQLITE_USES= sqlite TILEDB_CONFIGURE_OFF= --with-tiledb=no TILEDB_CONFIGURE_ON= --with-tiledb=${LOCALBASE} TILEDB_LIB_DEPENDS= libtiledb.so:databases/tiledb WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp XERCES_CONFIGURE_WITH= xerces XERCES_LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3 ZSTD_CONFIGURE_WITH= zstd ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd post-patch: # Clean up bundled libraries @${RM} -r ${WRKSRC}/alg/internal_libqhull/ @${RM} -r ${WRKSRC}/frmts/gif/giflib/ @${RM} -r ${WRKSRC}/frmts/gtiff/libgeotiff/ @${RM} -r ${WRKSRC}/frmts/gtiff/libtiff/ @${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/LercLib/ 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/ ${INSTALL_DATA} ${WRKSRC}/GDALmake.opt ${STAGEDIR}${DATADIR}/ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgdal.so .include