diff --git a/math/saga/Makefile b/math/saga/Makefile index f5bd4b474c62..ff7d87f773c2 100644 --- a/math/saga/Makefile +++ b/math/saga/Makefile @@ -1,108 +1,108 @@ PORTNAME= saga PORTVERSION= 9.4.0 -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 libtool localbase pkgconfig python DOS2UNIX_GLOB= *.cpp *.h USE_LDCONFIG= yes USE_WX= 3.2+ GIT_TAGNAME= 0c6bbea57 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/math/saga/pkg-plist b/math/saga/pkg-plist index bf30787d66b2..a314fa4ebf7d 100644 --- a/math/saga/pkg-plist +++ b/math/saga/pkg-plist @@ -1,302 +1,304 @@ bin/saga_cmd bin/saga_gui include/saga/saga_api/api_core.h include/saga/saga_api/data_manager.h include/saga/saga_api/dataobject.h include/saga/saga_api/datetime.h include/saga/saga_api/geo_tools.h include/saga/saga_api/grid.h include/saga/saga_api/grid_pyramid.h include/saga/saga_api/grids.h include/saga/saga_api/mat_tools.h include/saga/saga_api/metadata.h include/saga/saga_api/parameters.h include/saga/saga_api/pointcloud.h include/saga/saga_api/saga_api.h include/saga/saga_api/shapes.h include/saga/saga_api/table.h include/saga/saga_api/table_dbase.h include/saga/saga_api/table_value.h include/saga/saga_api/tin.h include/saga/saga_api/tool.h include/saga/saga_api/tool_library.h include/saga/saga_gdi/3d_view.h include/saga/saga_gdi/3d_view_tools.h include/saga/saga_gdi/saga_gdi.h include/saga/saga_gdi/sgdi_controls.h include/saga/saga_gdi/sgdi_core.h include/saga/saga_gdi/sgdi_diagram.h include/saga/saga_gdi/sgdi_dialog.h include/saga/saga_gdi/sgdi_helper.h include/saga/saga_gdi/sgdi_layout_items.h lib/libsaga_api.so lib/libsaga_api.so.9 lib/libsaga_api.so.%%PORTVERSION%% lib/libsaga_gdi.so lib/libsaga_gdi.so.9 lib/libsaga_gdi.so.%%PORTVERSION%% %%PYTHON_SITELIBDIR%%/PySAGA/__init__.py %%PYTHON_SITELIBDIR%%/PySAGA/_saga_api.so %%PYTHON_SITELIBDIR%%/PySAGA/convert.py %%PYTHON_SITELIBDIR%%/PySAGA/data/chelsa.py %%PYTHON_SITELIBDIR%%/PySAGA/data/copernicus_dem.py %%PYTHON_SITELIBDIR%%/PySAGA/data/helper.py %%PYTHON_SITELIBDIR%%/PySAGA/data/srtm.py %%PYTHON_SITELIBDIR%%/PySAGA/helper.py %%PYTHON_SITELIBDIR%%/PySAGA/plot.py %%PYTHON_SITELIBDIR%%/PySAGA/saga_api.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/_tool_chains_uncategorized.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/climate_tools.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/contrib_perego.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/db_odbc.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/db_pgsql.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/docs_html.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/docs_pdf.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/grid_analysis.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/grid_calculus.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/grid_filter.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/grid_gridding.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/grid_spline.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/grid_tools.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/grid_visualisation.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/grids_tools.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/imagery_classification.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/imagery_isocluster.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/imagery_maxent.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/imagery_opencv.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/imagery_photogrammetry.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/imagery_segmentation.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/imagery_svm.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/imagery_tools.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/imagery_vigra.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/io_esri_e00.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/io_gdal.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/io_gps.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/io_grid.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/io_grid_image.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/io_pdal.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/io_riegl_rdb.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/io_shapes.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/io_table.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/io_virtual.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/io_webservices.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/pj_georeference.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/pj_geotrans.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/pj_proj4.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/pointcloud_tools.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/shapes_grid.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/shapes_lines.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/shapes_points.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/shapes_polygons.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/shapes_tools.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/shapes_transect.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/sim_air_flow.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/sim_cellular_automata.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/sim_ecosystems_hugget.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/sim_erosion.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/sim_fire_spreading.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/sim_geomorphology.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/sim_hydrology.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/sim_ihacres.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/sim_landscape_evolution.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/sim_qm_of_esp.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/sim_rivflow.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/statistics_grid.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/statistics_kriging.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/statistics_points.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/statistics_regression.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/ta_channels.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/ta_cliffmetrics.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/ta_compound.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/ta_hydrology.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/ta_lighting.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/ta_morphometry.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/ta_preprocessor.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/ta_profiles.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/ta_slope_stability.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/table_calculus.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/table_tools.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/tin_tools.py %%PYTHON_SITELIBDIR%%/PySAGA/tools/tta_tools.py lib/saga/libclimate_tools.so lib/saga/libcontrib_perego.so lib/saga/libdb_odbc.so %%PGSQL%%lib/saga/libdb_pgsql.so lib/saga/libdev_exercises.so lib/saga/libdev_tools.so lib/saga/libdocs_html.so lib/saga/libdocs_pdf.so lib/saga/libgarden_fractals.so lib/saga/libgarden_games.so lib/saga/libgarden_webservices.so lib/saga/libgrid_analysis.so lib/saga/libgrid_calculus.so lib/saga/libgrid_calculus_bsl.so lib/saga/libgrid_filter.so lib/saga/libgrid_gridding.so lib/saga/libgrid_spline.so lib/saga/libgrid_tools.so lib/saga/libgrid_visualisation.so lib/saga/libgrids_tools.so lib/saga/libimagery_classification.so lib/saga/libimagery_isocluster.so lib/saga/libimagery_maxent.so lib/saga/libimagery_opencv.so lib/saga/libimagery_photogrammetry.so lib/saga/libimagery_segmentation.so lib/saga/libimagery_svm.so lib/saga/libimagery_tools.so %%VIGRA%%lib/saga/libimagery_vigra.so lib/saga/libio_esri_e00.so lib/saga/libio_gdal.so lib/saga/libio_gps.so lib/saga/libio_grid.so lib/saga/libio_grid_image.so lib/saga/libio_pdal.so lib/saga/libio_shapes.so lib/saga/libio_table.so lib/saga/libio_virtual.so lib/saga/libio_webservices.so lib/saga/libpj_georeference.so lib/saga/libpj_geotrans.so lib/saga/libpj_proj4.so lib/saga/libpointcloud_tools.so lib/saga/libshapes_grid.so lib/saga/libshapes_lines.so lib/saga/libshapes_points.so lib/saga/libshapes_polygons.so lib/saga/libshapes_tools.so lib/saga/libshapes_transect.so lib/saga/libsim_air_flow.so lib/saga/libsim_cellular_automata.so lib/saga/libsim_ecosystems_hugget.so lib/saga/libsim_erosion.so lib/saga/libsim_fire_spreading.so lib/saga/libsim_geomorphology.so lib/saga/libsim_hydrology.so lib/saga/libsim_ihacres.so lib/saga/libsim_landscape_evolution.so lib/saga/libsim_qm_of_esp.so lib/saga/libsim_rivflow.so lib/saga/libstatistics_grid.so lib/saga/libstatistics_kriging.so lib/saga/libstatistics_points.so lib/saga/libstatistics_regression.so lib/saga/libta_channels.so lib/saga/libta_cliffmetrics.so lib/saga/libta_compound.so lib/saga/libta_hydrology.so lib/saga/libta_lighting.so lib/saga/libta_morphometry.so lib/saga/libta_preprocessor.so lib/saga/libta_profiles.so lib/saga/libta_slope_stability.so lib/saga/libtable_calculus.so lib/saga/libtable_tools.so lib/saga/libtin_tools.so lib/saga/libvis_3d_viewer.so share/applications/saga.desktop share/icons/hicolor/128x128/apps/saga.png share/icons/hicolor/16x16/apps/saga.png share/icons/hicolor/192x192/apps/saga.png share/icons/hicolor/22x22/apps/saga.png share/icons/hicolor/24x24/apps/saga.png share/icons/hicolor/256x256/apps/saga.png share/icons/hicolor/32x32/apps/saga.png share/icons/hicolor/48x48/apps/saga.png share/icons/hicolor/64x64/apps/saga.png share/icons/hicolor/72x72/apps/saga.png share/icons/hicolor/80x80/apps/saga.png share/icons/hicolor/8x8/apps/saga.png share/icons/hicolor/96x96/apps/saga.png share/man/man1/saga_cmd.1.gz share/man/man1/saga_gui.1.gz share/metainfo/org.saga-gis.saga-gui.appdata.xml share/pixmaps/saga.png +%%DATADIR%%/debug/README.md +%%DATADIR%%/debug/gdb_saga_api_pp.py %%DATADIR%%/docs/saga_on_mac.md %%DATADIR%%/docs/saga_on_mac_build.sh %%DATADIR%%/docs/saga_python_example.bat %%DATADIR%%/docs/saga_python_example.ipynb %%DATADIR%%/docs/saga_python_example.py %%DATADIR%%/docs/saga_python_readme.txt %%DATADIR%%/docs/saga_toolchains_cheat_sheet.xml %%DATADIR%%/docs/saga_toolchains_manual.odt %%DATADIR%%/helper/convert2utf-8.bat %%DATADIR%%/helper/convert2utf-8.py %%DATADIR%%/helper/create_archive.py %%DATADIR%%/helper/doxygen_saga_api_chm %%DATADIR%%/helper/doxygen_saga_api_html %%DATADIR%%/helper/make_arcsaga_toolboxes.bat %%DATADIR%%/helper/make_macos_bundle.sh %%DATADIR%%/helper/make_python_api.bat %%DATADIR%%/helper/make_python_api_all.bat %%DATADIR%%/helper/make_python_toolboxes.bat %%DATADIR%%/helper/make_saga4qgis_toolboxes.bat %%DATADIR%%/helper/make_saga_api_doc.bat %%DATADIR%%/helper/make_saga_release.bat %%DATADIR%%/helper/make_saga_snapshot.bat %%DATADIR%%/helper/make_translation_files.bat %%DATADIR%%/helper/saga_python_version_tester.bat %%DATADIR%%/helper/saga_python_version_tester.py %%DATADIR%%/helper/saga_setup_readme.rtf %%DATADIR%%/helper/saga_setup_x64.iss %%DATADIR%%/saga.bra.txt %%DATADIR%%/saga.ger.txt %%DATADIR%%/saga.lng.txt %%DATADIR%%/saga.png %%DATADIR%%/saga.rus.txt %%DATADIR%%/saga_prj.dic %%DATADIR%%/saga_prj.srs %%DATADIR%%/saga_tip.txt %%DATADIR%%/templates/template4saga-tools/my_tool_library/CMakeLists.txt %%DATADIR%%/templates/template4saga-tools/my_tool_library/Makefile %%DATADIR%%/templates/template4saga-tools/my_tool_library/TLB_Interface.cpp %%DATADIR%%/templates/template4saga-tools/my_tool_library/my_tool.cpp %%DATADIR%%/templates/template4saga-tools/my_tool_library/my_tool.h %%DATADIR%%/templates/template4saga-tools/readme.txt %%DATADIR%%/toolchains/climate_tools.xml %%DATADIR%%/toolchains/climate_tools_temperature_downscaling.xml %%DATADIR%%/toolchains/grid_filter.xml %%DATADIR%%/toolchains/grid_filter_notch.xml %%DATADIR%%/toolchains/grid_filter_sieve_and_clump.xml %%DATADIR%%/toolchains/grid_filter_simple_bulk.xml %%DATADIR%%/toolchains/grid_tools.xml %%DATADIR%%/toolchains/grid_tools_bulk_no-data_change.xml %%DATADIR%%/toolchains/grid_tools_bulk_two_grids_weighted_mean.xml %%DATADIR%%/toolchains/gridding.xml %%DATADIR%%/toolchains/grids_tools.xml %%DATADIR%%/toolchains/grids_tools_filter_gaussian.xml %%DATADIR%%/toolchains/grids_tools_filter_laplacian.xml %%DATADIR%%/toolchains/grids_tools_filter_rank.xml %%DATADIR%%/toolchains/grids_tools_filter_simple.xml %%DATADIR%%/toolchains/grids_tools_longitudinal_range.xml %%DATADIR%%/toolchains/imagery_classification.xml %%DATADIR%%/toolchains/imagery_classification_lczc.xml %%DATADIR%%/toolchains/imagery_classification_majority.xml %%DATADIR%%/toolchains/imagery_segmentation.xml %%DATADIR%%/toolchains/imagery_segmentation_obia.xml %%DATADIR%%/toolchains/io_table.xml %%DATADIR%%/toolchains/io_table_import_text_tables.xml %%DATADIR%%/toolchains/shapes_grid.xml %%DATADIR%%/toolchains/shapes_grid_and_polygon_to_points.xml %%DATADIR%%/toolchains/shapes_points.xml %%DATADIR%%/toolchains/shapes_points_to_contour.xml %%DATADIR%%/toolchains/shapes_polygons.xml %%DATADIR%%/toolchains/shapes_polygons_max_interior_circles.xml %%DATADIR%%/toolchains/shapes_polygons_remove_from_boundary.xml %%DATADIR%%/toolchains/shapes_tools.xml %%DATADIR%%/toolchains/shapes_tools_select_delete.xml %%DATADIR%%/toolchains/statistics_grid.xml %%DATADIR%%/toolchains/statistics_grid_directions.xml %%DATADIR%%/toolchains/ta_hydrology.xml %%DATADIR%%/toolchains/ta_hydrology_flow_accumulation.xml %%DATADIR%%/toolchains/ta_hydrology_ls_factor.xml %%DATADIR%%/toolchains/ta_hydrology_twi.xml %%DATADIR%%/toolchains/ta_hydrology_upslope_height.xml %%DATADIR%%/toolchains/ta_morphometry.xml %%DATADIR%%/toolchains/ta_morphometry_clustering.xml %%DATADIR%%/toolchains/ta_morphometry_segmentation.xml %%DATADIR%%/toolchains/ta_morphometry_summits.xml %%DATADIR%%/toolchains/tta_LandCover.xml %%DATADIR%%/toolchains/tta_TravelTime.xml %%DATADIR%%/toolchains/tta_tools.xml