source: trunk/dports/gis/pgrouting/Portfile @ 114346

Last change on this file since 114346 was 114346, checked in by vince@…, 7 years ago

Take into account various remarks by Ryan; thanks!

File size: 1.9 KB
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
5PortGroup           cmake   1.0
6PortGroup           github  1.0
7
8categories          gis
9maintainers         vince
10description         Routing algorithms for PostgreSQL/PostGIS
11long_description    pgRouting is a PostGreSQL/PostGIS extension\
12                    that contains a variety of algorithms to solve\
13                    traditional network problems such as finding\
14                    shortest paths or the Traveling Sales Person (TSP).
15
16platforms           darwin
17license             LGPL-2
18
19homepage            http://www.pgrouting.org/
20
21# https://github.com/pgRouting/pgrouting/archive/v2.0.0.tar.gz
22github.setup        pgRouting pgrouting 2.0.0 v
23
24checksums           rmd160  c2eacfb36fc977f63cb52c8e171936a08ed78dcb \
25                    sha256  0f918e1938570e59f309dc7d8fe16de8c0edcb52cc870bdd60b144c4bb51c777
26
27depends_lib-append  port:cgal\
28                    port:postgis2
29
30# Variants
31variant postgresql92 conflicts postgresql93 description {Use postgresql92} {
32    depends_lib-append      port:postgresql92
33    configure.args-append   -DPOSTGRESQL_PG_CONFIG=${prefix}/lib/postgresql92/bin/pg_config
34    configure.args-append   -DPOSTGRESQL_EXECUTABLE=${prefix}/lib/postgresql92/bin/postgres
35}
36
37variant postgresql93 conflicts postgresql92 description {Use postgresql93} {
38    depends_lib-append      port:postgresql93
39    configure.args-append   -DPOSTGRESQL_PG_CONFIG=${prefix}/lib/postgresql93/bin/pg_config
40    configure.args-append   -DPOSTGRESQL_EXECUTABLE=${prefix}/lib/postgresql93/bin/postgres
41}
42
43variant doc description {install documentation} {
44    depends_lib-append      port:sphinx
45    configure.args-append   -DWITH_DOC=YES
46}
47
48if {![variant_isset postgresql92] && ![variant_isset postgresql93]} {
49    default_variants    +postgresql92
50}
Note: See TracBrowser for help on using the repository browser.