Ticket #38392: Portfile.diff

File Portfile.diff, 2.5 KB (added by stromnov (Andrey Stromnov), 11 years ago)

reformatted Portfile

  • Portfile

     
     1# -*- 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
    12# $Id$
    23
    3 PortSystem       1.0
     4PortSystem          1.0
    45
    5 name             geos
    6 version          3.3.6
    7 license          LGPL-2.1
    8 categories       science
    9 platforms        darwin
    10 maintainers      gaige.net:opendarwin
     6name                geos
     7version             3.3.6
     8revision            1
     9categories          science
     10platforms           darwin
     11license             LGPL-2.1
    1112
    12 description      GEOS Geometry Engine - Open Source
    13 long_description \
    14   A C++ port of the Java Topology Suite, providing OpenGIS Simple \
    15   Features for SQL spatial predicate functions and spatial operators, \
    16   as well as specific JTS topology functions. Used by PostGIS.
     13maintainers         gaige.net:opendarwin
    1714
    18 homepage         http://trac.osgeo.org/geos/
    19 master_sites     http://download.osgeo.org/geos/
    20 use_bzip2        yes
     15description         GEOS Geometry Engine - Open Source
    2116
    22 checksums           sha1    454c9b61f158de509db60a69512414a0a1b0743b \
    23                     rmd160  bc7d2fdb8a8df309b0b24988167e1166325b92a4
     17long_description    A C++ port of the Java Topology Suite, providing OpenGIS \
     18                    Simple Features for SQL spatial predicate functions \
     19                    and spatial operators, as well as specific JTS topology \
     20                    functions.
    2421
     22homepage            http://trac.osgeo.org/geos/
     23master_sites        http://download.osgeo.org/geos/
    2524
    26 if {${configure.compiler} == "llvm-gcc-4.2"} {
    27     configure.compiler clang
    28 }
     25use_bzip2           yes
    2926
     27checksums           rmd160  bc7d2fdb8a8df309b0b24988167e1166325b92a4 \
     28                    sha256  7ee6c1da9a1b87a3e29209e7cddbf19d36f9689d8e44fec2c9bcf6a1b1be3898
     29
     30compiler.blacklist  llvm-gcc-4.2
     31
     32use_parallel_build  yes
     33
    3034post-destroot {
    3135    set docdir ${prefix}/share/doc/${name}
    3236    xinstall -d ${destroot}${docdir}
     
    3438        TODO ${destroot}${docdir}
    3539}
    3640
    37 test.run         yes
    38 test.cmd         make
    39 test.target      check
     41test.run            yes
     42test.cmd            make
     43test.target         check
    4044
    41 use_parallel_build yes
    42 
    43 livecheck.type   regex
    44 livecheck.url    ${homepage}
    45 livecheck.regex  {geos-(\d+(?:\.\d+)*)}
     45livecheck.type      regex
     46livecheck.url       ${homepage}
     47livecheck.regex     {geos-(\d+(?:\.\d+)*)}