Ticket #41203: Portfile-gmt5-spacing.diff

File Portfile-gmt5-spacing.diff, 4.1 KB (added by florian@…, 10 years ago)

Portfile patch for gmt5 (spacing only, apply first)

  • Portfile

    old new  
    11# -*- 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
    22# $Id: Portfile 92837 2012-05-09 00:51:48Z ryandesign@macports.org $
    33
    4 PortSystem                  1.0
     4PortSystem          1.0
    55
    6 name                        gmt5
    7 version                     5.0.0b
    8 revision                    2
    9 categories                  science
    10 platforms                   darwin
    11 maintainers                 eprofs.de:florian takeshi
    12 license                     LGPL-3
    13 description                 the generic mapping tools
     6name                gmt5
     7version             5.0.0b
     8revision            2
     9categories          science
     10platforms           darwin
     11maintainers         eprofs.de:florian takeshi
     12license             LGPL-3
     13description         the generic mapping tools
    1414long_description GMT is an open source collection of ~65 tools  \
    1515    for manipulating geographic and Cartesian data sets and     \
    1616    producing Encapsulated PostScript File (EPS) illustrations  \
    1717    ranging from simple x-y plots via contour maps to           \
    1818    artificially illuminated surfaces and 3-D perspective views.
    19 conflicts                   gmt
    20 homepage                    http://www.soest.hawaii.edu/gmt5
    21 master_sites                ftp://ftp.soest.hawaii.edu/gmt5          \
    22                             ftp://ibis.grdl.noaa.gov/pub/gmt5        \
    23                             ftp://ftp.iris.washington.edu/pub/gmt5   \
    24                             ftp://ftp.iag.usp.br/pub/gmt5            \
    25                             ftp://ftp.geologi.uio.no/pub/gmt5        \
    26                             ftp://gd.tuwien.ac.at/pub/gmt5           \
    27                             ftp://ftp.scc.u-tokai.ac.jp/pub/gmt5     \
    28                             ftp://mirror.geosci.usyd.edu.au/pub/gmt5 \
    29                             ftp://gmt.mirror.ac.za/pub/gmt5
    30 use_bzip2                   yes
    31 set gshhsversion            2.2.0
    32 set gmtsrc                  gmt-${version}.tar.bz2
    33 set gshhs                   gshhs-${gshhsversion}.tar.bz2
    34 distfiles                   ${gmtsrc} ${gshhs}
     19conflicts           gmt
     20homepage            http://www.soest.hawaii.edu/gmt5
     21master_sites        ftp://ftp.soest.hawaii.edu/gmt5          \
     22                    ftp://ibis.grdl.noaa.gov/pub/gmt5        \
     23                    ftp://ftp.iris.washington.edu/pub/gmt5   \
     24                    ftp://ftp.iag.usp.br/pub/gmt5            \
     25                    ftp://ftp.geologi.uio.no/pub/gmt5        \
     26                    ftp://gd.tuwien.ac.at/pub/gmt5           \
     27                    ftp://ftp.scc.u-tokai.ac.jp/pub/gmt5     \
     28                    ftp://mirror.geosci.usyd.edu.au/pub/gmt5 \
     29                    ftp://gmt.mirror.ac.za/pub/gmt5
     30use_bzip2           yes
     31set gshhsversion    2.2.0
     32set gmtsrc          gmt-${version}.tar.bz2
     33set gshhs           gshhs-${gshhsversion}.tar.bz2
     34distfiles           ${gmtsrc} ${gshhs}
    3535checksums           ${gmtsrc} \
    3636                    md5     c5b78de5edab4c42a8a08e7fcfa976b4 \
    3737                    sha1    73b16b25e59fa1cd74bfc01bdeb8170924cbda0c \
     
    4141                    sha1    786d58b9a335d3bacb37f40f21ee3bfbb424cd10 \
    4242                    rmd160  aa744b2fdcdf849cc5c4abce97f1d29f4cdc20a4
    4343
    44 worksrcdir                  GMT${version}
     44worksrcdir          GMT${version}
    4545
    46 depends_lib                 port:netcdf \
    47                             port:pcre
     46depends_lib         port:netcdf \
     47                    port:pcre
    4848post-extract {
    4949    # move GSHHS coastlines to worksrcpath
    5050    system "mv ${workpath}/share/coast ${worksrcpath}/share && rmdir ${workpath}/share"
     
    8888    configure.args-append   --enable-triangle
    8989}
    9090
    91 livecheck.type              regex
    92 livecheck.url               http://www.soest.hawaii.edu/gmt5/gmt/gmt_home.html
    93 livecheck.regex             {Current version is [^0-9 ]*([0-9]+\.[0-9]+\.[0-9a-z]+)}
     91livecheck.type      regex
     92livecheck.url       http://www.soest.hawaii.edu/gmt5/gmt/gmt_home.html
     93livecheck.regex     {Current version is [^0-9 ]*([0-9]+\.[0-9]+\.[0-9a-z]+)}
    9494