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

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

Initial commit of v.2

File size: 1.8 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
23name                pgrouting
24
25checksums           rmd160  c2eacfb36fc977f63cb52c8e171936a08ed78dcb \
26                    sha256  0f918e1938570e59f309dc7d8fe16de8c0edcb52cc870bdd60b144c4bb51c777
27
28depends_lib-append  port:cgal\
29                    port:postgis2
30
31# Variants
32variant postgresql92 description {Use postgresql92} {
33    depends_lib-append      port:postgresql92
34    configure.args-append   -DPOSTGRESQL_PG_CONFIG=${prefix}/lib/postgresql92/bin/pg_config
35    configure.args-append   -DPOSTGRESQL_EXECUTABLE=${prefix}/lib/postgresql92/bin/postgres
36}
37
38variant postgresql93 description {Use postgresql93} {
39    depends_lib-append      port:postgresql93
40    configure.args-append   -DPOSTGRESQL_PG_CONFIG=${prefix}/lib/postgresql93/bin/pg_config
41    configure.args-append   -DPOSTGRESQL_EXECUTABLE=${prefix}/lib/postgresql93/bin/postgres
42}
43
44variant doc description {install documentation} {
45    depends_lib-append      port:sphinx
46    configure.args-append   -DWITH_DOC=YES
47}
48
49default_variants    +postgresql92
Note: See TracBrowser for help on using the repository browser.