# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup compilers 1.0 PortGroup github 1.0 PortGroup waf 1.0 github.setup geodynamics relax 1.0.7 revision 0 checksums rmd160 168414b2c8ebf9a55ad071daa7b6a9979476a7ea \ sha256 72606dee72f4284b94348e8d12fbf1ccf55122e1eeecd3e4305f623519829ae9 \ size 32378197 name relax3d categories science gis platforms darwin maintainers nomaintainer license GPL-3+ description Semi-analytic solver for earthquake modeling. long_description \ Relax evaluates the displacement and stress in a half space with gravity \ due to dislocations, Mogi sources, and surface tractions\; and the \ nonlinear time-dependent deformation that follows due to power-law \ rheology materials in the bulk and or rate-strengthening friction faults. homepage https://geodynamics.org/cig/software/relax/ master_sites ${homepage} distfiles Relax-[string map {. _} ${version}].tgz depends_lib-append port:fftw-3-single \ port:gmt4 \ port:proj7 \ port:python27 # gmt4 is not universal universal_variant no compilers.choose fc compilers.setup require_fortran -g95 compilers.enforce_fortran fftw-3-single # note: openmp is always used; hence g95 cannot be configure.args --use-fftw \ --fftw-dir=${prefix} \ --gmt-dir=${prefix}/lib/gmt4 \ --proj-dir=${prefix}/lib/proj7 configure.cflags-append \ -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H destroot { xinstall -m 0755 ${worksrcpath}/build/relax \ ${destroot}${prefix}/bin xinstall -m 0644 ${worksrcpath}/man/man1/relax.1 \ ${destroot}${prefix}/share/man/man1 }