# $Id$ PortSystem 1.0 PortGroup perl5 1.0 perl5.branches 5.8 5.10 5.12 5.14 5.16 perl5.setup DBD-Pg 2.19.2 revision 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 md5 67c859593e40959b42b3ef23ce6b581e \ sha1 edcaa1a44c0ff8e7f78bc80f584b9e83c11d10df \ rmd160 eeecc7597722baed07510741cf16e38d1e0c4f7f if {${perl5.major} != ""} { depends_lib-append port:p${perl5.major}-dbi \ port:p${perl5.major}-version \ port:p${perl5.major}-module-signature \ port:p${perl5.major}-test-yaml-meta \ port:p${perl5.major}-test-warn variant postgresql7 conflicts postgresql80 postgresql81 postgresql82 postgresql83 postgresql84 postgresql90 postgresql91 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 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 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 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 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 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 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 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" } # 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]} { default_variants +postgresql91 } }