Ticket #47403: Portfile

File Portfile, 2.7 KB (added by xeron (Ivan Larionov), 9 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4PortGroup           python 1.0
5PortGroup           github 1.0
6
7github.setup        dbcli pgcli 0.20.1 v
8
9python.versions     27
10
11categories          databases python
12maintainers         gmail.com:xeron.oskom openmaintainer
13license             BSD
14platforms           darwin
15description         Postgres CLI with autocompletion and syntax highlighting
16long_description    ${description}
17
18homepage            http://pgcli.com
19
20checksums           rmd160  de1ab75cb3e998a6a06b9f7bc35c0210d5755bc1 \
21                    sha256  56edf3f5e422a2e8d8863f1833c11ddb21e08486716d2cc98402f0a29513e124
22
23depends_build       port:py${python.version}-setuptools
24depends_lib-append  port:py${python.version}-pgspecial \
25                    port:py${python.version}-click \
26                    port:py${python.version}-pygments \
27                    port:py${python.version}-prompt_toolkit \
28                    port:py${python.version}-psycopg2 \
29                    port:py${python.version}-sqlparse \
30                    port:py${python.version}-configobj \
31                    port:py${python.version}-setproctitle
32
33variant postgresql84 conflicts postgresql90 postgresql91 postgresql92 postgresql93 postgresql94 postgresql95 description "Build using postgresql v8.4" {
34    depends_lib-append  port:postgresql84
35}
36
37variant postgresql90 conflicts postgresql84 postgresql91 postgresql92 postgresql93 postgresql94 postgresql95 description "Build using postgresql v9.0" {
38    depends_lib-append  port:postgresql90
39}
40
41variant postgresql91 conflicts postgresql84 postgresql90 postgresql92 postgresql93 postgresql94 postgresql95 description "Build using postgresql v9.1" {
42    depends_lib-append  port:postgresql91
43}
44
45variant postgresql92 conflicts postgresql84 postgresql90 postgresql91 postgresql93 postgresql94 postgresql95 description "Build using postgresql v9.2" {
46    depends_lib-append  port:postgresql92
47}
48
49variant postgresql93 conflicts postgresql84 postgresql90 postgresql91 postgresql92 postgresql94 postgresql95 description "Build using postgresql v9.3" {
50    depends_lib-append  port:postgresql93
51}
52
53variant postgresql94 conflicts postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 postgresql95 description "Build using postgresql v9.4" {
54    depends_lib-append  port:postgresql94
55}
56
57variant postgresql95 conflicts postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 postgresql94 description "Build using postgresql v9.5" {
58    depends_lib-append  port:postgresql95
59}
60
61if {![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92] && ![variant_isset postgresql93] && ![variant_isset postgresql94] && ![variant_isset postgresql95]} {
62    default_variants    +postgresql94
63}