# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup wxWidgets 1.0 name saga categories gis license GPL version 2.1.0 revision 3 platforms darwin maintainers vince openmaintainer description SAGA is a GIS oriented towards statistics and analysis long_description SAGA is yet another open source GIS targeted towards\ spatial analysis and statistics. It uses wxWidgets as\ a GUI. homepage http://www.saga-gis.org/en/index.html master_sites ftp://ftp.cimaxonline.fr distname saga_${version}_src use_zip yes checksums rmd160 558332c890049c8c05b802aa2e413be2314697df \ sha256 eb4cfd9e1028a52d272bc2fe878ba4971b70fb79e6f73234e4c1519586a58a6c patchfiles patch-configure_in.diff \ patch-saga_cmd_cpp.diff wxWidgets.use wxWidgets-3.0 depends_build port:autoconf \ port:automake \ port:libtool depends_lib port:${wxWidgets.port} \ port:geos \ port:gdal \ port:proj47 \ port:jasper \ port:fftw-3 \ port:unixodbc post-patch { reinplace -E "s|wx-config|${wxWidgets.wxconfig}|" ${worksrcpath}/configure.in set mkfiles [exec find ${worksrcpath} -type f -name Makefile.am] foreach makefile ${mkfiles} { reinplace -E "s|wx-config|${wxWidgets.wxconfig}|" ${makefile} } } use_autoreconf yes autoreconf.args -i configure.args --disable-openmp configure.cppflags-append -I${prefix}/lib/proj47/include variant python27 { depends_lib-append port:python27\ port:swig-python configure.args-append --enable-python } livecheck.type regex livecheck.url ${master_sites} livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)\\.tar