# $Id: Portfile 22710 2007-03-12 17:36:23Z jwa@macports.org $ PortSystem 1.0 name slony1 version 1.2.6 categories databases platforms darwin maintainers wreese@gmail.com 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://gborg.postgresql.org/project/slony1/projdisplay.php master_sites http://pgfoundry.org/frs/download.php/1215/ use_bzip2 yes checksums md5 4f00747a7faa672f475efd57aa0f96b1 depends_lib port:postgresql82 configure.args --with-pgconfigdir="${prefix}/lib/postgresql82/bin/" \ --with-pgsharedir="${prefix}/share/postgresql82/" \ --with-pgbindir="${prefix}/lib/postgresql82/bin/" \ --with-pgincludedir="${prefix}/include/postgresql82/" \ --with-pgincludeserverdir="${prefix}/include/postgresql82/server/" \ --with-pglibdir="${prefix}/lib/postgresql82/" \ --with-pgpkglibdir="${prefix}/lib/postgresql82/" \ --prefix="${destroot}${prefix}" destroot.args -B post-destroot { foreach bin { slon slonik } { system "cd ${destroot}${prefix}/bin && ln -s ../lib/postgresql82/bin/${bin}" } }