[127769] trunk/dports/science/relax3d/Portfile
petr at macports.org
petr at macports.org
Mon Nov 3 11:48:59 PST 2014
Revision: 127769
https://trac.macports.org/changeset/127769
Author: petr at macports.org
Date: 2014-11-03 11:48:59 -0800 (Mon, 03 Nov 2014)
Log Message:
-----------
relax3d: reformating to comply with Macports convention
Modified Paths:
--------------
trunk/dports/science/relax3d/Portfile
Modified: trunk/dports/science/relax3d/Portfile
===================================================================
--- trunk/dports/science/relax3d/Portfile 2014-11-03 19:37:25 UTC (rev 127768)
+++ trunk/dports/science/relax3d/Portfile 2014-11-03 19:48:59 UTC (rev 127769)
@@ -1,74 +1,76 @@
# -*- 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 active_variants 1.1
+PortSystem 1.0
+PortGroup active_variants 1.1
-name relax3d
-version 1.0.4
-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.
+name relax3d
+version 1.0.4
+categories science gis
+platforms darwin
+license GPL
+maintainers ntu.edu.sg:sbarbot openmaintainer
-homepage http://www.geodynamics.org/cig/software/relax/
-master_sites http://www.geodynamics.org/cig/software/relax/macports
-use_bzip2 yes
+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.
-checksums rmd160 ed82d798758783657f54cd6d5cc6f274fa381793 \
- sha256 1b5dd4914256a39c6fb64bc2fd29215f8f0d188c57a057c4c5fcc06a4068e0a9
+homepage http://www.geodynamics.org/cig/software/relax/
+master_sites http://www.geodynamics.org/cig/software/relax/macports
+use_bzip2 yes
-depends_lib-append port:fftw-3-single \
- port:gmt4 \
- port:proj47 \
- port:python27
+checksums rmd160 ed82d798758783657f54cd6d5cc6f274fa381793 \
+ sha256 1b5dd4914256a39c6fb64bc2fd29215f8f0d188c57a057c4c5fcc06a4068e0a9
+depends_lib-append port:fftw-3-single \
+ port:gmt4 \
+ port:proj47 \
+ port:python27
+
# gmt4 is not universal
-universal_variant no
+universal_variant no
-configure.ldflags-append "-L${prefix}/lib -lfftw3 -lfftw3_threads -lfftw3f -lfftw3f_threads"
+configure.cmd "./waf configure"
+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"
-configure.args --use-fftw \
- --fftw-dir=${prefix} \
- --proj-incdir=${prefix}/include \
- --proj-libdir=${prefix}/lib/proj47/lib \
- --gmt-dir=${prefix}/lib/gmt4
-configure.cmd "./waf configure"
-
-build.env-append ${configure.env}
build.cmd "./waf build"
build.target ""
+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
+ 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
}
variant gcc45 conflicts gcc46 gcc47 gcc48 description {Compile with gcc 4.5} {
configure.compiler macports-gcc-4.5
- require_active_variants fftw-3-single gcc45
+ require_active_variants fftw-3-single gcc45
}
variant gcc46 conflicts gcc45 gcc47 gcc48 description {Compile with gcc 4.6} {
configure.compiler macports-gcc-4.6
- require_active_variants fftw-3-single gcc46
+ require_active_variants fftw-3-single gcc46
}
variant gcc47 conflicts gcc45 gcc46 gcc48 description {Compile with gcc 4.7} {
configure.compiler macports-gcc-4.7
- require_active_variants fftw-3-single gcc47
+ require_active_variants fftw-3-single gcc47
}
variant gcc48 conflicts gcc45 gcc46 gcc47 description {Compile with gcc 4.8} {
configure.compiler macports-gcc-4.8
- require_active_variants fftw-3-single gcc48
+ require_active_variants fftw-3-single gcc48
}
if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc48]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141103/b1b18ff2/attachment.html>
More information about the macports-changes
mailing list