math/saga: Update 4.1.0 -> 6.1.0

PR:		223890
Submitted by:	Rainer Hurling <rhurlin@gwdg.de> (maintainer)
Approved by:	robak (mentor)
Differential Revision:	https://reviews.freebsd.org/D13436
This commit is contained in:
Bradley T. Hughes 2017-12-11 13:02:58 +00:00
parent 4c26d3c024
commit 9b69f56c5e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456027
5 changed files with 44 additions and 18 deletions

View file

@ -2,11 +2,9 @@
# $FreeBSD$
PORTNAME= saga
PORTVERSION= 4.1.0
PORTREVISION= 2
PORTVERSION= 6.1.0
CATEGORIES= math
MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]\.[[:digit:]]*$//}/SAGA%20-%20${PORTVERSION}
#DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= rhurlin@gwdg.de
COMMENT= System for Automated Geoscientific Analyses
@ -21,23 +19,23 @@ LIB_DEPENDS= libfftw3.so:math/fftw3 \
libjasper.so:graphics/jasper \
liblas.so:devel/liblas12 \
libodbc.so:databases/unixODBC \
libopencv_ml.so:graphics/opencv \
libopencv_core.so:graphics/opencv-core \
libopencv_ml.so:graphics/opencv \
libproj.so:graphics/proj \
libsvm.so:science/libsvm \
libtbb.so:devel/tbb \
libtiff.so:graphics/tiff
RUN_DEPENDS:= ${BUILD_DEPENDS}
CONFIGURE_ARGS= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
--enable-python
CONFIGURE_ENV= SWIG="${LOCALBASE}/bin/swig3.0"
GNU_CONFIGURE= yes
USES= autoreconf compiler:gcc-c++11-lib desktop-file-utils dos2unix \
iconv:wchar_t libtool localbase pkgconfig python:2
USE_LDCONFIG= yes
USE_CXXSTD= c++11
USE_WX= 3.0
USES= autoreconf desktop-file-utils libtool localbase compiler:gcc-c++11-lib \
iconv:wchar_t dos2unix pkgconfig python:2
USE_WX= 3.0+
CONFIGURE_ARGS= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
--enable-python --with-system-svm
CONFIGURE_ENV= SWIG="${LOCALBASE}/bin/swig3.0"
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
INSTALLS_ICONS= yes

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1497487742
SHA256 (saga-4.1.0.tar.gz) = e62651e862ff73d2e9e25d0d2b14aab59eb3cad3b7012af51431d10615c45c29
SIZE (saga-4.1.0.tar.gz) = 4490330
TIMESTAMP = 1511371377
SHA256 (saga-6.1.0.tar.gz) = da5767d339c3a2cd9d5905a66251e44b8be7325aa10b673db7ea55a8d4bffe6e
SIZE (saga-6.1.0.tar.gz) = 4574237

View file

@ -0,0 +1,11 @@
--- src/tools/imagery/imagery_svm/MLB_Interface.cpp.orig 2017-01-29 14:18:09 UTC
+++ src/tools/imagery/imagery_svm/MLB_Interface.cpp
@@ -62,7 +62,7 @@
#include "MLB_Interface.h"
#if defined(SYSTEM_SVM)
-#include <libsvm/svm.h>
+#include <svm.h>
#else
#include "svm/svm.h"
#endif

View file

@ -0,0 +1,11 @@
--- src/tools/imagery/imagery_svm/svm_grids.h.orig 2017-01-29 14:18:09 UTC
+++ src/tools/imagery/imagery_svm/svm_grids.h
@@ -73,7 +73,7 @@
#include "MLB_Interface.h"
#if defined(SYSTEM_SVM)
-#include <libsvm/svm.h>
+#include <svm.h>
#else
#include "svm/svm.h"
#endif

View file

@ -1,13 +1,13 @@
bin/saga_cmd
bin/saga_gui
include/saga/saga_core/saga_api/api_core.h
include/saga/saga_core/saga_api/compatibility.h
include/saga/saga_core/saga_api/data_manager.h
include/saga/saga_core/saga_api/dataobject.h
include/saga/saga_core/saga_api/datetime.h
include/saga/saga_core/saga_api/geo_tools.h
include/saga/saga_core/saga_api/grid.h
include/saga/saga_core/saga_api/grid_pyramid.h
include/saga/saga_core/saga_api/grids.h
include/saga/saga_core/saga_api/mat_tools.h
include/saga/saga_core/saga_api/metadata.h
include/saga/saga_core/saga_api/parameters.h
@ -56,6 +56,7 @@ 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_maxent.so
lib/saga/libimagery_opencv.so
@ -91,6 +92,7 @@ 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
@ -127,6 +129,9 @@ share/icons/hicolor/80x80/apps/saga.png
share/icons/hicolor/8x8/apps/saga.png
share/icons/hicolor/96x96/apps/saga.png
share/pixmaps/saga.png
@mode 0777
@dir %%DATADIR%%
@mode 0666
%%DATADIR%%/accessories/CMakeLists.txt
%%DATADIR%%/accessories/helper/make_arcsaga_toolboxes.bat
%%DATADIR%%/accessories/helper/make_saga_release.bat
@ -169,9 +174,6 @@ share/pixmaps/saga.png
%%DATADIR%%/accessories/templates/template4saga-tools/my_tools_link2bin.vc10.sln
%%DATADIR%%/accessories/templates/template4saga-tools/my_tools_link2src.vc10.sln
%%DATADIR%%/accessories/templates/template4saga-tools/readme.txt
@mode 0777
@dir %%DATADIR%%
@mode 0666
%%DATADIR%%/saga.bra.txt
%%DATADIR%%/saga.ger.txt
%%DATADIR%%/saga.lng.txt
@ -182,7 +184,11 @@ share/pixmaps/saga.png
%%DATADIR%%/saga_tip.txt
%%DATADIR%%/toolchains/climate.xml
%%DATADIR%%/toolchains/cluster_terrain.xml
%%DATADIR%%/toolchains/gc_simple_filter.xml
%%DATADIR%%/toolchains/gc_tools.xml
%%DATADIR%%/toolchains/grid_filter.xml
%%DATADIR%%/toolchains/grid_list_simple_filter.xml
%%DATADIR%%/toolchains/grid_notch_filter.xml
%%DATADIR%%/toolchains/gridding.xml
%%DATADIR%%/toolchains/group_files.xml
%%DATADIR%%/toolchains/imagery.xml