Ticket #38392: Portfile

File Portfile, 1.4 KB (added by stromnov (Andrey Stromnov), 11 years ago)

Resulting Portfile (after upgrading to 3.3.8)

Line 
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
2# $Id$
3
4PortSystem          1.0
5
6name                geos
7version             3.3.8
8revision            0
9categories          science
10platforms           darwin
11license             LGPL-2.1
12
13maintainers         gaige.net:opendarwin
14
15description         GEOS Geometry Engine - Open Source
16
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.
21
22homepage            http://trac.osgeo.org/geos/
23master_sites        http://download.osgeo.org/geos/
24
25use_bzip2           yes
26
27checksums           rmd160  cb47808b3c80fa92ebee7dd6d9ef9c18499c5cd0 \
28                    sha256  ebecd4d1a71bcc28e5e883296cd8c52a80d5596335e74728f320989734fa503b
29
30compiler.blacklist  llvm-gcc-4.2
31
32use_parallel_build  yes
33
34post-destroot {
35    set docdir ${prefix}/share/doc/${name}
36    xinstall -d ${destroot}${docdir}
37    xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
38        TODO ${destroot}${docdir}
39}
40
41test.run            yes
42test.cmd            make
43test.target         check
44
45livecheck.type      regex
46livecheck.url       ${homepage}
47livecheck.regex     {geos-(\d+(?:\.\d+)*)}