aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-11-17 17:12:08 +0800
committermiwi <miwi@FreeBSD.org>2009-11-17 17:12:08 +0800
commit65bf014f6d3ff66cd0fa9e2e5d266f473006dea3 (patch)
treef202e6c882ecfea9673893f4eba516a793b4d281 /math
parent84c95e8fa60db264e66c7d7b98cb6b3327aadafd (diff)
downloadfreebsd-ports-gnome-65bf014f6d3ff66cd0fa9e2e5d266f473006dea3.tar.gz
freebsd-ports-gnome-65bf014f6d3ff66cd0fa9e2e5d266f473006dea3.tar.zst
freebsd-ports-gnome-65bf014f6d3ff66cd0fa9e2e5d266f473006dea3.zip
SAGA - short hand for "System for Automated Geoscientific Analyses" - is a free,
hybrid, cross-platform GIS software. The heart of SAGA is it's C++ and thus object oriented Application Programming Interface (API), providing data object definitions and computational methods for raster, vector and tabular data. As a normal user, you will not get into touch with the API. But as an interested scientist or coder you will soon discover it's great flexibility. WWW: http://www.saga-gis.org/en/index.html PR: ports/140559 Submitted by: rhurlin
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/saga/Makefile42
-rw-r--r--math/saga/distinfo3
-rw-r--r--math/saga/pkg-descr9
-rw-r--r--math/saga/pkg-message35
-rw-r--r--math/saga/pkg-plist147
6 files changed, 237 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 4b4799369bae..f24767102538 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -463,6 +463,7 @@
SUBDIR += ruby-netcdf
SUBDIR += ruby-numru_misc
SUBDIR += ruby-numru_units
+ SUBDIR += saga
SUBDIR += sc
SUBDIR += scalapack
SUBDIR += scigraphica
diff --git a/math/saga/Makefile b/math/saga/Makefile
new file mode 100644
index 000000000000..6cf4980efd5b
--- /dev/null
+++ b/math/saga/Makefile
@@ -0,0 +1,42 @@
+# Ports collection makefile for: saga
+# Date created: 13 November 2009
+# Whom: rhurlin
+#
+# $FreeBSD$
+#
+
+PORTNAME= saga
+PORTVERSION= 2.0.4
+CATEGORIES= math
+MASTER_SITES= SF/saga-gis/SAGA%20-%20${PORTVERSION:C/\.[[:digit:]]*$//}/SAGA%20${PORTVERSION}
+DISTNAME= ${PORTNAME}_${PORTVERSION}_src_linux
+
+MAINTAINER= rhurlin@gwdg.de
+COMMENT= System for Automated Geoscientific Analyses
+
+LIB_DEPENDS= proj.5:${PORTSDIR}/graphics/proj \
+ gdal.14:${PORTSDIR}/graphics/gdal \
+ jasper.4:${PORTSDIR}/graphics/jasper \
+ tiff.4:${PORTSDIR}/graphics/tiff
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-2.0
+
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CFLAGS+= -I${LOCALBASE}/include
+
+USE_WX= 2.8
+
+post-patch:
+ @for f in `${FIND} '${WRKSRC}' -name Makefile.in` \
+ ${WRKSRC}/configure; do \
+ ${REINPLACE_CMD} -e's|wx-config |${WX_CONFIG} |g' "$$f"; \
+ done
+ @${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' \
+ ${WRKSRC}/src/saga_core/saga_api/api_memory.cpp \
+ ${WRKSRC}/src/modules_projection/pj_georeference/pj_georeference/lmdif0.c
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/math/saga/distinfo b/math/saga/distinfo
new file mode 100644
index 000000000000..915fb3ee3a13
--- /dev/null
+++ b/math/saga/distinfo
@@ -0,0 +1,3 @@
+MD5 (saga_2.0.4_src_linux.tar.gz) = 2f91cd0eb0c807de6e6e1f706d4b10ce
+SHA256 (saga_2.0.4_src_linux.tar.gz) = e0ac3c7f2ec52f41874c7dc1f0c873cf8d19f3f387151820abea9c7d68125ebe
+SIZE (saga_2.0.4_src_linux.tar.gz) = 2518635
diff --git a/math/saga/pkg-descr b/math/saga/pkg-descr
new file mode 100644
index 000000000000..771dc801e914
--- /dev/null
+++ b/math/saga/pkg-descr
@@ -0,0 +1,9 @@
+SAGA - short hand for "System for Automated Geoscientific Analyses" - is a free,
+hybrid, cross-platform GIS software.
+The heart of SAGA is it's C++ and thus object oriented Application Programming
+Interface (API), providing data object definitions and computational methods for
+raster, vector and tabular data. As a normal user, you will not get into touch
+with the API. But as an interested scientist or coder you will soon discover
+it's great flexibility.
+
+WWW: http://www.saga-gis.org/en/index.html
diff --git a/math/saga/pkg-message b/math/saga/pkg-message
new file mode 100644
index 000000000000..878814bc498c
--- /dev/null
+++ b/math/saga/pkg-message
@@ -0,0 +1,35 @@
+
+######################################################################
+
+Unlike to windows systems, saga_cmd should be instantly available in
+the shell as it is usually installed in %%PREFIX%%/bin.
+
+Next you have to set the environmental variable SAGA_MLB to make SAGA
+know where the SAGA module libraries exist on your system. You can do
+this permanently by adding the following command to your .bashrc file
+or by defining it temporarily on the command line before executing
+SAGA CMD:
+
+ export SAGA_MLB=/yourPathToSAGA_modules
+
+e.g.:
+ export SAGA_MLB=%%PREFIX%%/lib/saga
+
+Now your system is prepared for using SAGA CMD to execute SAGA
+modules.
+
+######################################################################
+
+And don't forget, on Unix-like systems you will have to alter the
+module library name accordingly by adding "lib" to the module library
+name.
+
+e.g.:
+ saga_cmd libta_morphometry instead of saga_cmd ta_morphometry
+
+For more information see
+
+http://sourceforge.net/apps/trac/saga-gis/wiki/\
+Executing%20Modules%20with%20SAGA%20CMD
+
+######################################################################
diff --git a/math/saga/pkg-plist b/math/saga/pkg-plist
new file mode 100644
index 000000000000..efad8c515ce1
--- /dev/null
+++ b/math/saga/pkg-plist
@@ -0,0 +1,147 @@
+bin/saga_cmd
+bin/saga_gui
+lib/libsaga_api.la
+lib/libsaga_api.so
+lib/libsaga_api.so.0
+lib/saga/libcontrib_a_perego.la
+lib/saga/libcontrib_a_perego.so
+lib/saga/libcontrib_a_perego.so.0
+lib/saga/libgeostatistics_grid.la
+lib/saga/libgeostatistics_grid.so
+lib/saga/libgeostatistics_grid.so.0
+lib/saga/libgeostatistics_kriging.la
+lib/saga/libgeostatistics_kriging.so
+lib/saga/libgeostatistics_kriging.so.0
+lib/saga/libgeostatistics_points.la
+lib/saga/libgeostatistics_points.so
+lib/saga/libgeostatistics_points.so.0
+lib/saga/libgrid_analysis.la
+lib/saga/libgrid_analysis.so
+lib/saga/libgrid_analysis.so.0
+lib/saga/libgrid_calculus.la
+lib/saga/libgrid_calculus.so
+lib/saga/libgrid_calculus.so.0
+lib/saga/libgrid_discretisation.la
+lib/saga/libgrid_discretisation.so
+lib/saga/libgrid_discretisation.so.0
+lib/saga/libgrid_filter.la
+lib/saga/libgrid_filter.so
+lib/saga/libgrid_filter.so.0
+lib/saga/libgrid_gridding.la
+lib/saga/libgrid_gridding.so
+lib/saga/libgrid_gridding.so.0
+lib/saga/libgrid_spline.la
+lib/saga/libgrid_spline.so
+lib/saga/libgrid_spline.so.0
+lib/saga/libgrid_tools.la
+lib/saga/libgrid_tools.so
+lib/saga/libgrid_tools.so.0
+lib/saga/libgrid_visualisation.la
+lib/saga/libgrid_visualisation.so
+lib/saga/libgrid_visualisation.so.0
+lib/saga/libio_esri_e00.la
+lib/saga/libio_esri_e00.so
+lib/saga/libio_esri_e00.so.0
+lib/saga/libio_gdal.la
+lib/saga/libio_gdal.so
+lib/saga/libio_gdal.so.0
+lib/saga/libio_gps.la
+lib/saga/libio_gps.so
+lib/saga/libio_gps.so.0
+lib/saga/libio_grid.la
+lib/saga/libio_grid.so
+lib/saga/libio_grid.so.0
+lib/saga/libio_grid_grib2.la
+lib/saga/libio_grid_grib2.so
+lib/saga/libio_grid_grib2.so.0
+lib/saga/libio_grid_image.la
+lib/saga/libio_grid_image.so
+lib/saga/libio_grid_image.so.0
+lib/saga/libio_shapes.la
+lib/saga/libio_shapes.so
+lib/saga/libio_shapes.so.0
+lib/saga/libio_shapes_dxf.la
+lib/saga/libio_shapes_dxf.so
+lib/saga/libio_shapes_dxf.so.0
+lib/saga/libio_table.la
+lib/saga/libio_table.so
+lib/saga/libio_table.so.0
+lib/saga/liblectures_introduction.la
+lib/saga/liblectures_introduction.so
+lib/saga/liblectures_introduction.so.0
+lib/saga/libpj_georeference.la
+lib/saga/libpj_georeference.so
+lib/saga/libpj_georeference.so.0
+lib/saga/libpj_proj4.la
+lib/saga/libpj_proj4.so
+lib/saga/libpj_proj4.so.0
+lib/saga/libpointcloud_tools.la
+lib/saga/libpointcloud_tools.so
+lib/saga/libpointcloud_tools.so.0
+lib/saga/libpointcloud_viewer.la
+lib/saga/libpointcloud_viewer.so
+lib/saga/libpointcloud_viewer.so.0
+lib/saga/librecreations_fractals.la
+lib/saga/librecreations_fractals.so
+lib/saga/librecreations_fractals.so.0
+lib/saga/librecreations_games.la
+lib/saga/librecreations_games.so
+lib/saga/librecreations_games.so.0
+lib/saga/libsaga_gdi.la
+lib/saga/libsaga_gdi.so
+lib/saga/libsaga_gdi.so.0
+lib/saga/libshapes_grid.la
+lib/saga/libshapes_grid.so
+lib/saga/libshapes_grid.so.0
+lib/saga/libshapes_lines.la
+lib/saga/libshapes_lines.so
+lib/saga/libshapes_lines.so.0
+lib/saga/libshapes_points.la
+lib/saga/libshapes_points.so
+lib/saga/libshapes_points.so.0
+lib/saga/libshapes_polygons.la
+lib/saga/libshapes_polygons.so
+lib/saga/libshapes_polygons.so.0
+lib/saga/libshapes_tools.la
+lib/saga/libshapes_tools.so
+lib/saga/libshapes_tools.so.0
+lib/saga/libsim_cellular_automata.la
+lib/saga/libsim_cellular_automata.so
+lib/saga/libsim_cellular_automata.so.0
+lib/saga/libsim_ecosystems_hugget.la
+lib/saga/libsim_ecosystems_hugget.so
+lib/saga/libsim_ecosystems_hugget.so.0
+lib/saga/libsim_fire_spreading.la
+lib/saga/libsim_fire_spreading.so
+lib/saga/libsim_fire_spreading.so.0
+lib/saga/libsim_hydrology.la
+lib/saga/libsim_hydrology.so
+lib/saga/libsim_hydrology.so.0
+lib/saga/libta_channels.la
+lib/saga/libta_channels.so
+lib/saga/libta_channels.so.0
+lib/saga/libta_hydrology.la
+lib/saga/libta_hydrology.so
+lib/saga/libta_hydrology.so.0
+lib/saga/libta_lighting.la
+lib/saga/libta_lighting.so
+lib/saga/libta_lighting.so.0
+lib/saga/libta_morphometry.la
+lib/saga/libta_morphometry.so
+lib/saga/libta_morphometry.so.0
+lib/saga/libta_preprocessor.la
+lib/saga/libta_preprocessor.so
+lib/saga/libta_preprocessor.so.0
+lib/saga/libta_profiles.la
+lib/saga/libta_profiles.so
+lib/saga/libta_profiles.so.0
+lib/saga/libtable_calculus.la
+lib/saga/libtable_calculus.so
+lib/saga/libtable_calculus.so.0
+lib/saga/libtable_tools.la
+lib/saga/libtable_tools.so
+lib/saga/libtable_tools.so.0
+lib/saga/libtin_tools.la
+lib/saga/libtin_tools.so
+lib/saga/libtin_tools.so.0
+@dirrm lib/saga