diff --git a/python/py-psycopg2/Portfile b/python/py-psycopg2/Portfile
index f899ec9..dbf0230 100644
a
|
b
|
|
1 | 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: Portfile 142218 2015-11-06 22:30:49Z snc@macports.org $ |
| 2 | # $Id$ |
3 | 3 | |
4 | 4 | PortSystem 1.0 |
5 | 5 | PortGroup python 1.0 |
… |
… |
if {${name} ne ${subport}} { |
73 | 73 | s|@PG_CONFIG@|${prefix}/lib/postgresql94/bin/pg_config|g \ |
74 | 74 | ${worksrcpath}/setup.cfg |
75 | 75 | } |
| 76 | |
| 77 | if {[variant_isset postgresql95]} { |
| 78 | reinplace \ |
| 79 | s|@PG_CONFIG@|${prefix}/lib/postgresql95/bin/pg_config|g \ |
| 80 | ${worksrcpath}/setup.cfg |
| 81 | } |
76 | 82 | } |
77 | 83 | |
78 | | variant postgresql84 conflicts postgresql90 postgresql91 postgresql92 postgresql93 postgresql94 description "Build using postgresql v8.4" { |
| 84 | variant postgresql84 conflicts postgresql90 postgresql91 postgresql92 postgresql93 postgresql94 postgresql95 description "Build using postgresql v8.4" { |
79 | 85 | depends_lib-append port:postgresql84 |
80 | 86 | } |
81 | 87 | |
82 | | variant postgresql90 conflicts postgresql84 postgresql91 postgresql92 postgresql93 postgresql94 description "Build using postgresql v9.0" { |
| 88 | variant postgresql90 conflicts postgresql84 postgresql91 postgresql92 postgresql93 postgresql94 postgresql95 description "Build using postgresql v9.0" { |
83 | 89 | depends_lib-append port:postgresql90 |
84 | 90 | } |
85 | 91 | |
86 | | variant postgresql91 conflicts postgresql84 postgresql90 postgresql92 postgresql93 postgresql94 description "Build using postgresql v9.1" { |
| 92 | variant postgresql91 conflicts postgresql84 postgresql90 postgresql92 postgresql93 postgresql94 postgresql95 description "Build using postgresql v9.1" { |
87 | 93 | depends_lib-append port:postgresql91 |
88 | 94 | } |
89 | 95 | |
90 | | variant postgresql92 conflicts postgresql84 postgresql90 postgresql91 postgresql93 postgresql94 description "Build using postgresql v9.2" { |
| 96 | variant postgresql92 conflicts postgresql84 postgresql90 postgresql91 postgresql93 postgresql94 postgresql95 description "Build using postgresql v9.2" { |
91 | 97 | depends_lib-append port:postgresql92 |
92 | 98 | } |
93 | 99 | |
94 | | variant postgresql93 conflicts postgresql84 postgresql90 postgresql91 postgresql92 postgresql94 description "Build using postgresql v9.3" { |
| 100 | variant postgresql93 conflicts postgresql84 postgresql90 postgresql91 postgresql92 postgresql94 postgresql95 description "Build using postgresql v9.3" { |
95 | 101 | depends_lib-append port:postgresql93 |
96 | 102 | } |
97 | 103 | |
98 | | variant postgresql94 conflicts postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 description "Build using postgresql v9.4" { |
| 104 | variant postgresql94 conflicts postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 postgresql95 description "Build using postgresql v9.4" { |
99 | 105 | depends_lib-append port:postgresql94 |
100 | 106 | } |
101 | 107 | |
102 | | if {![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92] && ![variant_isset postgresql93] && ![variant_isset postgresql94]} { |
103 | | default_variants +postgresql93 |
| 108 | variant postgresql95 conflicts postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 postgresql94 description "Build using postgresql v9.5" { |
| 109 | depends_lib-append port:postgresql95 |
| 110 | } |
| 111 | |
| 112 | if {![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92] && ![variant_isset postgresql93] && ![variant_isset postgresql94] && ![variant_isset postgresql95]} { |
| 113 | default_variants +postgresql94 |
104 | 114 | } |
105 | 115 | |
106 | 116 | livecheck.type none |