git: 9bdd87199007 - main - math/saga: Update to 8.4.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Oct 2022 20:23:58 UTC
The branch main has been updated by rhurlin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9bdd871990075d28d5a9e630d5447f285bf6dba6
commit 9bdd871990075d28d5a9e630d5447f285bf6dba6
Author: Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2022-10-26 20:07:21 +0000
Commit: Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2022-10-26 20:23:40 +0000
math/saga: Update to 8.4.0
Some of the visible changes are:
- Complete change from bitmap based to svg buttons, thanks to wxgtk32
- Show coordinates in 3D views (via 'l' key)
- Use CMake's 'FindGDAL.cmake'
- Overhaul of the about dialog
- Update ClipperLib to version 2
- Update help link to point to the new help page in the wiki
- and many more fixes and new features ...
GIT_TAGNAME is needed for the about dialog.
Changelog: https://sourceforge.net/p/saga-gis/wiki/Changelog%208.4.0/attachment/changelog_saga_8.4.0.txt
Reported by: portscout, Repology
---
math/saga/Makefile | 11 +++++------
math/saga/distinfo | 6 +++---
math/saga/pkg-plist | 2 +-
3 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/math/saga/Makefile b/math/saga/Makefile
index 56a7f7342eb2..a7108e007f09 100644
--- a/math/saga/Makefile
+++ b/math/saga/Makefile
@@ -1,6 +1,5 @@
PORTNAME= saga
-PORTVERSION= 8.3.1
-PORTREVISION= 2
+PORTVERSION= 8.4.0
CATEGORIES= math
MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]\.[[:digit:]]*$//}/SAGA%20-%20${PORTVERSION}
@@ -39,6 +38,8 @@ DOS2UNIX_GLOB= *.cpp *.h
USE_LDCONFIG= yes
USE_WX= 3.2+
+GIT_TAGNAME= eeff83616
+
CMAKE_ARGS+= -DSVM_INCLUDE:PATH=${LOCALBASE}/include/svm.h
CMAKE_ON= WITH_DEV_TOOLS WITH_EXCERCISES WITH_MRMR WITH_SYSTEM_SVM
CMAKE_ON+= CMAKE_VERBOSE_MAKEFILE
@@ -79,10 +80,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|typedef unsigned long DWORD;|typedef unsigned int DWORD;|' \
${WRKSRC}/src/saga_core/saga_api/api_core.h
.endif
-# # print/libharu installs v2.3.0, with '2.4.0dev' in include/hpdf_version.h
-# @${REINPLACE_CMD} -e 's|HPDF_MINOR_VERSION < 4|HPDF_MINOR_VERSION < 5|' \
-# ${WRKSRC}/src/tools/docs/docs_pdf/doc_pdf.cpp
- @${REINPLACE_CMD} -e 's|PORTVERSION|${PORTVERSION}|' \
+ @${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
diff --git a/math/saga/distinfo b/math/saga/distinfo
index a75240fededa..ba33392c19a1 100644
--- a/math/saga/distinfo
+++ b/math/saga/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1665592293
-SHA256 (saga-8.3.1.tar.gz) = 51eecabf7c335a3002d83856df8eb6f4c5bcb7252ee24f98fb5aef456fa943b3
-SIZE (saga-8.3.1.tar.gz) = 7700892
+TIMESTAMP = 1666720434
+SHA256 (saga-8.4.0.tar.gz) = bfa0cfc15db47dcb339eb11a149934fdec14e33ddc4e3cd862e2e4c8cc122d5d
+SIZE (saga-8.4.0.tar.gz) = 8459973
diff --git a/math/saga/pkg-plist b/math/saga/pkg-plist
index e6b339b16fed..b7854aaa8f72 100644
--- a/math/saga/pkg-plist
+++ b/math/saga/pkg-plist
@@ -135,7 +135,7 @@ 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%%/docs/saga_on_mac.odt
+%%DATADIR%%/docs/saga_on_mac.md
%%DATADIR%%/docs/saga_toolchains_cheat_sheet.xml
%%DATADIR%%/docs/saga_toolchains_manual.odt
@mode 0777