aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-01-04 07:30:55 +0800
committermiwi <miwi@FreeBSD.org>2012-01-04 07:30:55 +0800
commit05f578e5938bc62cee62d6502faa689e7e4ed7e1 (patch)
treeb30c9bac302ff9c3cf7ae69c89f8625af4d781a5 /math
parentb7df415e159f73f9f199296f6d2449618d3de1f3 (diff)
downloadfreebsd-ports-gnome-05f578e5938bc62cee62d6502faa689e7e4ed7e1.tar.gz
freebsd-ports-gnome-05f578e5938bc62cee62d6502faa689e7e4ed7e1.tar.zst
freebsd-ports-gnome-05f578e5938bc62cee62d6502faa689e7e4ed7e1.zip
- Update to 2.0.8
PR: 162858 Submitted by: Rainer Hurling <rhurlin@gwdg.de> (maintainer)
Diffstat (limited to 'math')
-rw-r--r--math/saga/Makefile9
-rw-r--r--math/saga/distinfo4
-rw-r--r--math/saga/files/patch-src__saga_core__saga_cmd__saga_cmd.cpp13
-rw-r--r--math/saga/pkg-plist76
4 files changed, 17 insertions, 85 deletions
diff --git a/math/saga/Makefile b/math/saga/Makefile
index 4202b14e083a..eb59482933d0 100644
--- a/math/saga/Makefile
+++ b/math/saga/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= saga
-PORTVERSION= 2.0.7
-PORTREVISION= 4
+PORTVERSION= 2.0.8
CATEGORIES= math
MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]*$//}/SAGA%20${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -15,6 +14,8 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= rhurlin@gwdg.de
COMMENT= System for Automated Geoscientific Analyses
+LICENSE= GPLv2
+
LIB_DEPENDS= proj.6:${PORTSDIR}/graphics/proj \
gdal.16:${PORTSDIR}/graphics/gdal \
jasper.4:${PORTSDIR}/graphics/jasper \
@@ -55,6 +56,7 @@ CONFIGURE_ARGS+= --disable-unicode
.if defined(WITH_PYTHON)
CONFIGURE_ARGS+= --enable-python
+BUILD_DEPENDS+= swig:${PORTSDIR}/devel/swig13
USE_PYTHON= 2.6-2.7
PLIST_SUB+= SAGA_PYTHON=""
.else
@@ -97,6 +99,9 @@ post-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/src/saga_core/saga_gui/res/saga_tip.txt ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/src/saga_core/saga_gui/res/xpm/saga_icon_32.xpm ${DATADIR}
+# library helper files are not needed and cripple some math/qgis extensions
+ @${RM} ${PREFIX}/lib/saga/*.la
+ @${RM} ${PREFIX}/lib/saga/*.a
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/math/saga/distinfo b/math/saga/distinfo
index db5a4d3d0e5f..c1648d241453 100644
--- a/math/saga/distinfo
+++ b/math/saga/distinfo
@@ -1,2 +1,2 @@
-SHA256 (saga_2.0.7.tar.gz) = 06c57d972fa89fad0aedc87a63027fbabfe420001ad0ca8b9719276aad13e7be
-SIZE (saga_2.0.7.tar.gz) = 3581495
+SHA256 (saga_2.0.8.tar.gz) = 709e4f047e33599a77302c72bffa0d218f1013357292bf583c87761563403f2a
+SIZE (saga_2.0.8.tar.gz) = 3405112
diff --git a/math/saga/files/patch-src__saga_core__saga_cmd__saga_cmd.cpp b/math/saga/files/patch-src__saga_core__saga_cmd__saga_cmd.cpp
deleted file mode 100644
index 5dd463eea824..000000000000
--- a/math/saga/files/patch-src__saga_core__saga_cmd__saga_cmd.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/saga_core/saga_cmd/saga_cmd.cpp_orig 2011-05-17 15:36:45.000000000 +0200
-+++ src/saga_core/saga_cmd/saga_cmd.cpp 2011-10-17 08:25:58.000000000 +0200
-@@ -126,7 +126,11 @@
- #endif
- //---------------------------------------------------------
-
-+#if wxCHECK_VERSION(2, 8, 11)
-+ if( !wxInitialize( argc, argv ) )
-+#else
- if( !wxInitialize() )
-+#endif
- {
- Print_Error(SG_T("initialisation failed"));
diff --git a/math/saga/pkg-plist b/math/saga/pkg-plist
index 500420ee384e..eece96c340b9 100644
--- a/math/saga/pkg-plist
+++ b/math/saga/pkg-plist
@@ -1,146 +1,86 @@
bin/saga_cmd
bin/saga_gui
-lib/libsaga_api-2.0.7.so
+lib/libsaga_api-2.0.8.so
lib/libsaga_api.la
lib/libsaga_api.so
-lib/libsaga_gdi-2.0.7.so
+lib/libsaga_gdi-2.0.8.so
lib/libsaga_gdi.la
lib/libsaga_gdi.so
-lib/libsaga_odbc-2.0.7.so
+lib/libsaga_odbc-2.0.8.so
lib/libsaga_odbc.a
lib/libsaga_odbc.la
lib/libsaga_odbc.so
-%%SAGA_PYTHON%%%%PYTHON_SITELIBDIR%%/_saga_api-2.0.7.so
+%%SAGA_PYTHON%%%%PYTHON_SITELIBDIR%%/_saga_api-2.0.8.so
%%SAGA_PYTHON%%%%PYTHON_SITELIBDIR%%/_saga_api.a
%%SAGA_PYTHON%%%%PYTHON_SITELIBDIR%%/_saga_api.la
%%SAGA_PYTHON%%%%PYTHON_SITELIBDIR%%/_saga_api.so
%%SAGA_PYTHON%%%%PYTHON_SITELIBDIR%%/saga_api.py
%%SAGA_PYTHON%%%%PYTHON_SITELIBDIR%%/saga_api.pyc
%%SAGA_PYTHON%%%%PYTHON_SITELIBDIR%%/saga_api.pyo
-lib/saga/libcontrib_a_perego.la
lib/saga/libcontrib_a_perego.so
-lib/saga/libdocs_html.la
lib/saga/libdocs_html.so
-%%HARU%%lib/saga/libdocs_pdf.la
%%HARU%%lib/saga/libdocs_pdf.so
-lib/saga/libgarden_3d_viewer.la
lib/saga/libgarden_3d_viewer.so
-lib/saga/libgeostatistics_grid.la
+lib/saga/libgarden_webservices.so
lib/saga/libgeostatistics_grid.so
-lib/saga/libgeostatistics_kriging.la
lib/saga/libgeostatistics_kriging.so
-lib/saga/libgeostatistics_points.la
lib/saga/libgeostatistics_points.so
-lib/saga/libgeostatistics_regression.la
lib/saga/libgeostatistics_regression.so
-lib/saga/libgrid_analysis.la
lib/saga/libgrid_analysis.so
-lib/saga/libgrid_calculus.la
lib/saga/libgrid_calculus.so
-lib/saga/libgrid_calculus_bsl.la
lib/saga/libgrid_calculus_bsl.so
-lib/saga/libgrid_filter.la
lib/saga/libgrid_filter.so
-lib/saga/libgrid_gridding.la
lib/saga/libgrid_gridding.so
-lib/saga/libgrid_spline.la
lib/saga/libgrid_spline.so
-lib/saga/libgrid_tools.la
lib/saga/libgrid_tools.so
-lib/saga/libgrid_visualisation.la
lib/saga/libgrid_visualisation.so
-lib/saga/libihacres.la
lib/saga/libihacres.so
-lib/saga/libimagery_classification.la
lib/saga/libimagery_classification.so
-lib/saga/libimagery_rga.la
lib/saga/libimagery_rga.so
-lib/saga/libimagery_segmentation.la
lib/saga/libimagery_segmentation.so
-lib/saga/libimagery_tools.la
lib/saga/libimagery_tools.so
-lib/saga/libio_esri_e00.la
lib/saga/libio_esri_e00.so
-lib/saga/libio_gdal.la
lib/saga/libio_gdal.so
-lib/saga/libio_gps.la
lib/saga/libio_gps.so
-lib/saga/libio_grid.la
lib/saga/libio_grid.so
-lib/saga/libio_grid_grib2.la
lib/saga/libio_grid_grib2.so
-lib/saga/libio_grid_image.la
lib/saga/libio_grid_image.so
-lib/saga/libio_odbc.a
-lib/saga/libio_odbc.la
lib/saga/libio_odbc.so
-lib/saga/libio_shapes.la
lib/saga/libio_shapes.so
-lib/saga/libio_shapes_dxf.la
lib/saga/libio_shapes_dxf.so
-lib/saga/libio_shapes_las.la
lib/saga/libio_shapes_las.so
-lib/saga/libio_table.la
lib/saga/libio_table.so
-lib/saga/liblectures_introduction.la
lib/saga/liblectures_introduction.so
-lib/saga/libopencv.la
lib/saga/libopencv.so
-lib/saga/libpj_georeference.la
lib/saga/libpj_georeference.so
-lib/saga/libpj_proj4.la
lib/saga/libpj_proj4.so
-lib/saga/libpointcloud_tools.la
lib/saga/libpointcloud_tools.so
-lib/saga/libpointcloud_viewer.la
lib/saga/libpointcloud_viewer.so
-lib/saga/librecreations_fractals.la
lib/saga/librecreations_fractals.so
-lib/saga/librecreations_games.la
lib/saga/librecreations_games.so
-lib/saga/libshapes_grid.la
lib/saga/libshapes_grid.so
-lib/saga/libshapes_lines.la
lib/saga/libshapes_lines.so
-lib/saga/libshapes_points.la
lib/saga/libshapes_points.so
-lib/saga/libshapes_polygons.la
lib/saga/libshapes_polygons.so
-lib/saga/libshapes_tools.la
lib/saga/libshapes_tools.so
-lib/saga/libsim_cellular_automata.la
lib/saga/libsim_cellular_automata.so
-lib/saga/libsim_ecosystems_hugget.la
lib/saga/libsim_ecosystems_hugget.so
-lib/saga/libsim_fire_spreading.la
lib/saga/libsim_fire_spreading.so
-lib/saga/libsim_hydrology.la
lib/saga/libsim_hydrology.so
-lib/saga/libta_channels.la
lib/saga/libta_channels.so
-lib/saga/libta_hydrology.la
+lib/saga/libta_compound.so
lib/saga/libta_hydrology.so
-lib/saga/libta_lighting.la
lib/saga/libta_lighting.so
-lib/saga/libta_morphometry.la
lib/saga/libta_morphometry.so
-lib/saga/libta_preprocessor.la
lib/saga/libta_preprocessor.so
-lib/saga/libta_profiles.la
lib/saga/libta_profiles.so
-lib/saga/libtable_calculus.la
lib/saga/libtable_calculus.so
-lib/saga/libtable_tools.la
lib/saga/libtable_tools.so
-lib/saga/libtin_tools.la
lib/saga/libtin_tools.so
-lib/saga/libtin_viewer.la
lib/saga/libtin_viewer.so
-lib/saga/libtransect.la
lib/saga/libtransect.so
-%%VIGRA%%lib/saga/libvigra.la
%%VIGRA%%lib/saga/libvigra.so
-share/saga/saga_icon_32.xpm
-share/saga/saga_tip.txt
+%%DATADIR%%/saga_icon_32.xpm
+%%DATADIR%%/saga_tip.txt
@dirrm share/saga
@dirrm lib/saga