aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Hurling <rhurlin@FreeBSD.org>2022-10-26 20:07:21 +0000
committerRainer Hurling <rhurlin@FreeBSD.org>2022-10-26 20:23:40 +0000
commit9bdd871990075d28d5a9e630d5447f285bf6dba6 (patch)
treec0f74a2afe70b4a49e55853f96ada2db4c889355
parent5d59a7d59c7813b8188671f53aedcb43352915d9 (diff)
downloadports-9bdd871990075d28d5a9e630d5447f285bf6dba6.tar.gz
ports-9bdd871990075d28d5a9e630d5447f285bf6dba6.zip
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
-rw-r--r--math/saga/Makefile11
-rw-r--r--math/saga/distinfo6
-rw-r--r--math/saga/pkg-plist2
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