# -*- 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 # $Id$ PortSystem 1.0 PortGroup perl5 1.0 perl5.branches 5.16 5.18 5.20 5.22 perl5.setup DBD-Pg 3.5.1 license {Artistic-1 GPL} categories perl databases maintainers nomaintainer description Perl DBI module to provide access to PostgreSQL databases long_description DBD::Pg is a Perl module which works with the DBI \ module to provide access to PostgreSQL databases platforms darwin checksums rmd160 3b23bdaaed8c3e9bc65b1b82d9ede78e7caeff49 \ sha256 fdbf175cfb6371169d4638bcbe696a4998d3b375220e93ad7125ae276770137c if {${perl5.major} ne ""} { depends_lib-append \ port:p${perl5.major}-dbi \ port:p${perl5.major}-module-signature \ port:p${perl5.major}-test-yaml-meta \ port:p${perl5.major}-test-warn \ port:p${perl5.major}-version variant postgresql7 conflicts postgresql80 postgresql81 postgresql82 postgresql83 postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 postgresql94 description {build with postgresql7 port} { depends_lib-append port:postgresql7 configure.env PATH=${prefix}/lib/pgsql7/bin:$env(PATH) \ POSTGRES_INCLUDE="${prefix}/include/pgsql7" \ POSTGRES_LIB="${prefix}/lib/pgsql7 -lssl" } variant postgresql80 conflicts postgresql7 postgresql81 postgresql82 postgresql83 postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 postgresql94 description {build with postgresql80 port} { depends_lib-append port:postgresql80 configure.env PATH=${prefix}/lib/pgsql8/bin:$env(PATH) \ POSTGRES_INCLUDE="${prefix}/include/pgsql8" \ POSTGRES_LIB="${prefix}/lib/pgsql8 -lssl" } variant postgresql81 conflicts postgresql7 postgresql80 postgresql82 postgresql83 postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 postgresql94 description {build with postgresql81 port} { depends_lib-append port:postgresql81 configure.env PATH=${prefix}/lib/postgresql81/bin:$env(PATH) \ POSTGRES_INCLUDE="${prefix}/include/postgresql81" \ POSTGRES_LIB="${prefix}/lib/postgresql81 -lssl" } variant postgresql82 conflicts postgresql7 postgresql80 postgresql81 postgresql83 postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 postgresql94 description {build with postgresql82 port} { depends_lib-append port:postgresql82 configure.env PATH=${prefix}/lib/postgresql82/bin:$env(PATH) \ POSTGRES_INCLUDE="${prefix}/include/postgresql82" \ POSTGRES_LIB="${prefix}/lib/postgresql82 -lssl" } variant postgresql83 conflicts postgresql7 postgresql80 postgresql81 postgresql82 postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 postgresql94 description {build with postgresql83 port} { depends_lib-append port:postgresql83 configure.env PATH=${prefix}/lib/postgresql83/bin:$env(PATH) \ POSTGRES_INCLUDE="${prefix}/include/postgresql83" \ POSTGRES_LIB="${prefix}/lib/postgresql83 -lssl" } variant postgresql84 conflicts postgresql7 postgresql80 postgresql81 postgresql82 postgresql83 postgresql90 postgresql91 postgresql92 postgresql93 postgresql94 description {build with postgresql84 port} { depends_lib-append port:postgresql84 configure.env PATH=${prefix}/lib/postgresql84/bin:$env(PATH) \ POSTGRES_INCLUDE="${prefix}/include/postgresql84" \ POSTGRES_LIB="${prefix}/lib/postgresql84 -lssl" } variant postgresql90 conflicts postgresql7 postgresql80 postgresql81 postgresql82 postgresql83 postgresql84 postgresql91 postgresql92 postgresql93 postgresql94 description {build with postgresql90 port} { depends_lib-append port:postgresql90 configure.env PATH=${prefix}/lib/postgresql90/bin:$env(PATH) \ POSTGRES_INCLUDE="${prefix}/include/postgresql90" \ POSTGRES_LIB="${prefix}/lib/postgresql90 -lssl" } variant postgresql91 conflicts postgresql7 postgresql80 postgresql81 postgresql82 postgresql83 postgresql84 postgresql90 postgresql92 postgresql93 postgresql94 description {build with postgresql91 port} { depends_lib-append port:postgresql91 configure.env PATH=${prefix}/lib/postgresql91/bin:$env(PATH) \ POSTGRES_INCLUDE="${prefix}/include/postgresql91" \ POSTGRES_LIB="${prefix}/lib/postgresql91 -lssl" } variant postgresql92 conflicts postgresql7 postgresql80 postgresql81 postgresql82 postgresql83 postgresql84 postgresql90 postgresql91 postgresql93 postgresql94 description {build with postgresql92 port} { depends_lib-append port:postgresql92 configure.env PATH=${prefix}/lib/postgresql92/bin:$env(PATH) \ POSTGRES_INCLUDE="${prefix}/include/postgresql92" \ POSTGRES_LIB="${prefix}/lib/postgresql92 -lssl" } variant postgresql93 conflicts postgresql7 postgresql80 postgresql81 postgresql82 postgresql83 postgresql84 postgresql90 postgresql91 postgresql92 postgresql94 description {build with postgresql93 port} { depends_lib-append port:postgresql93 configure.env PATH=${prefix}/lib/postgresql93/bin:$env(PATH) \ POSTGRES_INCLUDE="${prefix}/include/postgresql93" \ POSTGRES_LIB="${prefix}/lib/postgresql93 -lssl" } variant postgresql94 conflicts postgresql7 postgresql80 postgresql81 postgresql82 postgresql83 postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 description {build with postgresql94 port} { depends_lib-append port:postgresql94 configure.env PATH=${prefix}/lib/postgresql94/bin:$env(PATH) \ POSTGRES_INCLUDE="${prefix}/include/postgresql94" \ POSTGRES_LIB="${prefix}/lib/postgresql94 -lssl" } # Default to latest release if {![variant_isset postgresql7] && ![variant_isset postgresql80] && ![variant_isset postgresql81] && ![variant_isset postgresql82] && ![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92] && ![variant_isset postgresql93] && ![variant_isset postgresql94]} { default_variants +postgresql94 } }