# -*- 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 name slony1 version 2.1.4 categories databases platforms darwin maintainers gmail.com:wreese jwa description A replication system for PostgreSQL long_description Slony-I is a trigger-based master to multiple slaves replication system for PostgreSQL being developed by Jan Wieck. homepage http://main.slony.info/ master_sites ${homepage}/downloads/2.1/source use_bzip2 yes checksums rmd160 217b37d0eeaeceef932f255472b8499eaedd3a20 \ sha256 90dc746bb9f12a051f9f563365e693ffd81f07a2353debfc4b8a4d0884ca72a4 default_variants +postgresql92 configure.args --with-pgconfigdir="${prefix}/lib/postgresql92/bin/" \ --with-pgsharedir="${prefix}/share/postgresql92/" \ --with-pgbindir="${prefix}/lib/postgresql92/bin/" \ --with-pgincludedir="${prefix}/include/postgresql92/" \ --with-pgincludeserverdir="${prefix}/include/postgresql92/server/" \ --with-pglibdir="${prefix}/lib/postgresql92/" \ --with-pgpkglibdir="${prefix}/lib/postgresql92/" destroot.args -B variant postgresql83 conflicts postgresql84 postgresql90 postgresql91 postgresql92 \ description {support for PostgreSQL 8.3 instead of 9.2} { depends_lib-delete port:postgresql92 depends_lib-append port:postgresql83 configure.args-delete --with-pgconfigdir="${prefix}/lib/postgresql92/bin/" configure.args-delete --with-pgsharedir="${prefix}/share/postgresql92/" configure.args-delete --with-pgbindir="${prefix}/lib/postgresql92/bin/" configure.args-delete --with-pgincludedir="${prefix}/include/postgresql92/" configure.args-delete --with-pgincludeserverdir="${prefix}/include/postgresql92/server/" configure.args-delete --with-pglibdir="${prefix}/lib/postgresql92/" configure.args-delete --with-pgpkglibdir="${prefix}/lib/postgresql92/" configure.args-append --with-pgconfigdir="${prefix}/lib/postgresql83/bin/" \ --with-pgsharedir="${prefix}/share/postgresql83/" \ --with-pgbindir="${prefix}/lib/postgresql83/bin/" \ --with-pgincludedir="${prefix}/include/postgresql83/" \ --with-pgincludeserverdir="${prefix}/include/postgresql83/server/" \ --with-pglibdir="${prefix}/lib/postgresql83/" \ --with-pgpkglibdir="${prefix}/lib/postgresql83/" } variant postgresql84 conflicts postgresql83 postgresql90 postgresql91 postgresql92 \ description {support for PostgreSQL 8.4 instead of 9.2} { depends_lib-delete port:postgresql92 depends_lib-append port:postgresql84 configure.args-delete --with-pgconfigdir="${prefix}/lib/postgresql92/bin/" configure.args-delete --with-pgsharedir="${prefix}/share/postgresql92/" configure.args-delete --with-pgbindir="${prefix}/lib/postgresql92/bin/" configure.args-delete --with-pgincludedir="${prefix}/include/postgresql92/" configure.args-delete --with-pgincludeserverdir="${prefix}/include/postgresql92/server/" configure.args-delete --with-pglibdir="${prefix}/lib/postgresql92/" configure.args-delete --with-pgpkglibdir="${prefix}/lib/postgresql92/" configure.args-append --with-pgconfigdir="${prefix}/lib/postgresql84/bin/" \ --with-pgsharedir="${prefix}/share/postgresql84/" \ --with-pgbindir="${prefix}/lib/postgresql84/bin/" \ --with-pgincludedir="${prefix}/include/postgresql84/" \ --with-pgincludeserverdir="${prefix}/include/postgresql84/server/" \ --with-pglibdir="${prefix}/lib/postgresql84/" \ --with-pgpkglibdir="${prefix}/lib/postgresql84/" } variant postgresql90 conflicts postgresql83 postgresql84 postgresql91 postgresql92 \ description {support for PostgreSQL 9.0 instead of 9.2} { depends_lib-delete port:postgresql92 depends_lib-append port:postgresql90 configure.args-delete --with-pgconfigdir="${prefix}/lib/postgresql92/bin/" configure.args-delete --with-pgsharedir="${prefix}/share/postgresql92/" configure.args-delete --with-pgbindir="${prefix}/lib/postgresql92/bin/" configure.args-delete --with-pgincludedir="${prefix}/include/postgresql92/" configure.args-delete --with-pgincludeserverdir="${prefix}/include/postgresql92/server/" configure.args-delete --with-pglibdir="${prefix}/lib/postgresql92/" configure.args-delete --with-pgpkglibdir="${prefix}/lib/postgresql92/" configure.args-append --with-pgconfigdir="${prefix}/lib/postgresql90/bin/" \ --with-pgsharedir="${prefix}/share/postgresql90/" \ --with-pgbindir="${prefix}/lib/postgresql90/bin/" \ --with-pgincludedir="${prefix}/include/postgresql90/" \ --with-pgincludeserverdir="${prefix}/include/postgresql90/server/" \ --with-pglibdir="${prefix}/lib/postgresql90/" \ --with-pgpkglibdir="${prefix}/lib/postgresql90/" } variant postgresql91 conflicts postgresql83 postgresql84 postgresql90 postgresql92 \ description {support for PostgreSQL 9.1 instead of 9.2} { depends_lib-delete port:postgresql92 depends_lib-append port:postgresql91 configure.args-delete --with-pgconfigdir="${prefix}/lib/postgresql92/bin/" configure.args-delete --with-pgsharedir="${prefix}/share/postgresql92/" configure.args-delete --with-pgbindir="${prefix}/lib/postgresql92/bin/" configure.args-delete --with-pgincludedir="${prefix}/include/postgresql92/" configure.args-delete --with-pgincludeserverdir="${prefix}/include/postgresql92/server/" configure.args-delete --with-pglibdir="${prefix}/lib/postgresql92/" configure.args-delete --with-pgpkglibdir="${prefix}/lib/postgresql92/" configure.args-append --with-pgconfigdir="${prefix}/lib/postgresql91/bin/" \ --with-pgsharedir="${prefix}/share/postgresql91/" \ --with-pgbindir="${prefix}/lib/postgresql91/bin/" \ --with-pgincludedir="${prefix}/include/postgresql91/" \ --with-pgincludeserverdir="${prefix}/include/postgresql91/server/" \ --with-pglibdir="${prefix}/lib/postgresql91/" \ --with-pgpkglibdir="${prefix}/lib/postgresql91/" } variant postgresql92 conflicts postgresql83 postgresql84 postgresql90 postgresql91 \ description {support for PostgreSQL 9.2} { depends_lib-append port:postgresql92 configure.args-append --with-pgconfigdir="${prefix}/lib/postgresql92/bin/" \ --with-pgsharedir="${prefix}/share/postgresql92/" \ --with-pgbindir="${prefix}/lib/postgresql92/bin/" \ --with-pgincludedir="${prefix}/include/postgresql92/" \ --with-pgincludeserverdir="${prefix}/include/postgresql92/server/" \ --with-pglibdir="${prefix}/lib/postgresql92/" \ --with-pgpkglibdir="${prefix}/lib/postgresql92/" } #post-destroot { # foreach bin { slon slonik } { # system "cd ${destroot}${prefix}/bin && ln -s ../lib/postgresql82/bin/${bin}" # ln -s ${destroot}${prefix}/lib/postgresql82/bin/${bin} ${destroot}${prefix}/bin # } #} livecheck.type regex livecheck.url ${homepage} livecheck.regex (2\\.\[0-9]+\\.\[0-9\]+)\[ \]+(\[Rr\]eleased|(now )?available)