source: trunk/dports/science/geos/Portfile @ 85585

Last change on this file since 85585 was 85585, checked in by ryandesign@…, 9 years ago

Add depends_skip_archcheck apple-gcc42; see #31584

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 85585 2011-10-14 20:17:51Z ryandesign@macports.org $
2
3PortSystem       1.0
4
5name             geos
6version          3.3.0
7license          LGPL-2.1
8categories       science
9platforms        darwin
10maintainers      gaige.net:opendarwin
11
12description      GEOS Geometry Engine - Open Source
13long_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.
17
18homepage         http://trac.osgeo.org/geos/
19master_sites     http://download.osgeo.org/geos/
20use_bzip2        yes
21
22checksums        sha1    f6c6e3398d5c7bf389a0610a0d06896d76ad4480 \
23                 rmd160  724f535739ec88607083b72452481b155297fd2b
24
25if {${configure.compiler} == "clang" ||
26    ${configure.compiler} == "llvm-gcc-4.2"} {
27    configure.compiler gcc-4.2
28    if {![file executable ${configure.cc}]} {
29        depends_build-append port:apple-gcc42
30        depends_skip_archcheck apple-gcc42
31        configure.compiler apple-gcc-4.2
32    }
33}
34
35post-destroot {
36    set docdir ${prefix}/share/doc/${name}
37    xinstall -d ${destroot}${docdir}
38    xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
39        TODO ${destroot}${docdir}
40}
41
42test.run         yes
43test.cmd         make
44test.target      check
45
46use_parallel_build yes
47
48livecheck.type   regex
49livecheck.url    ${homepage}
50livecheck.regex  {geos-(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.