Changeset 127769


Ignore:
Timestamp:
Nov 3, 2014, 7:48:59 PM (5 years ago)
Author:
petr@…
Message:

relax3d: reformating to comply with Macports convention

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/relax3d/Portfile

    r109198 r127769  
    22# $Id$
    33
    4 PortSystem                1.0
    5 PortGroup                 active_variants 1.1
     4PortSystem          1.0
     5PortGroup           active_variants 1.1
    66
    7 name                      relax3d
    8 version                   1.0.4
    9 categories                science gis
    10 platforms                 darwin
    11 license                   GPL
    12 maintainers               ntu.edu.sg:sbarbot openmaintainer
    13 description               Semi-analytic solver for earthquake modeling.
    14 long_description          Relax evaluates the displacement and stress \
    15                           in a half space with gravity due to dislocations, \
    16                           Mogi sources, and surface tractions\; and the nonlinear \
    17                           time-dependent deformation that follows due to \
    18                           power-law rheology materials in the bulk and or \
    19                           rate-strengthening friction faults.
     7name                relax3d
     8version             1.0.4
     9categories          science gis
     10platforms           darwin
     11license             GPL
     12maintainers         ntu.edu.sg:sbarbot openmaintainer
    2013
    21 homepage                  http://www.geodynamics.org/cig/software/relax/
    22 master_sites              http://www.geodynamics.org/cig/software/relax/macports
    23 use_bzip2                 yes
     14description         Semi-analytic solver for earthquake modeling.
     15long_description    \
     16    Relax evaluates the displacement and stress in a half space with gravity \
     17    due to dislocations, Mogi sources, and surface tractions\; and the \
     18    nonlinear time-dependent deformation that follows due to power-law \
     19    rheology materials in the bulk and or rate-strengthening friction faults.
    2420
    25 checksums                 rmd160 ed82d798758783657f54cd6d5cc6f274fa381793 \
    26                           sha256 1b5dd4914256a39c6fb64bc2fd29215f8f0d188c57a057c4c5fcc06a4068e0a9
     21homepage            http://www.geodynamics.org/cig/software/relax/
     22master_sites        http://www.geodynamics.org/cig/software/relax/macports
     23use_bzip2           yes
    2724
    28 depends_lib-append        port:fftw-3-single \
    29                           port:gmt4 \
    30                           port:proj47 \
    31                           port:python27
     25checksums           rmd160 ed82d798758783657f54cd6d5cc6f274fa381793 \
     26                    sha256 1b5dd4914256a39c6fb64bc2fd29215f8f0d188c57a057c4c5fcc06a4068e0a9
     27
     28depends_lib-append  port:fftw-3-single \
     29                    port:gmt4 \
     30                    port:proj47 \
     31                    port:python27
    3232
    3333# gmt4 is not universal
    34 universal_variant no
     34universal_variant   no
    3535
    36 configure.ldflags-append  "-L${prefix}/lib -lfftw3 -lfftw3_threads -lfftw3f -lfftw3f_threads"
     36configure.cmd       "./waf configure"
     37configure.args      --use-fftw \
     38                    --fftw-dir=${prefix} \
     39                    --proj-incdir=${prefix}/include \
     40                    --proj-libdir=${prefix}/lib/proj47/lib \
     41                    --gmt-dir=${prefix}/lib/gmt4
     42configure.ldflags-append \
     43    "-L${prefix}/lib -lfftw3 -lfftw3_threads -lfftw3f -lfftw3f_threads"
    3744
    38 configure.args            --use-fftw \
    39                           --fftw-dir=${prefix} \
    40                           --proj-incdir=${prefix}/include \
    41                           --proj-libdir=${prefix}/lib/proj47/lib \
    42                           --gmt-dir=${prefix}/lib/gmt4
    43 configure.cmd             "./waf configure"
    44 
    45 build.env-append          ${configure.env}
    4645build.cmd                 "./waf build"
    4746build.target              ""
     47build.env-append          ${configure.env}
    4848
    4949destroot {
    50         xinstall -m 755 ${worksrcpath}/build/relax ${destroot}${prefix}/bin/relax
    51         xinstall -m 644 ${worksrcpath}/man/man1/relax.1 ${destroot}${prefix}/share/man/man1/relax.1
     50    xinstall -m 755 ${worksrcpath}/build/relax \
     51        ${destroot}${prefix}/bin/relax
     52    xinstall -m 644 ${worksrcpath}/man/man1/relax.1 \
     53        ${destroot}${prefix}/share/man/man1/relax.1
    5254}
    5355
    5456variant gcc45 conflicts gcc46 gcc47 gcc48 description {Compile with gcc 4.5} {
    5557    configure.compiler macports-gcc-4.5
    56     require_active_variants   fftw-3-single gcc45
     58    require_active_variants fftw-3-single gcc45
    5759}
    5860
    5961variant gcc46 conflicts gcc45 gcc47 gcc48 description {Compile with gcc 4.6} {
    6062    configure.compiler macports-gcc-4.6
    61     require_active_variants   fftw-3-single gcc46
     63    require_active_variants fftw-3-single gcc46
    6264}
    6365
    6466variant gcc47 conflicts gcc45 gcc46 gcc48 description {Compile with gcc 4.7} {
    6567    configure.compiler macports-gcc-4.7
    66     require_active_variants   fftw-3-single gcc47
     68    require_active_variants fftw-3-single gcc47
    6769}
    6870
    6971variant gcc48 conflicts gcc45 gcc46 gcc47 description {Compile with gcc 4.8} {
    7072    configure.compiler macports-gcc-4.8
    71     require_active_variants   fftw-3-single gcc48
     73    require_active_variants fftw-3-single gcc48
    7274}
    7375
Note: See TracChangeset for help on using the changeset viewer.