diff --git a/databases/grass7/Makefile b/databases/grass7/Makefile index f084e1b690d9..5646acbcfc4f 100644 --- a/databases/grass7/Makefile +++ b/databases/grass7/Makefile @@ -1,197 +1,197 @@ PORTNAME= grass PORTVERSION= 7.8.8 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= databases geography MASTER_SITES= https://grass.osgeo.org/%SUBDIR%/ \ http://grass.cict.fr/%SUBDIR%/ \ http://grass.fbk.eu/%SUBDIR%/ \ http://grass.gis-lab.info/%SUBDIR%/ \ http://grass.meteo.uni.wroc.pl/%SUBDIR%/ \ http://grass.polytechnic.edu.na/%SUBDIR%/ \ http://grass.unibuc.ro/%SUBDIR%/ \ http://mirrors.ibiblio.org/grass/%SUBDIR%/ \ http://pinus.gntech.ac.kr/grass/%SUBDIR%/ \ http://wgbis.ces.iisc.ernet.in/grass/%SUBDIR%/ \ http://wgrass.media.osaka-cu.ac.jp/grassh/%SUBDIR%/ MASTER_SITE_SUBDIR= grass${VER}/source PKGNAMESUFFIX= 7 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Open source Geographical Information System (GIS) WWW= https://grass.osgeo.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/GPL.TXT BUILD_DEPENDS= ${PY_NUMPY} \ ${PYTHON_SITELIBDIR}/six.py:devel/py-six@${PY_FLAVOR} LIB_DEPENDS= libgdal.so:graphics/gdal \ libpng.so:graphics/png \ libproj.so:graphics/proj \ libtiff.so:graphics/tiff \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgeos.so:graphics/geos RUN_DEPENDS= ${PY_NUMPY} \ ${PYTHON_SITELIBDIR}/six.py:devel/py-six@${PY_FLAVOR} USES= blaslapack compiler:c11 gl gmake gnome iconv \ jpeg perl5 pkgconfig python readline shebangfix xorg SHEBANG_GLOB= *.py SHEBANG_LANG= nviz nviz_OLD_CMD= nviz nviz_CMD= ${PREFIX}/${GRASS_INST_DIR}/bin/nviz USE_XORG= sm ice x11 xext xi xmu xrender xt USE_GL= gl glu USE_GNOME= cairo USE_WX= 3.2 WX_COMPS= wx python:run GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-includes=${LOCALBASE}/include \ --with-libs=${LOCALBASE}/lib \ --with-opengl-includes=${LOCALBASE}/include/ \ --with-opengl-libs=${LOCALBASE}/lib/ \ --with-freetype \ --with-freetype-includes=${LOCALBASE}/include/freetype2 \ --with-blas \ --with-lapack \ --with-cairo \ --with-readline \ --enable-largefile \ --with-wxwidgets=${WX_CONFIG} \ --with-proj-share=${LOCALBASE}/share/proj \ --with-proj-includes=${LOCALBASE}/include \ --with-proj-libs=${LOCALBASE}/lib \ --with-proj=${LOCALBASE}/bin/proj \ --with-geos=${LOCALBASE}/bin/geos-config \ --with-gdal=${LOCALBASE}/bin/gdal-config \ --with-pthread=yes \ --prefix=${LOCALBASE} \ --exec-prefix=${LOCALBASE} CFLAGS+= -std=c11 SUB_FILES= pkg-message SUB_LIST= PYTHON_CMD=${PYTHON_CMD} BINARY_ALIAS= python3=${PYTHON_CMD} ALL_TARGET= default USE_LDCONFIG= ${PREFIX}/${GRASS_INST_DIR}/lib MAKE_ENV+= TARGET="${CONFIGURE_TARGET}" VER= ${PORTVERSION:R:C/\.//} PLIST_SUB= GRASS_INST_DIR="${GRASS_INST_DIR}" \ VERSION="${PORTVERSION}" VERS="${PORTVERSION:C/([0-9]+).([0-9]+)(.*)/\1.\2/}" \ VER="${VER}" MAJVER="${PKGNAMESUFFIX}" OPTIONS_DEFINE= NETCDF NLS PDAL ZSTD OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL ODBC PGSQL SQLITE #OPTIONS_SINGLE= BLAS #OPTIONS_SINGLE_BLAS= ATLAS NETLIB GOTOBLAS OPENBLAS OPTIONS_DEFAULT= NETCDF NLS PDAL PGSQL SQLITE ZSTD OPTIONS_SUB= yes # BLAS/LAPACK: Only netlib compile the maxmimum number of modules #BLAS_DESC= BLAS/LAPACK support #GOTOBLAS_DESC= GotoBLAS implementationS #ATLAS_USES= blaslapack:atlas #NETLIB_USES= blaslapack #GOTOBLAS_USES= blaslapack:gotoblas #OPENBLAS_USES= blaslapack:openblas PDAL_DESC= Enable points cloud data modules DB_DESC= Database support MYSQL_USES= mysql MYSQL_CONFIGURE_ON= --with-mysql \ --with-mysql-includes=${LOCALBASE}/include/mysql \ --with-mysql-libs=${LOCALBASE}/lib/mysql NETCDF_CONFIGURE_ON= --with-netcdf=${LOCALBASE}/bin/nc-config NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf NLS_CONFIGURE_WITH= nls NLS_USES= gettext ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC ODBC_CONFIGURE_WITH= odbc PDAL_CONFIGURE_ON= --with-pdal=${LOCALBASE}/bin/pdal-config PDAL_LIB_DEPENDS= libpdalcpp.so:math/pdal PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= postgres SQLITE_USES= sqlite SQLITE_CONFIGURE_WITH= sqlite SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} ZSTD_CONFIGURE_WITH= zstd ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd .if exists(/usr/include/omp.h) CONFIGURE_ARGS+= --with-openmp .endif .include .if ${ARCH} == "i386" USE_GCC= yes PLIST_SUB+= NOTONI386="@comment " .else PLIST_SUB+= NOTONI386="" .endif .if !defined (GRASS_INST_DIR) GRASS_INST_DIR= ${PORTNAME}${VER} .endif MANDIRS= ${PREFIX}/grass${VER}/docs/man/man1 post-patch: ${REINPLACE_CMD} \ 's|= python3|= ${PYTHON_CMD:T}|' ${WRKSRC}/include/Make/Platform.make.in ${REINPLACE_CMD} -e \ "s|'make'|'gmake'|g; \ s|gcc|${CC}|" ${WRKSRC}/scripts/g.extension/g.extension.py ${REINPLACE_CMD} \ 's|$$(ARCH)|$$(TARGET)|g' ${WRKSRC}/include/Make/Grass.make # Replace hardcoded python interpreter to PYTHON_CMD ${REINPLACE_CMD} "s|'GRASS_PYTHON', 'python'|'GRASS_PYTHON', \'${PYTHON_CMD}\'|g" \ ${WRKSRC}/scripts/wxpyimgview/wxpyimgview.py ${REINPLACE_CMD} 's|GRASS_PYTHON=python|GRASS_PYTHON=${PYTHON_CMD}|g' \ ${WRKSRC}/lib/init/grass.sh ${REINPLACE_CMD} \ "s|environ\['GRASS_PYTHON'\] = "'"python3"'"|environ['GRASS_PYTHON'] = "'"${PYTHON_CMD}"'"|g" \ ${WRKSRC}/lib/python/script/setup.py post-install: # remove useless files ${RM} -rf ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/db.test/ ${RM} -rf ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/demolocation/PERMANENT/.tmp/ ${RM} -rf ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/docs/html/colortables/*bak.png # fix pkg-plist issues # poudriere testport, poudriere bulk -t and make ports can create different pkg-plist for i in `${FIND} ${WRKSRC}/scripts -type f \( -name *jpg -o -name *png -o -name *gxm \) -print`; do \ ${INSTALL_DATA} $$i ${STAGEDIR}${LOCALBASE}/${PORTNAME}${VER}/docs/html; \ done for i in `${FIND} ${WRKSRC}/gui/wxpython -type f \( -name *jpg -o -name *png -o -name *gxm \) -print`; do \ ${INSTALL_DATA} $$i ${STAGEDIR}${LOCALBASE}/${PORTNAME}${VER}/docs/html; \ done for i in `${FIND} ${WRKSRC}/raster -type f \( -name *jpg -o -name *png -o -name *gxm \) -print`; do \ ${INSTALL_DATA} $$i ${STAGEDIR}${LOCALBASE}/${PORTNAME}${VER}/docs/html; \ done for i in `${FIND} ${WRKSRC}/imagery -type f \( -name *jpg -o -name *png -o -name *gxm \) -print`; do \ ${INSTALL_DATA} $$i ${STAGEDIR}${LOCALBASE}/${PORTNAME}${VER}/docs/html; \ done ${INSTALL_SCRIPT} ${WRKSRC}/scripts/wxpyimgview/wxpyimgview_gui.py ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/wxpyimgview_gui.py ${MKDIR} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/d.polar ${INSTALL_DATA} ${WRKSRC}/scripts/d.polar/ps_defs.eps ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/d.polar # STRIP PART ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/driver/db/* .for i in clean_temp current_time_s_ms echo i.find lock run r.watershed/seg r.watershed/ram lister/vector lister/cell ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/${i} .endfor ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/tools/g.echo ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/lib/* # symlink grass7 ${LN} -sf ${PORTNAME}${VER} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} .include diff --git a/databases/grass8/Makefile b/databases/grass8/Makefile index b53d704875b3..30e736db2607 100644 --- a/databases/grass8/Makefile +++ b/databases/grass8/Makefile @@ -1,152 +1,152 @@ PORTNAME= grass DISTVERSION= 8.4.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases geography MASTER_SITES= https://grass.osgeo.org/%SUBDIR%/ \ http://grass.cict.fr/%SUBDIR%/ \ http://grass.fbk.eu/%SUBDIR%/ \ http://grass.gis-lab.info/%SUBDIR%/ \ http://grass.meteo.uni.wroc.pl/%SUBDIR%/ \ http://grass.polytechnic.edu.na/%SUBDIR%/ \ http://grass.unibuc.ro/%SUBDIR%/ \ http://mirrors.ibiblio.org/grass/%SUBDIR%/ \ http://pinus.gntech.ac.kr/grass/%SUBDIR%/ \ http://wgbis.ces.iisc.ernet.in/grass/%SUBDIR%/ \ http://wgrass.media.osaka-cu.ac.jp/grassh/%SUBDIR%/ MASTER_SITE_SUBDIR= grass${VER}/source PKGNAMESUFFIX= 8 MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Open source Geographical Information System (GIS) WWW= https://grass.osgeo.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/GPL.TXT BUILD_DEPENDS= ${PY_NUMPY} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} LIB_DEPENDS= libgdal.so:graphics/gdal \ libpng.so:graphics/png \ libproj.so:graphics/proj \ libtiff.so:graphics/tiff \ libgeotiff.so:graphics/libgeotiff \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgeos.so:graphics/geos \ libzstd.so:archivers/zstd RUN_DEPENDS= ${PY_NUMPY} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} USES= blaslapack compiler:c11 gl gmake gnome iconv \ jpeg perl5 pkgconfig python readline shebangfix sqlite xorg SHEBANG_GLOB= *.py SHEBANG_LANG= nviz nviz_OLD_CMD= nviz nviz_CMD= ${PREFIX}/${GRASS_INST_DIR}/bin/nviz USE_XORG= sm ice x11 xext xi xmu xrender xt USE_GL= gl glu USE_GNOME= cairo USE_WX= 3.2 WX_COMPS= wx python:run GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-includes=${LOCALBASE}/include \ --with-libs=${LOCALBASE}/lib \ --with-opengl-includes=${LOCALBASE}/include/ \ --with-opengl-libs=${LOCALBASE}/lib/ \ --with-freetype \ --with-freetype-includes=${LOCALBASE}/include/freetype2 \ --with-blas \ --with-lapack \ --with-cairo \ --with-readline \ --enable-largefile \ --with-wxwidgets=${WX_CONFIG} \ --with-proj-share=${LOCALBASE}/share/proj \ --with-proj-includes=${LOCALBASE}/include \ --with-proj-libs=${LOCALBASE}/lib \ --with-proj=${LOCALBASE}/bin/proj \ --with-geos=${LOCALBASE}/bin/geos-config \ --with-gdal=${LOCALBASE}/bin/gdal-config \ --with-pthread=yes \ --prefix=${LOCALBASE} \ --exec-prefix=${LOCALBASE} CFLAGS+= -std=c11 SUB_LIST= PYTHON_CMD=${PYTHON_CMD} BINARY_ALIAS= python3=${PYTHON_CMD} ALL_TARGET= default USE_LDCONFIG= ${PREFIX}/${GRASS_INST_DIR}/lib MAKE_ENV+= TARGET="${CONFIGURE_TARGET}" VER= ${PORTVERSION:R:C/\.//} PLIST_SUB= GRASS_INST_DIR="${GRASS_INST_DIR}" \ VERSION="${PORTVERSION}" VERS="${PORTVERSION:C/([0-9]+).([0-9]+)(.*)/\1.\2/}" \ VER="${VER}" MAJVER="${PKGNAMESUFFIX}" OPTIONS_DEFINE= NETCDF NLS PDAL OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL ODBC PGSQL OPTIONS_DEFAULT= NETCDF NLS PDAL PGSQL OPTIONS_SUB= yes PDAL_DESC= Enable points cloud data modules DB_DESC= Database support MYSQL_USES= mysql MYSQL_CONFIGURE_ON= --with-mysql \ --with-mysql-includes=${LOCALBASE}/include/mysql \ --with-mysql-libs=${LOCALBASE}/lib/mysql NETCDF_CONFIGURE_ON= --with-netcdf=${LOCALBASE}/bin/nc-config NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf NLS_CONFIGURE_WITH= nls NLS_USES= gettext ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC ODBC_CONFIGURE_WITH= odbc PDAL_CONFIGURE_ON= --with-pdal=${LOCALBASE}/bin/pdal-config PDAL_LIB_DEPENDS= libpdalcpp.so:math/pdal PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= postgres .if exists(/usr/include/omp.h) CONFIGURE_ARGS+= --with-openmp .endif .include .if !defined (GRASS_INST_DIR) GRASS_INST_DIR= ${PORTNAME}${VER} .endif MANDIRS= ${PREFIX}/grass${VER}/docs/man/man1 post-patch: ${REINPLACE_CMD} \ 's|= python3|= ${PYTHON_CMD:T}|' ${WRKSRC}/include/Make/Platform.make.in ${REINPLACE_CMD} \ 's|$$(ARCH)|$$(TARGET)|g' ${WRKSRC}/include/Make/Grass.make # Replace hardcoded python interpreter to PYTHON_CMD ${REINPLACE_CMD} 's|"GRASS_PYTHON", "python"|"GRASS_PYTHON", "${PYTHON_CMD}"|g' \ ${WRKSRC}/scripts/wxpyimgview/wxpyimgview.py ${REINPLACE_CMD} \ 's|environ\["GRASS_PYTHON"\] = "python3"|environ["GRASS_PYTHON"] = "${PYTHON_CMD}"|g' \ ${WRKSRC}/python/grass/script/setup.py post-install: ${RM} -rf ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/demolocation/PERMANENT/.tmp/ # STRIP PART ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/driver/db/* .for i in clean_temp current_time_s_ms echo i.find lock run r.watershed/seg r.watershed/ram lister/vector lister/cell ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/${i} .endfor ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/lib/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/utils/g.echo # symlink grass8 ${LN} -sf ${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} .include diff --git a/graphics/cloudcompare/Makefile b/graphics/cloudcompare/Makefile index 31b51f78e9a0..5181458c6275 100644 --- a/graphics/cloudcompare/Makefile +++ b/graphics/cloudcompare/Makefile @@ -1,92 +1,92 @@ PORTNAME= cloudcompare DISTVERSIONPREFIX= v DISTVERSION= 2.12.4 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= graphics MAINTAINER= ports@FreeBSD.org COMMENT= 3D point cloud processing software WWW= https://www.cloudcompare.org/ LICENSE= GPLv2+ LGPL20+ LICENSE_COMB= multi USES= cmake compiler:c++11-lang localbase:ldflags qt:5 USE_GITHUB= yes GH_ACCOUNT= CloudCompare GH_PROJECT= ${GH_ACCOUNT} GH_TUPLE= CloudCompare:CCCoreLib:f0d5450:CloudCompare/libs/qCC_db/extern/CCCoreLib USE_QT= concurrent core gui opengl printsupport widgets buildtools:build qmake:build svg linguisttools:build USE_LDCONFIG= yes # PDAL support disabled ATM # plugins/core/IO/qPDALIO/src/LASFilter.cpp:1360:24: error: no member named 'incompatibleSrs' in 'pdal::LasHeader' OPTIONS_DEFINE= DXFLIB GAMEPAD GDAL PLUGINS SHAPELIB OPTIONS_DEFAULT=DXFLIB GAMEPAD GDAL PLUGINS SHAPELIB OPTIONS_SUB= yes DXFLIB_DESC= Enable AutoCAD DXF file support GAMEPAD_DESC= Enable Qt gamepad support GDAL_DESC= Enable raster file support PDAL_DESC= Enable point cloud data support SHAPELIB_DESC= Enable shape file support DXFLIB_CMAKE_BOOL= OPTION_USE_DXF_LIB GAMEPAD_USE= QT=gamepad GAMEPAD_CMAKE_BOOL= OPTION_SUPPORT_GAMEPADS GDAL_CMAKE_BOOL= OPTION_USE_GDAL GDAL_CMAKE_ON= -DGDAL_INCLUDE_DIR=${PREFIX}/include \ -DGDAL_LIBRARY=${PREFIX}/lib/libgdal.so GDAL_LIB_DEPENDS= libgdal.so:graphics/gdal PDAL_CMAKE_BOOL= PLUGIN_IO_QPDAL PDAL_CMAKE_ON= -DJSON_ROOT_DIR=${PREFIX}/include/jsoncpp PDAL_LIB_DEPENDS= libpdal_base.so:math/pdal SHAPELIB_CMAKE_BOOL= OPTION_USE_SHAPE_LIB SHAPELIB_LIB_DEPENDS= libshp.so:devel/shapelib PLUGINS_USES= eigen:3 gl jpeg xorg PLUGINS_CMAKE_BOOL= PLUGIN_STANDARD_QANIMATION \ PLUGIN_STANDARD_QBROOM \ PLUGIN_STANDARD_QCOMPASS \ PLUGIN_STANDARD_QCSF \ PLUGIN_IO_QCSV_MATRIX \ PLUGIN_GL_QEDL \ PLUGIN_STANDARD_QFACETS \ PLUGIN_STANDARD_QHPR \ PLUGIN_STANDARD_QM3C2 \ PLUGIN_STANDARD_QPCV \ PLUGIN_IO_QPHOTOSCAN \ PLUGIN_STANDARD_QRANSAC_SD \ PLUGIN_STANDARD_QSRA \ PLUGIN_GL_QSSAO # plugins requiring rare external libs are left out, TODO maybe add some of them? PLUGINS_CMAKE_ON= -DEIGEN_ROOT_DIR:BOOL=${LOCALBASE}/include/eigen3 PLUGINS_CXXFLAGS= ${PLUGINS_CXXFLAGS_${CHOSEN_COMPILER_TYPE}} PLUGINS_CXXFLAGS_clang= -Wno-narrowing PLUGINS_CXXFLAGS+= -DEIGEN_DONT_PARALLELIZE # OpenMP is broken in cmake: see bug#223678 PLUGINS_USE= XORG=ice,sm,x11,xext,xt GL=gl,glu PLUGINS_LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libexpat.so:textproc/expat2 \ libflann_cpp.so:math/flann \ libfreetype.so:print/freetype2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libvtkCommonCore-${VTK_VER}.so:math/vtk${VTK_VER:R} PLUGINS_IMPLIES= SHAPELIB pre-configure: @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},1' ${WRKSRC}/snap/gui/ccViewer.desktop ${WRKSRC}/snap/gui/cloudcompare.desktop post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/snap/gui/ccViewer.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/snap/gui/ccViewer.png ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/snap/gui/cloudcompare.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/snap/gui/cloudcompare.png ${STAGEDIR}${PREFIX}/share/pixmaps .include <../../math/vtk9/Makefile.version> .include diff --git a/graphics/qgis-ltr/Makefile b/graphics/qgis-ltr/Makefile index f01cd694804b..7837184aa3ae 100644 --- a/graphics/qgis-ltr/Makefile +++ b/graphics/qgis-ltr/Makefile @@ -1,196 +1,196 @@ PORTNAME= qgis DISTVERSION= 3.34.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics geography MASTER_SITES= https://qgis.org/downloads/ PKGNAMESUFFIX= -ltr MAINTAINER= rhurlin@FreeBSD.org COMMENT= Free and Open Source Geographic Information System WWW= https://qgis.org/en/site/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/LICENSE BUILD_DEPENDS= gpsbabel>=1.7.0:astro/gpsbabel \ opencl>=0:devel/opencl \ ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.11.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.2:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.20.2:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jedi>=0.18.1:devel/py-jedi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.1.1:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.4.3:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=4.0.3:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.27.2:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=5.10.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pip>=22.2.2:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=4.14.3:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.13.0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=3.4.0:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2020.5:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.28.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.16.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.7.16:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.4.1:devel/py-pyyaml@${PY_FLAVOR} LIB_DEPENDS= libabsl_log_internal_check_op.so:devel/abseil \ libdraco.so:archivers/draco \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libfreexl.so:textproc/freexl \ libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libgsl.so:math/gsl \ libhdf5.so:science/hdf5 \ libmdal.so:math/mdal \ libminizip.so:archivers/minizip \ libnetcdf.so:science/netcdf \ libOpenCL.so:devel/ocl-icd \ libpdalcpp.so:math/pdal \ libproj.so:graphics/proj \ libprotobuf-lite.so:devel/protobuf \ libqjson-qt5.so:devel/qjson \ libqscintilla2_qt5.so:devel/qscintilla2-qt5 \ libqt5keychain.so:security/qtkeychain@qt5 \ libqwt.so:x11-toolkits/qwt6@qt5 \ librttopo.so:devel/librttopo \ libspatialindex.so:devel/spatialindex \ libspatialite.so:databases/spatialite \ libsz.so:science/libaec \ libxerces-c.so:textproc/xerces-c3 \ libzip.so:archivers/libzip \ libzstd.so:archivers/zstd RUN_DEPENDS= astyle:devel/astyle \ opencl>=0:devel/opencl \ ${PYTHON_PKGNAMEPREFIX}black>=22.10:devel/py-black@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.11.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.2:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Fiona>=1.8.21:graphics/py-fiona@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gdal>=3.5.2:graphics/py-gdal@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geojson>=2.3.0:devel/py-geojson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geopandas>=0.11.1:graphics/py-geopandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.20.2:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jedi>=0.18.1:devel/py-jedi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}laspy>=2.5.1:misc/py-laspy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.1.1:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.4.3:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=4.0.3:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nbformat>=5.7.0:devel/py-nbformat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netCDF4>=1.6.2:science/py-netCDF4@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>=2.8.8:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nltk>=3.7:textproc/py-nltk@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.27.2:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>=1.5.0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=5.10.0:devel/py-pbr@${PY_FLAVOR} \ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pip>=22.2.2:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=4.14.3:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=5.9.2:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.9.4:databases/py-psycopg2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.13.0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=3.4.0:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyrsgis>=0.4.1:graphics/py-pyrsgis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2020.5:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rasterio>=1.3.2:graphics/py-rasterio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.28.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-image>=0.19.3:graphics/py-scikit-image@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=1.1.3:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}shapely>=1.8.5:devel/py-shapely@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.16.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.7.16:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}termcolor>=2.1.0:devel/py-termcolor@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xcffib>=0.11.1:x11/py-xcffib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xlrd>=2.0.1:textproc/py-xlrd@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.4.1:devel/py-pyyaml@${PY_FLAVOR} ### Fortran is needed by numpy, GRASS, etc. USES= bison cmake compiler:features desktop-file-utils \ fortran gl gmake gnome iconv pgsql pyqt:5 python qca qt:5 \ shebangfix sqlite:3 tar:bz2 USE_GL= gl USE_GNOME= libxml2 USE_LDCONFIG= yes USE_PYQT= pyqt5 qscintilla2 pysip sip USE_QT= 3d buildtools:build core concurrent dbus declarative \ designer:build qdoc:build gamepad gui linguist:build location \ multimedia network printsupport qmake:build script serialport \ sql sql-pgsql sql-sqlite3 svg testlib uitools:build \ webengine widgets xml SHEBANG_FILES= src/plugins/grass/scripts/*.py # Python_EXECUTABLE: Use the default version if multiple Pythons are available CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Release \ -DHAVE_PGCONFIG=1 \ -DPYRCC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyrcc5-${PYTHON_VER} \ -DPYUIC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyuic5-${PYTHON_VER} \ -DPython_EXECUTABLE=${PYTHON_CMD} \ -DQSCI_SIP_DIR:PATH=${PYQT_SIPDIR}/Qsci \ -DQWT_INCLUDE_DIR:PATH=${LOCALBASE}/include/qt5/qwt6 \ -DQWT_LIBRARY:FILEPATH=${LOCALBASE}/lib/qt5/libqwt.so \ -DQGIS_MANUAL_SUBDIR:PATH=share/man CMAKE_ON= USE_OPENCL WITH_ASTYLE WITH_BINDINGS WITH_COPC \ WITH_CUSTOM_WIDGETS WITH_DRACO WITH_EPT \ WITH_INTERNAL_LAZPERF WITH_POSTGRESQL CMAKE_OFF= ENABLE_TESTS WITH_INTERNAL_MDAL WITH_QTWEBKIT WITH_QWTPOLAR # math/pdal fails in pdal_wrench() with "undefined reference to symbol 'pthread_create@@FBSD_1.0'" #CXXFLAGS+= -pthread CONFLICTS_INSTALL= qgis PLIST_SUB= DISTVERSION=${PORTVERSION} .if !defined(MAINTAINER_MODE) CMAKE_ARGS+= -Wno-dev CMAKE_OFF+= SUPPRESS_QT_WARNINGS .endif OPTIONS_DEFINE= SERVER GRASS OPTIONS_DEFAULT= SERVER GRASS NO_OPTIONS_SORT= yes OPTIONS_SUB= yes GRASS_DESC= Add GRASS GIS to processing tools SERVER_DESC= Enable QGIS server GRASS_BUILD_DEPENDS= grass8:databases/grass8 GRASS_RUN_DEPENDS= ${GRASS_BUILD_DEPENDS} GRASS_CMAKE_BOOL= WITH_GRASS8 SERVER_LIB_DEPENDS= libfcgi.so:www/fcgi SERVER_CMAKE_BOOL= WITH_SERVER WITH_SERVER_PLUGINS WITH_QSPATIALITE .include pre-patch: # Only PostgreSQL Client headers, not Server @${REINPLACE_CMD} -e 's|set(POSTGRES_INCLUDE_DIR \$${PostgreSQL_INCLUDE_DIRS})|set(POSTGRES_INCLUDE ${LOCALBASE}/include)|g' \ ${WRKSRC}/cmake/FindPostgres.cmake post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/cmake/FindGRASS.cmake # On i386, '-mllvm -inline-threshold=128' does not build under all circumstances # See bugs 242557 and 241687. .if ${OPSYS} == FreeBSD && ${ARCH} == "i386" @${REINPLACE_CMD} -e 's|"-mllvm -inline-threshold=128"|"-O1"|g' \ ${WRKSRC}/src/core/CMakeLists.txt .endif pre-configure: ${MKDIR} ${CONFIGURE_WRKSRC}/bin && ${LN} -s ${PYTHON_CMD} ${CONFIGURE_WRKSRC}/bin/python3 post-install: @${RM} ${STAGEDIR}${DATADIR}/python/pytz/tzfile.py.bak @${FIND} ${STAGEDIR}${LOCALBASE} -name "__pycache__" -delete @${RM} /tmp/srs.db check: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check .include diff --git a/graphics/qgis/Makefile b/graphics/qgis/Makefile index 25169184833a..637e519f44a7 100644 --- a/graphics/qgis/Makefile +++ b/graphics/qgis/Makefile @@ -1,193 +1,193 @@ PORTNAME= qgis DISTVERSION= 3.38.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics geography MASTER_SITES= https://qgis.org/downloads/ MAINTAINER= rhurlin@FreeBSD.org COMMENT= Free and Open Source Geographic Information System WWW= https://qgis.org/en/site/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/LICENSE BUILD_DEPENDS= gpsbabel>=1.7.0:astro/gpsbabel \ opencl>=0:devel/opencl \ ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.11.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.2:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.20.2:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jedi>=0.18.1:devel/py-jedi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.1.1:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.4.3:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=4.0.3:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.27.2:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=5.10.0:devel/py-pbr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pip>=22.2.2:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=4.14.3:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.13.0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=3.4.0:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2020.5:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.28.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.16.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.7.16:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.4.1:devel/py-pyyaml@${PY_FLAVOR} LIB_DEPENDS= libabsl_log_internal_check_op.so:devel/abseil \ libdraco.so:archivers/draco \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libfreexl.so:textproc/freexl \ libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libgsl.so:math/gsl \ libhdf5.so:science/hdf5 \ libmdal.so:math/mdal \ libminizip.so:archivers/minizip \ libnetcdf.so:science/netcdf \ libOpenCL.so:devel/ocl-icd \ libpdalcpp.so:math/pdal \ libproj.so:graphics/proj \ libprotobuf-lite.so:devel/protobuf \ libqjson-qt5.so:devel/qjson \ libqscintilla2_qt5.so:devel/qscintilla2-qt5 \ libqt5keychain.so:security/qtkeychain@qt5 \ libqwt.so:x11-toolkits/qwt6@qt5 \ librttopo.so:devel/librttopo \ libspatialindex.so:devel/spatialindex \ libspatialite.so:databases/spatialite \ libsz.so:science/libaec \ libxerces-c.so:textproc/xerces-c3 \ libzip.so:archivers/libzip \ libzstd.so:archivers/zstd RUN_DEPENDS= astyle:devel/astyle \ opencl>=0:devel/opencl \ ${PYTHON_PKGNAMEPREFIX}black>=22.10:devel/py-black@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cycler>=0.11.0:devel/py-cycler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.2:devel/py-python-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Fiona>=1.8.21:graphics/py-fiona@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gdal>=3.5.2:graphics/py-gdal@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geojson>=2.3.0:devel/py-geojson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}geopandas>=0.11.1:graphics/py-geopandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httplib2>=0.20.2:www/py-httplib2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jedi>=0.18.1:devel/py-jedi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.2:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}laspy>=2.5.1:misc/py-laspy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markupsafe>=2.1.1:textproc/py-markupsafe@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.4.3:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=4.0.3:devel/py-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nbformat>=5.7.0:devel/py-nbformat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netCDF4>=1.6.2:science/py-netCDF4@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}networkx>=2.8.8:math/py-networkx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}nltk>=3.7:textproc/py-nltk@${PY_FLAVOR} \ ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}OWSLib>=0.27.2:graphics/py-OWSLib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pandas>=1.5.0:math/py-pandas@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pbr>=5.10.0:devel/py-pbr@${PY_FLAVOR} \ ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}pip>=22.2.2:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}plotly>=4.14.3:graphics/py-plotly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>=5.9.2:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.9.4:databases/py-psycopg2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.13.0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyproj>=3.4.0:graphics/py-pyproj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyrsgis>=0.4.1:graphics/py-pyrsgis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2020.5:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rasterio>=1.3.2:graphics/py-rasterio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.28.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-image>=0.19.3:graphics/py-scikit-image@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=1.1.3:science/py-scikit-learn@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}shapely>=1.8.5:devel/py-shapely@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.16.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.7.16:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}termcolor>=2.1.0:devel/py-termcolor@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xcffib>=0.11.1:x11/py-xcffib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xlrd>=2.0.1:textproc/py-xlrd@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.4.1:devel/py-pyyaml@${PY_FLAVOR} ### Fortran is needed by numpy, GRASS, etc. USES= bison cmake compiler:features desktop-file-utils \ fortran gl gmake gnome iconv pgsql pyqt:5 python qca qt:5 \ shebangfix sqlite:3 tar:bz2 USE_GL= gl USE_GNOME= libxml2 USE_LDCONFIG= yes USE_PYQT= pyqt5 qscintilla2 pysip sip USE_QT= 3d buildtools:build core concurrent dbus declarative \ designer:build qdoc:build gamepad gui linguist:build location \ multimedia network printsupport qmake:build script serialport \ sql sql-pgsql sql-sqlite3 svg testlib uitools:build \ webengine widgets xml SHEBANG_FILES= src/plugins/grass/scripts/*.py # Python_EXECUTABLE: Use the default version if multiple Pythons are available CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Release \ -DHAVE_PGCONFIG=1 \ -DPYRCC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyrcc5-${PYTHON_VER} \ -DPYUIC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyuic5-${PYTHON_VER} \ -DPython_EXECUTABLE=${PYTHON_CMD} \ -DQSCI_SIP_DIR:PATH=${PYQT_SIPDIR}/Qsci \ -DQWT_INCLUDE_DIR:PATH=${LOCALBASE}/include/qt5/qwt6 \ -DQWT_LIBRARY:FILEPATH=${LOCALBASE}/lib/qt5/libqwt.so \ -DQGIS_MANUAL_SUBDIR:PATH=share/man CMAKE_ON= USE_OPENCL WITH_ASTYLE WITH_BINDINGS WITH_COPC \ WITH_CUSTOM_WIDGETS WITH_DRACO WITH_EPT \ WITH_INTERNAL_LAZPERF WITH_POSTGRESQL CMAKE_OFF= BUILD_WITH_QT6 ENABLE_TESTS WITH_INTERNAL_MDAL WITH_QTWEBKIT \ WITH_QWTPOLAR CONFLICTS_INSTALL= qgis-ltr PLIST_SUB= DISTVERSION=${PORTVERSION} .if !defined(MAINTAINER_MODE) CMAKE_ARGS+= -Wno-dev CMAKE_OFF+= SUPPRESS_QT_WARNINGS .endif OPTIONS_DEFINE= SERVER GRASS OPTIONS_DEFAULT= SERVER GRASS NO_OPTIONS_SORT= yes OPTIONS_SUB= yes GRASS_DESC= Add GRASS GIS to processing tools SERVER_DESC= Enable QGIS server GRASS_BUILD_DEPENDS= grass8:databases/grass8 GRASS_RUN_DEPENDS= ${GRASS_BUILD_DEPENDS} GRASS_CMAKE_BOOL= WITH_GRASS8 SERVER_LIB_DEPENDS= libfcgi.so:www/fcgi SERVER_CMAKE_BOOL= WITH_SERVER WITH_SERVER_PLUGINS WITH_QSPATIALITE .include pre-patch: # Only PostgreSQL Client headers, not Server @${REINPLACE_CMD} -e 's|set(POSTGRES_INCLUDE_DIR \$${PostgreSQL_INCLUDE_DIRS})|set(POSTGRES_INCLUDE ${LOCALBASE}/include)|g' \ ${WRKSRC}/cmake/FindPostgres.cmake post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/cmake/FindGRASS.cmake # On i386, '-mllvm -inline-threshold=128' does not build under all circumstances # See bugs 242557 and 241687. .if ${OPSYS} == FreeBSD && ${ARCH} == "i386" @${REINPLACE_CMD} -e 's|"-mllvm -inline-threshold=128"|"-O1"|g' \ ${WRKSRC}/src/core/CMakeLists.txt .endif pre-configure: ${MKDIR} ${CONFIGURE_WRKSRC}/bin && ${LN} -s ${PYTHON_CMD} ${CONFIGURE_WRKSRC}/bin/python3 post-install: @${RM} ${STAGEDIR}${DATADIR}/python/pytz/tzfile.py.bak @${FIND} ${STAGEDIR}${LOCALBASE} -name "__pycache__" -delete @${RM} /tmp/srs.db check: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check .include diff --git a/math/mdal/Makefile b/math/mdal/Makefile index f7fd6970bc02..59e58722141d 100644 --- a/math/mdal/Makefile +++ b/math/mdal/Makefile @@ -1,38 +1,39 @@ PORTNAME= mdal DISTVERSIONPREFIX= release- DISTVERSION= 1.2.0 +PORTREVISION= 1 CATEGORIES= math geography MAINTAINER= wen@FreeBSD.org COMMENT= Mesh data abstration library WWW= https://www.mdal.xyz/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/gtest/gtest.h:devel/googletest LIB_DEPENDS= libpdalcpp.so:math/pdal \ libnetcdf.so:science/netcdf \ libsqlite3.so:databases/sqlite3 \ libgdal.so:graphics/gdal \ libhdf5.so:science/hdf5 \ libsz.so:science/libaec USES= cmake gnome localbase USE_GNOME= libxml2 USE_LDCONFIG= yes PLIST_FILES= bin/mdal_translate \ bin/mdalinfo \ include/mdal.h \ lib/libmdal.so \ lib/libmdal_a.a USE_GITHUB= yes GH_ACCOUNT= lutraconsulting GH_PROJECT= MDAL CMAKE_ARGS= -DSQLITE3_INCLUDE_DIRS="${LOCALBASE}/include" \ -DSQLITE3_LIBRARY="${LOCALBASE}/lib/libsqlite3.so" .include diff --git a/math/pdal/Makefile b/math/pdal/Makefile index eba85fe005e6..05c7d65099a4 100644 --- a/math/pdal/Makefile +++ b/math/pdal/Makefile @@ -1,77 +1,76 @@ PORTNAME= pdal -DISTVERSION= 2.6.3 -PORTREVISION= 3 +DISTVERSION= 2.7.2 CATEGORIES= math databases graphics MASTER_SITES= https://github.com/PDAL/PDAL/releases/download/${DISTVERSION}/ DISTNAME= ${PORTNAME}-${DISTVERSION}-src MAINTAINER= lbartoletti@FreeBSD.org COMMENT= Library for translating and manipulating point cloud data WWW= https://www.pdal.io LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json LIB_DEPENDS= libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libproj.so:graphics/proj \ libboost_thread.so:devel/boost-libs \ libcurl.so:ftp/curl \ libgeotiff.so:graphics/libgeotiff \ libxml2.so:textproc/libxml2 \ liblaszip.so:archivers/laszip \ libzstd.so:archivers/zstd \ ${LIB_DEPENDS_${ARCH}} LIB_DEPENDS_aarch64= libunwind.so:devel/libunwind LIB_DEPENDS_amd64= libunwind.so:devel/libunwind LIB_DEPENDS_armv7= libunwind.so:devel/libunwind LIB_DEPENDS_i386= libunwind.so:devel/libunwind LIB_DEPENDS_powerpc64= libunwind.so:devel/libunwind LIB_DEPENDS_powerpc64le=libunwind.so:devel/libunwind USES= cmake compiler:c++11-lib pathfix pkgconfig ssl tar:bz2 USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME:tu}-${DISTVERSION}-src CMAKE_ON= WITH_LASZIP #LASZIP is recommended CMAKE_OFF= WITH_TESTS OPTIONS_DEFINE= BASH \ ICEBRIDGE PGPOINTCLOUD LAZPERF MBIO \ OPTIONS_DEFAULT= BASH \ ICEBRIDGE PGPOINTCLOUD LAZPERF MBIO #Plugins with lib not in port: #RivLib, Matlab, MrSID, CPD, GeoWave, GreyHound, HexBin, NITF (nitro) OPTIONS_SUB= yes BASH_DESC= BASH completion ICEBRIDGE_DESC= Enable Icebridge plugin LAZPERF_DESC= Enable LAZPerf plugin MBIO_DESC= Enable MBIO plugin PGPOINTCLOUD_DESC= Enable Coherent PostgreSQL Point Cloud plugin BASH_CMAKE_BOOL= WITH_COMPLETION BASH_RUN_DEPENDS= bash:shells/bash ICEBRIDGE_CMAKE_BOOL= BUILD_PLUGIN_ICEBRIDGE ICEBRIDGE_LIB_DEPENDS= libhdf5.so:science/hdf5 \ libsz.so:science/libaec LAZPERF_CMAKE_BOOL= WITH_LAZPERF LAZPERF_LIB_DEPENDS= liblazperf.so:archivers/lazperf MBIO_CMAKE_BOOL= BUILD_PLUGIN_MBIO PGPOINTCLOUD_CMAKE_BOOL= BUILD_PLUGIN_PGPOINTCLOUD PGPOINTCLOUD_USES= pgsql CXXFLAGS_powerpc64= -mvsx pre-install-BASH-on: ${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions .include diff --git a/math/pdal/distinfo b/math/pdal/distinfo index a5eaccb84935..8e69bae0452b 100644 --- a/math/pdal/distinfo +++ b/math/pdal/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1708719688 -SHA256 (pdal-2.6.3-src.tar.bz2) = e4d90a3ce4c9681cd3522ca29e73a88ff3b3c713f918693ad03932a6b7680460 -SIZE (pdal-2.6.3-src.tar.bz2) = 87274788 +TIMESTAMP = 1724912712 +SHA256 (pdal-2.7.2-src.tar.bz2) = f6ae0f3dc012b19c70dde2361799ecac0cdcbeb9cad5cfd96313c9fdc8608f32 +SIZE (pdal-2.7.2-src.tar.bz2) = 87431434 diff --git a/math/pdal/files/patch-CMakeLists.txt b/math/pdal/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..48d4547b63ed --- /dev/null +++ b/math/pdal/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2024-08-29 07:07:08 UTC ++++ CMakeLists.txt +@@ -356,7 +356,7 @@ install(DIRECTORY ${PDAL_FILTERS_DIR}/ + # PATTERN "private" EXCLUDE + ) + +-install(FILES ${DIMENSION_OUTFILE} ${pdal_features_hpp}/ ++install(FILES ${DIMENSION_OUTFILE} ${pdal_features_hpp} + DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/pdal" + PERMISSIONS + GROUP_EXECUTE WORLD_EXECUTE OWNER_EXECUTE diff --git a/math/pdal/pkg-plist b/math/pdal/pkg-plist index 73d81b1a5455..bd33e3c10a1b 100644 --- a/math/pdal/pkg-plist +++ b/math/pdal/pkg-plist @@ -1,342 +1,342 @@ bin/pdal bin/pdal-config include/pdal/Artifact.hpp include/pdal/ArtifactManager.hpp include/pdal/DbReader.hpp include/pdal/DbWriter.hpp include/pdal/DimDetail.hpp include/pdal/DimType.hpp include/pdal/DimUtil.hpp include/pdal/Dimension.hpp include/pdal/Filter.hpp include/pdal/FlexWriter.hpp include/pdal/Geometry.hpp include/pdal/JsonFwd.hpp include/pdal/KDIndex.hpp include/pdal/Kernel.hpp include/pdal/Log.hpp include/pdal/Mesh.hpp include/pdal/Metadata.hpp include/pdal/Options.hpp include/pdal/PDALUtils.hpp include/pdal/PipelineExecutor.hpp include/pdal/PipelineManager.hpp include/pdal/PipelineReaderJSON.hpp include/pdal/PipelineWriter.hpp include/pdal/PluginDirectory.hpp include/pdal/PluginHelper.hpp include/pdal/PluginInfo.hpp include/pdal/PluginManager.hpp include/pdal/PointContainer.hpp include/pdal/PointLayout.hpp include/pdal/PointRef.hpp include/pdal/PointTable.hpp include/pdal/PointView.hpp include/pdal/Polygon.hpp include/pdal/QuadIndex.hpp include/pdal/QuickInfo.hpp include/pdal/Reader.hpp include/pdal/Scaling.hpp include/pdal/SpatialReference.hpp include/pdal/SrsBounds.hpp include/pdal/Stage.hpp include/pdal/StageExtensions.hpp include/pdal/StageFactory.hpp include/pdal/StageWrapper.hpp include/pdal/Streamable.hpp include/pdal/SubcommandKernel.hpp include/pdal/Writer.hpp include/pdal/XMLSchema.hpp include/pdal/compression/Compression.hpp include/pdal/compression/DeflateCompression.hpp include/pdal/compression/GzipCompression.hpp include/pdal/compression/LazPerfVlrCompression.hpp include/pdal/compression/LzmaCompression.hpp include/pdal/compression/ZstdCompression.hpp include/pdal/filters/ApproximateCoplanarFilter.hpp include/pdal/filters/AssignFilter.hpp include/pdal/filters/CSFilter.hpp include/pdal/filters/ChipperFilter.hpp include/pdal/filters/ClusterFilter.hpp include/pdal/filters/ColorInterpRamps.hpp include/pdal/filters/ColorinterpFilter.hpp include/pdal/filters/ColorizationFilter.hpp include/pdal/filters/CovarianceFeaturesFilter.hpp include/pdal/filters/CropFilter.hpp include/pdal/filters/DBSCANFilter.hpp include/pdal/filters/DEMFilter.hpp include/pdal/filters/DecimationFilter.hpp include/pdal/filters/DelaunayFilter.hpp include/pdal/filters/DividerFilter.hpp include/pdal/filters/ELMFilter.hpp include/pdal/filters/EigenvaluesFilter.hpp include/pdal/filters/EstimateRankFilter.hpp include/pdal/filters/ExpressionFilter.hpp include/pdal/filters/FaceRasterFilter.hpp include/pdal/filters/FarthestPointSamplingFilter.hpp include/pdal/filters/FerryFilter.hpp include/pdal/filters/GeomDistanceFilter.hpp include/pdal/filters/GeoreferenceFilter.hpp include/pdal/filters/GpsTimeConvert.hpp include/pdal/filters/GreedyProjection.hpp include/pdal/filters/GroupByFilter.hpp include/pdal/filters/HagDelaunayFilter.hpp include/pdal/filters/HagDemFilter.hpp include/pdal/filters/HagNnFilter.hpp include/pdal/filters/HeadFilter.hpp include/pdal/filters/HexBinFilter.hpp include/pdal/filters/IQRFilter.hpp include/pdal/filters/InfoFilter.hpp include/pdal/filters/IterativeClosestPoint.hpp include/pdal/filters/LOFFilter.hpp include/pdal/filters/LiTreeFilter.hpp include/pdal/filters/LloydKMeansFilter.hpp include/pdal/filters/LocateFilter.hpp include/pdal/filters/MADFilter.hpp include/pdal/filters/MergeFilter.hpp include/pdal/filters/MiniballFilter.hpp include/pdal/filters/MongoExpressionFilter.hpp include/pdal/filters/MortonOrderFilter.hpp include/pdal/filters/NNDistanceFilter.hpp include/pdal/filters/NeighborClassifierFilter.hpp include/pdal/filters/NormalFilter.hpp include/pdal/filters/OptimalNeighborhoodFilter.hpp include/pdal/filters/OutlierFilter.hpp include/pdal/filters/OverlayFilter.hpp include/pdal/filters/PMFFilter.hpp include/pdal/filters/PlaneFitFilter.hpp include/pdal/filters/PoissonFilter.hpp include/pdal/filters/ProjPipelineFilter.hpp include/pdal/filters/RadialDensityFilter.hpp include/pdal/filters/RandomizeFilter.hpp include/pdal/filters/RangeFilter.hpp include/pdal/filters/ReciprocityFilter.hpp include/pdal/filters/RelaxationDartThrowing.hpp include/pdal/filters/ReprojectionFilter.hpp include/pdal/filters/ReturnsFilter.hpp include/pdal/filters/SMRFilter.hpp include/pdal/filters/SampleFilter.hpp include/pdal/filters/SeparateScanLineFilter.hpp include/pdal/filters/ShellFilter.hpp include/pdal/filters/SkewnessBalancingFilter.hpp include/pdal/filters/SortFilter.hpp include/pdal/filters/SplitterFilter.hpp include/pdal/filters/StatsFilter.hpp include/pdal/filters/StraightenFilter.hpp include/pdal/filters/StreamCallbackFilter.hpp include/pdal/filters/TailFilter.hpp include/pdal/filters/TransformationFilter.hpp include/pdal/filters/VoxelCenterNearestNeighborFilter.hpp include/pdal/filters/VoxelCentroidNearestNeighborFilter.hpp include/pdal/filters/VoxelDownsizeFilter.hpp include/pdal/filters/ZsmoothFilter.hpp include/pdal/filters/private/DimRange.hpp include/pdal/filters/private/Point.hpp include/pdal/filters/private/Segmentation.hpp include/pdal/filters/private/delaunator.hpp include/pdal/filters/private/expr/AssignParser.hpp include/pdal/filters/private/expr/AssignStatement.hpp include/pdal/filters/private/expr/BaseParser.hpp include/pdal/filters/private/expr/ConditionalExpression.hpp include/pdal/filters/private/expr/ConditionalParser.hpp include/pdal/filters/private/expr/Expression.hpp include/pdal/filters/private/expr/IdentExpression.hpp include/pdal/filters/private/expr/Lexer.hpp include/pdal/filters/private/expr/MathExpression.hpp include/pdal/filters/private/expr/MathParser.hpp include/pdal/filters/private/expr/Token.hpp include/pdal/filters/private/georeference/LocalCartesian.hpp include/pdal/filters/private/georeference/Trajectory.hpp include/pdal/filters/private/georeference/Utils.hpp include/pdal/filters/private/hexer/HexGrid.hpp include/pdal/filters/private/hexer/HexInfo.hpp include/pdal/filters/private/hexer/HexIter.hpp include/pdal/filters/private/hexer/Hexagon.hpp include/pdal/filters/private/hexer/Mathpair.hpp include/pdal/filters/private/hexer/Path.hpp include/pdal/filters/private/hexer/Processor.hpp include/pdal/filters/private/hexer/Segment.hpp include/pdal/filters/private/hexer/exception.hpp include/pdal/filters/private/mongoexpression/Comparison.hpp include/pdal/filters/private/mongoexpression/Expression.hpp include/pdal/filters/private/mongoexpression/LogicGate.hpp include/pdal/filters/private/mongoexpression/Support.hpp include/pdal/filters/private/pnp/Comparison.hpp include/pdal/filters/private/pnp/Grid.hpp include/pdal/filters/private/pnp/GridPnp.hpp include/pdal/filters/private/pnp/VoxelRayTrace.hpp include/pdal/filters/private/straighten/Polyline.hpp include/pdal/filters/private/straighten/Utils.hpp include/pdal/io/BpfCompressor.hpp include/pdal/io/BpfHeader.hpp include/pdal/io/BpfReader.hpp include/pdal/io/BpfWriter.hpp include/pdal/io/BufferReader.hpp include/pdal/io/CopcReader.hpp include/pdal/io/CopcWriter.hpp include/pdal/io/EptAddonWriter.hpp include/pdal/io/EptReader.hpp include/pdal/io/EsriReader.hpp include/pdal/io/FauxReader.hpp include/pdal/io/FbiHeader.hpp include/pdal/io/FbiReader.hpp include/pdal/io/FbiWriter.hpp include/pdal/io/GDALReader.hpp include/pdal/io/GDALWriter.hpp include/pdal/io/GltfWriter.hpp include/pdal/io/HeaderVal.hpp include/pdal/io/I3SReader.hpp include/pdal/io/Ilvis2MetadataReader.hpp include/pdal/io/Ilvis2Reader.hpp include/pdal/io/LasHeader.hpp include/pdal/io/LasReader.hpp include/pdal/io/LasVLR.hpp include/pdal/io/LasWriter.hpp include/pdal/io/MemoryViewReader.hpp include/pdal/io/NullWriter.hpp include/pdal/io/OGRWriter.hpp include/pdal/io/ObjReader.hpp include/pdal/io/OptechCommon.hpp include/pdal/io/OptechReader.hpp include/pdal/io/OptechRotationMatrix.hpp include/pdal/io/PcdHeader.hpp include/pdal/io/PcdReader.hpp include/pdal/io/PcdWriter.hpp include/pdal/io/PlyReader.hpp include/pdal/io/PlyWriter.hpp include/pdal/io/PtsReader.hpp include/pdal/io/PtxReader.hpp include/pdal/io/QfitReader.hpp include/pdal/io/RasterWriter.hpp include/pdal/io/SbetCommon.hpp include/pdal/io/SbetReader.hpp include/pdal/io/SbetSmrmsgReader.hpp include/pdal/io/SbetWriter.hpp include/pdal/io/SlpkReader.hpp include/pdal/io/StacReader.hpp include/pdal/io/TIndexReader.hpp include/pdal/io/TerrasolidReader.hpp include/pdal/io/TextReader.hpp include/pdal/io/TextWriter.hpp include/pdal/io/point_types.hpp include/pdal/io/private/GDALGrid.hpp include/pdal/io/private/connector/Connector.hpp include/pdal/io/private/copc/Entry.hpp include/pdal/io/private/copc/Info.hpp include/pdal/io/private/copc/Key.hpp include/pdal/io/private/copc/Tile.hpp include/pdal/io/private/copcwriter/BuPyramid.hpp include/pdal/io/private/copcwriter/CellManager.hpp include/pdal/io/private/copcwriter/Common.hpp include/pdal/io/private/copcwriter/Grid.hpp include/pdal/io/private/copcwriter/GridKey.hpp include/pdal/io/private/copcwriter/OctantInfo.hpp include/pdal/io/private/copcwriter/Output.hpp include/pdal/io/private/copcwriter/Processor.hpp include/pdal/io/private/copcwriter/PyramidManager.hpp include/pdal/io/private/copcwriter/Reprocessor.hpp include/pdal/io/private/copcwriter/VoxelInfo.hpp include/pdal/io/private/copcwriter/VoxelKey.hpp include/pdal/io/private/ept/Addon.hpp include/pdal/io/private/ept/Artifact.hpp include/pdal/io/private/ept/EptInfo.hpp include/pdal/io/private/ept/EptSupport.hpp include/pdal/io/private/ept/FixedPointLayout.hpp include/pdal/io/private/ept/Key.hpp include/pdal/io/private/ept/Overlap.hpp include/pdal/io/private/ept/TileContents.hpp include/pdal/io/private/ept/VectorPointTable.hpp include/pdal/io/private/esri/EsriUtil.hpp include/pdal/io/private/esri/Obb.hpp include/pdal/io/private/esri/PageManager.hpp include/pdal/io/private/las/Geotiff.hpp include/pdal/io/private/las/Header.hpp include/pdal/io/private/las/Srs.hpp include/pdal/io/private/las/Summary.hpp include/pdal/io/private/las/Utils.hpp include/pdal/io/private/las/Vlr.hpp include/pdal/io/private/stac/Catalog.hpp include/pdal/io/private/stac/Collection.hpp include/pdal/io/private/stac/Item.hpp include/pdal/io/private/stac/ItemCollection.hpp include/pdal/io/private/stac/Utils.hpp include/pdal/kernels/ChamferKernel.hpp include/pdal/kernels/DeltaKernel.hpp include/pdal/kernels/DensityKernel.hpp include/pdal/kernels/EvalKernel.hpp include/pdal/kernels/GroundKernel.hpp include/pdal/kernels/HausdorffKernel.hpp include/pdal/kernels/InfoKernel.hpp include/pdal/kernels/MergeKernel.hpp include/pdal/kernels/PipelineKernel.hpp include/pdal/kernels/RandomKernel.hpp include/pdal/kernels/SortKernel.hpp include/pdal/kernels/SplitKernel.hpp include/pdal/kernels/TIndexKernel.hpp include/pdal/kernels/TileKernel.hpp include/pdal/kernels/TranslateKernel.hpp include/pdal/kernels/private/PointlessLas.hpp include/pdal/kernels/private/density/OGR.hpp include/pdal/kernels/private/stac/StacInfo.hpp include/pdal/pdal.hpp include/pdal/pdal_config.hpp include/pdal/pdal_export.hpp include/pdal/pdal_features.hpp include/pdal/pdal_internal.hpp include/pdal/pdal_test_main.hpp include/pdal/pdal_types.hpp include/pdal/private/DynamicLibrary.hpp include/pdal/private/KDImpl.hpp include/pdal/private/MathUtils.hpp include/pdal/private/Raster.hpp include/pdal/private/SrsTransform.hpp include/pdal/private/StageRunner.hpp include/pdal/private/gdal/ErrorHandler.hpp include/pdal/private/gdal/GDALError.hpp include/pdal/private/gdal/GDALUtils.hpp include/pdal/private/gdal/Raster.hpp include/pdal/private/gdal/SpatialRef.hpp include/pdal/util/Algorithm.hpp include/pdal/util/Backtrace.hpp include/pdal/util/Bounds.hpp include/pdal/util/Charbuf.hpp include/pdal/util/Extractor.hpp include/pdal/util/FileUtils.hpp include/pdal/util/Georeference.hpp include/pdal/util/IStream.hpp include/pdal/util/Inserter.hpp include/pdal/util/NullOStream.hpp include/pdal/util/OStream.hpp include/pdal/util/ProgramArgs.hpp include/pdal/util/Random.hpp include/pdal/util/ThreadPool.hpp include/pdal/util/Utils.hpp include/pdal/util/Uuid.hpp include/pdal/util/pdal_util_export.hpp include/pdal/util/pdal_util_internal.hpp include/pdal/util/portable_endian.hpp include/pdal/util/private/BacktraceImpl.hpp lib/cmake/PDAL/PDALConfig.cmake lib/cmake/PDAL/PDALConfigVersion.cmake lib/cmake/PDAL/PDALTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/PDAL/PDALTargets.cmake lib/cmake/PDAL/pluginmacros.cmake lib/libpdal_plugin_kernel_fauxplugin.so -lib/libpdal_plugin_kernel_fauxplugin.so.16 -lib/libpdal_plugin_kernel_fauxplugin.so.16.3.0 +lib/libpdal_plugin_kernel_fauxplugin.so.17 +lib/libpdal_plugin_kernel_fauxplugin.so.17.1.0 %%ICEBRIDGE%%lib/libpdal_plugin_reader_icebridge.so -%%ICEBRIDGE%%lib/libpdal_plugin_reader_icebridge.so.16 -%%ICEBRIDGE%%lib/libpdal_plugin_reader_icebridge.so.16.3.0 +%%ICEBRIDGE%%lib/libpdal_plugin_reader_icebridge.so.17 +%%ICEBRIDGE%%lib/libpdal_plugin_reader_icebridge.so.17.1.0 %%PGPOINTCLOUD%%lib/libpdal_plugin_reader_pgpointcloud.so -%%PGPOINTCLOUD%%lib/libpdal_plugin_reader_pgpointcloud.so.16 -%%PGPOINTCLOUD%%lib/libpdal_plugin_reader_pgpointcloud.so.16.3.0 +%%PGPOINTCLOUD%%lib/libpdal_plugin_reader_pgpointcloud.so.17 +%%PGPOINTCLOUD%%lib/libpdal_plugin_reader_pgpointcloud.so.17.1.0 %%PGPOINTCLOUD%%lib/libpdal_plugin_writer_pgpointcloud.so -%%PGPOINTCLOUD%%lib/libpdal_plugin_writer_pgpointcloud.so.16 -%%PGPOINTCLOUD%%lib/libpdal_plugin_writer_pgpointcloud.so.16.3.0 +%%PGPOINTCLOUD%%lib/libpdal_plugin_writer_pgpointcloud.so.17 +%%PGPOINTCLOUD%%lib/libpdal_plugin_writer_pgpointcloud.so.17.1.0 lib/libpdalcpp.so -lib/libpdalcpp.so.16 -lib/libpdalcpp.so.16.3.0 +lib/libpdalcpp.so.17 +lib/libpdalcpp.so.17.1.0 libdata/pkgconfig/pdal.pc %%BASH%%share/bash-completion/completions/pdal @dir include/pdal/filters/private/csf @dir include/pdal/filters/private/miniball diff --git a/math/saga/Makefile b/math/saga/Makefile index 889cfa46c60d..e9b46c8690d1 100644 --- a/math/saga/Makefile +++ b/math/saga/Makefile @@ -1,108 +1,108 @@ PORTNAME= saga PORTVERSION= 9.5.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]\.[[:digit:]]*$//}/SAGA%20-%20${PORTVERSION} MAINTAINER= rhurlin@FreeBSD.org COMMENT= System for Automated Geoscientific Analyses WWW= http://www.saga-gis.org/en/index.html LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif BUILD_DEPENDS= swig:devel/swig LIB_DEPENDS= libcurl.so:ftp/curl \ libfftw3.so:math/fftw3 \ libgdal.so:graphics/gdal \ libhdf5.so:science/hdf5 \ libhpdf.so:print/libharu \ libodbc.so:databases/unixODBC \ libopencv_core.so:graphics/opencv \ libpdalcpp.so:math/pdal \ libproj.so:graphics/proj \ libsvm.so:science/libsvm \ libsz.so:science/libaec \ libtiff.so:graphics/tiff RUN_DEPENDS:= swig:devel/swig USES= cmake compiler:c++17-lang desktop-file-utils dos2unix gnome \ iconv:wchar_t localbase pkgconfig python DOS2UNIX_GLOB= *.cpp *.h USE_LDCONFIG= yes USE_WX= 3.2+ GIT_TAGNAME= bd94e6a29 CMAKE_ARGS= -DSVM_INCLUDE:PATH=${LOCALBASE}/include/svm.h CMAKE_ON= CMAKE_VERBOSE_MAKEFILE CMAKE_ON+= WITH_DEV_TOOLS CMAKE_ON+= WITH_EXCERCISES CMAKE_ON+= WITH_LIFETIME_TRACKER CMAKE_ON+= WITH_MRMR CMAKE_ON+= WITH_SYSTEM_SVM CMAKE_ON+= WITH_TOOLS_HPDF CMAKE_ON+= WITH_TOOLS_OPENCV CMAKE_ON+= WITH_PYTHON_PKG CMAKE_ON+= WITH_TOOLS_PDAL CMAKE_ON+= WITH_TOOLS_POSTGRES CMAKE_ON+= WITH_TOOLS_PROJ CMAKE_OFF= WITH_CLIPPER_ONE CMAKE_OFF+= WITH_TOOLS_RIEGL SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}-gis PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= PGSQL OPENMP VIGRA OPTIONS_DEFAULT= PGSQL VIGRA OPTIONS_DEFAULT_amd64= OPENMP OPTIONS_DEFAULT_i386= OPENMP OPTIONS_DEFAULT_powerpc64= OPENMP OPTIONS_DEFAULT_powerpc64le= OPENMP NO_OPTIONS_SORT= yes OPTIONS_SUB= yes OPENMP_DESC= Enable Multiprocessing (only amd64, i386 and powerpc64*) VIGRA_DESC= Enable 'Vision with Generic Algorithms' Library OPENMP_CONFIGURE_ENABLE= openmp PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= postgresql VIGRA_BUILD_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:graphics/vigra VIGRA_RUN_DEPENDS= ${LOCALBASE}/lib/libvigraimpex.so:graphics/vigra .include SUB_FILES= pkg-message post-patch: .if ${ARCH} == "powerpc" @${REINPLACE_CMD} -e 's|typedef unsigned long DWORD;|typedef unsigned int DWORD;|' \ ${WRKSRC}/src/saga_core/saga_api/api_core.h .endif @${REINPLACE_CMD} -e 's|GIT_TAGNAME|${GIT_TAGNAME}|g' \ ${WRKSRC}/src/saga_core/saga_gui/CMakeLists.txt \ ${WRKSRC}/src/saga_core/saga_gui/dlg_about.cpp @${REINPLACE_CMD} -e 's|-lgomp|-lomp|' \ ${WRKSRC}/src/accessories/templates/template4saga-tools/my_tool_library/Makefile post-install: ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/src/saga_core/saga_gui/res/saga*.txt ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/src/saga_core/saga_gui/res/saga.png ${STAGEDIR}${DATADIR} ${RM} ${STAGEDIR}${DATADIR}/saga_dic.txt ${STAGEDIR}${DATADIR}/saga_srs.txt # Put accessories under share/saga, python/data already under site-packages/PySAGA ;) (cd ${WRKSRC}/src/accessories && ${RM} -R python) (cd ${WRKSRC}/src/accessories && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) ${RM} -R ${STAGEDIR}${DATADIR}/CMakeLists.txt ${RM} -R ${STAGEDIR}${DATADIR}/templates/template4saga-tools/my_tool_library/Makefile.bak # library helper files are not needed and cripple some math/qgis extensions @${RM} ${STAGEDIR}${PREFIX}/lib/saga/*.la .include diff --git a/science/paraview/Makefile b/science/paraview/Makefile index 52f84b861939..7f330a5f587c 100644 --- a/science/paraview/Makefile +++ b/science/paraview/Makefile @@ -1,175 +1,175 @@ PORTNAME= paraview DISTVERSION= ${PARAVIEW_VER}.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= science graphics MASTER_SITES= http://www.paraview.org/files/v${PARAVIEW_VER}/ DISTNAME= ParaView-v${PORTVERSION} MAINTAINER= thierry@FreeBSD.org COMMENT= Powerful scientific data visualization application WWW= https://www.paraview.org/ # See https://www.paraview.org/license/ LICENSE= BSD3CLAUSE BROKEN_i386= no matching member function for call to 'getArrayType' BUILD_DEPENDS= ${PYNUMPY} \ cli11>0:devel/cli11 \ utf8cpp>0:devel/utf8cpp \ fast_float>0:math/fast_float \ nlohmann-json>0:devel/nlohmann-json \ vulkan-headers>0:graphics/vulkan-headers \ ${LOCALBASE}/include/exprtk.hpp:math/exprtk \ ${PYTHON_SITELIBDIR}/matplotlib/pyplot.py:math/py-matplotlib@${PY_FLAVOR} LIB_DEPENDS= libhdf5.so:science/hdf5 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libjbig.so:graphics/jbigkit \ liborc-0.4.so:devel/orc \ libpcre.so:devel/pcre \ libicuuc.so:devel/icu \ libffi.so:devel/libffi \ libtbb.so:devel/onetbb \ libogg.so:audio/libogg \ libgl2ps.so:print/gl2ps \ libOT.so:math/openturns \ libgdal.so:graphics/gdal \ libgeos.so:graphics/geos \ libhpdf.so:print/libharu \ libproj.so:graphics/proj \ libpdalcpp.so:math/pdal \ libdrm.so:graphics/libdrm \ libcgns.so:science/cgnslib \ liblz4.so:archivers/liblz4 \ libverdict.so:math/verdict \ libnetcdf.so:science/netcdf \ libjsoncpp.so:devel/jsoncpp \ libprotobuf.so:devel/protobuf \ libpugixml.so:textproc/pugixml \ libavutil.so:multimedia/ffmpeg \ libcgraph.so:graphics/graphviz \ libxkbcommon.so:x11/libxkbcommon \ libtheora.so:multimedia/libtheora \ libgeotiff.so:graphics/libgeotiff \ libboost_thread.so:devel/boost-libs \ libfontconfig.so:x11-fonts/fontconfig \ libdouble-conversion.so:devel/double-conversion RUN_DEPENDS= ${PYNUMPY} \ bash:shells/bash \ vtk${VTK_VER:R}>0:math/vtk${VTK_VER:R} \ ${PYTHON_SITELIBDIR}/matplotlib/pyplot.py:math/py-matplotlib@${PY_FLAVOR} USES= alias cmake compiler:c11 desktop-file-utils eigen:3 fortran gl gnome \ jpeg localbase pkgconfig python qt:6 shebangfix sqlite tar:xz xorg USE_GL= gl glew glu glut USE_GNOME= libxml2 USE_QT= 5compat base svg tools webengine #buildtools:build core gui help network opengl qmake:build sql svg \ # webengine widgets x11extras xmlpatterns USE_XORG= ice sm x11 xau xcb xcursor xdamage xdmcp xext xfixes xorgproto xrender \ xxf86vm USE_LDCONFIG= yes CFLAGS+= -I${WRKSRC}/Clients/ParaView/Documentation CMAKE_ARGS+= -DPARAVIEW_BUILD_SHARED_LIBS=ON \ -DPARAVIEW_BUILD_WITH_EXTERNAL=ON \ -DVTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T=1 \ -DPARAVIEW_USE_PYTHON:BOOL=ON \ -DPARAVIEW_ENABLE_FFMPEG:BOOL=ON \ -DPARAVIEW_ENABLE_LAS:BOOL=OFF \ -DPARAVIEW_ENABLE_WEB:BOOL=ON \ -DPARAVIEW_ENABLE_GDAL:BOOL=ON \ -DPARAVIEW_ENABLE_PDAL:BOOL=ON \ -DPARAVIEW_ENABLE_OPENTURNS:BOOL=ON \ -DPARAVIEW_ENABLE_OPENTURNS:BOOL=ON \ -DPARAVIEW_ENABLE_MOTIONFX:BOOL=ON \ -DPARAVIEW_ENABLE_XDMF2:BOOL=ON \ -DPARAVIEW_ENABLE_XDMF3:BOOL=ON \ -DPARAVIEW_USE_QT:BOOL=ON \ -DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION:BOOL=OFF \ -DPARAVIEW_ENABLE_EMBEDDED_DOCUMENTATION:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_fmt:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_ioss:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_pegtl:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_token:BOOL=OFF \ -DExternalData_OBJECT_STORES="${WRKDIR}/VTK/ExternalData/MD5" \ -DFREETYPE_INCLUDE_DIRS="${LOCALBASE}/include/freetype2" .if !defined(MAINTAINER_MODE) CMAKE_ARGS+= -DVTK_FORBID_DOWNLOADS:BOOL=ON .endif MAKE_ENV= XDG_CONFIG_HOME=${WRKDIR} USE_CXXSTD= c++17 SHEBANG_GLOB= *.py SHEBANG_FILES= VTK/Examples/SearchScript.sh \ VTK/Utilities/Maintenance/*.sh \ Clients/CommandLineExecutables/paraview-config.in OPTIONS_DEFINE= DOCS EXAMPLES MPICH OSMESA OPTIONS_SUB= yes OSMESA_DESC= Use Mesa for off-screen rendering # mpi4py and other programs must be compiled against the same MPI provider MPICH_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py-mpich@${PY_FLAVOR} MPICH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py-mpich@${PY_FLAVOR} MPICH_USES= mpi # mpich is set by default, use mpi:openmpi if needed MPICH_CMAKE_ON= -DPARAVIEW_USE_MPI:BOOL=ON MPICH_CMAKE_OFF= -DPARAVIEW_USE_MPI:BOOL=OFF OSMESA_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa OSMESA_USES_OFF= desktop-file-utils OSMESA_CMAKE_BOOL= VTK_OPENGL_HAS_OSMESA OSMESA_CMAKE_ON= -DVTK_USE_X:BOOL="OFF" \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so OSMESA_CMAKE_OFF= -DVTK_USE_X:BOOL="ON" EXAMPLES_CMAKE_BOOL= PARAVIEW_ENABLE_EXAMPLES PORTEXAMPLES= * #TEST_CMAKE_ON= -DPARAVIEW_BUILD_TESTING=WANT \ -DPARAVIEW_BUILD_VTK_TESTING=WANT # Error with ADIOS2 #LIB_DEPENDS+= libadios2_c.so:misc/adios2 #CMAKE_ARGS+= -DPARAVIEW_ENABLE_ADIOS2:BOOL=ON # Missing GenericIO for CosmoTools #CMAKE_ARGS+= -DPARAVIEW_ENABLE_COSMOTOOLS:BOOL=ON # Errors with VisItBridge / VisItLib #CMAKE_ARGS+= -DPARAVIEW_ENABLE_VISITBRIDGE:BOOL=ON # MomentInvariants needs to download a module #CMAKE_ARGS+= -DPARAVIEW_ENABLE_MOMENTINVARIANTS:BOOL=ON # No package for graphics/ospray #LIB_DEPENDS+= libospray.so:graphics/ospray #CMAKE_ARGS+= -DPARAVIEW_ENABLE_RAYTRACING PLIST_SUB+= VERMAJORMINOR=${PARAVIEW_VER} VTK9_CONFLICTS= vtk.py vtkmodules/__init__.py vtkmodules/all.py \ vtkmodules/gtk vtkmodules/numpy_interface \ vtkmodules/qt vtkmodules/test vtkmodules/tk \ vtkmodules/util vtkmodules/wx vtkmodules/generate_pyi.py \ vtkmodules/web/errors.py pre-configure: ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ ${PATCH_WRKSRC}/VTK/IO/Image/vtkPNGReader.cxx ${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \ ${PATCH_WRKSRC}/VTK/Utilities/Maintenance/vtk_site_history.py post-install: # vtk9 is not a real run dependency, but it installs several common files .for py in ${VTK9_CONFLICTS} ${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/${py} .endfor post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/Examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include <./Makefile.version> .include <../../math/vtk9/Makefile.version> .include