# -*- 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 # $Id$ PortSystem 1.0 PortGroup compilers 1.0 PortGroup waf 1.0 name relax3d version 1.0.5 categories science gis platforms darwin license GPL maintainers ntu.edu.sg:sbarbot openmaintainer 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 http://www.geodynamics.org/cig/software/relax/ master_sites ${homepage}/macports use_bzip2 yes checksums rmd160 10603dd3ecb0fa4ba743dc75db6accc566327caf \ sha256 ed9ad14472c4bf794c2023f480c32bb09f96cc23f46cf6efc2a066ae7f2cf2ce depends_lib-append port:fftw-3-single \ port:gmt4 \ port:proj47 \ 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} \ --proj-incdir=${prefix}/include \ --proj-libdir=${prefix}/lib/proj47/lib \ --gmt-dir=${prefix}/lib/gmt4 configure.ldflags-append \ "-L${prefix}/lib -lfftw3 -lfftw3_threads -lfftw3f -lfftw3f_threads" build.env-append ${configure.env} destroot { xinstall -m 755 ${worksrcpath}/build/relax \ ${destroot}${prefix}/bin/relax xinstall -m 644 ${worksrcpath}/man/man1/relax.1 \ ${destroot}${prefix}/share/man/man1/relax.1 }