Ticket #36400: pgAdmin3-variants.diff
File pgAdmin3-variants.diff, 3.7 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago) |
---|
-
Portfile
32 32 port:libxslt \ 33 33 port:wxWidgets30 34 34 35 configure.args --with-pgsql=${prefix}/lib/postgresql92\35 configure.args \ 36 36 --with-wx=${prefix} \ 37 37 --with-wx-version=2.9 \ 38 38 --with-libxml2=${prefix} \ … … 43 43 use_parallel_build no 44 44 build.target all install 45 45 46 default_variants +with_postgresql9247 48 46 universal_variant no 49 47 50 48 post-configure { … … 57 55 file copy ${worksrcpath}/${name}.app ${destroot}${applications_dir}/${name}.app 58 56 } 59 57 60 variant with_postgresql83 conflicts with_postgresql84 with_postgresql90 with_postgresql91 with_postgresql92 \58 variant postgresql83 conflicts postgresql84 postgresql90 postgresql91 postgresql92 \ 61 59 description {support for PostgreSQL 8.3.x} { 62 depends_lib-delete port:postgresql9263 configure.args-delete --with-pgsql=${prefix}/lib/postgresql9264 60 depends_lib-append port:postgresql83 65 61 configure.args-append --with-pgsql=${prefix}/lib/postgresql83 66 62 } 67 63 68 variant with_postgresql84 conflicts with_postgresql83 with_postgresql90 with_postgresql91 with_postgresql92 \64 variant postgresql84 conflicts postgresql83 postgresql90 postgresql91 postgresql92 \ 69 65 description {support for PostgreSQL 8.4.x} { 70 depends_lib-delete port:postgresql9271 configure.args-delete --with-pgsql=${prefix}/lib/postgresql9272 66 depends_lib-append port:postgresql84 73 67 configure.args-append --with-pgsql=${prefix}/lib/postgresql84 74 68 } 75 69 76 variant with_postgresql90 conflicts with_postgresql83 with_postgresql84 with_postgresql91 with_postgresql92 \70 variant postgresql90 conflicts postgresql83 postgresql84 postgresql91 postgresql92 \ 77 71 description {support for PostgreSQL 9.0.x} { 78 depends_lib-delete port:postgresql9279 configure.args-delete --with-pgsql=${prefix}/lib/postgresql9280 72 depends_lib-append port:postgresql90 81 73 configure.args-append --with-pgsql=${prefix}/lib/postgresql90 82 74 } 83 75 84 variant with_postgresql91 conflicts with_postgresql83 with_postgresql84 with_postgresql90 with_postgresql92 \76 variant postgresql91 conflicts postgresql83 postgresql84 postgresql90 postgresql92 \ 85 77 description {support for PostgreSQL 9.1.x} { 86 depends_lib-delete port:postgresql9287 configure.args-delete --with-pgsql=${prefix}/lib/postgresql9288 78 depends_lib-append port:postgresql91 89 79 configure.args-append --with-pgsql=${prefix}/lib/postgresql91 90 80 } 91 81 92 variant with_postgresql92 conflicts with_postgresql83 with_postgresql84 with_postgresql90 with_postgresql91 \82 variant postgresql92 conflicts postgresql83 postgresql84 postgresql90 postgresql91 \ 93 83 description {support for PostgreSQL 9.2.x} { 94 84 depends_lib-append port:postgresql92 95 85 configure.args-append --with-pgsql=${prefix}/lib/postgresql92 96 86 } 97 87 88 if {![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92]} { 89 default_variants +postgresql92 90 } 91 98 92 variant debug description {provide a debug build in case of difficulties} { 99 93 configure.args-append --enable-debug 100 94 } 101 95 96 variant with_postgresql83 requires postgresql83 description {Legacy compatibility variant} {} 97 variant with_postgresql84 requires postgresql84 description {Legacy compatibility variant} {} 98 variant with_postgresql90 requires postgresql90 description {Legacy compatibility variant} {} 99 variant with_postgresql91 requires postgresql91 description {Legacy compatibility variant} {} 100 variant with_postgresql92 requires postgresql92 description {Legacy compatibility variant} {} 101 102 102 livecheck.type regex 103 103 livecheck.url ${homepage} 104 104 livecheck.regex pgAdmin v(1\\.\[0-9\]+\\.\[0-9\]+)