1 | # $Id: Portfile 36331 2008-04-27 09:54:41Z rhwood@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name pgpool-II |
---|
6 | version 2.1 |
---|
7 | categories databases |
---|
8 | platforms darwin |
---|
9 | maintainers mac.com:giorgio_v |
---|
10 | description PostgreSQL connection pool server |
---|
11 | long_description pgpool is a connection server program for PostgreSQL. \ |
---|
12 | It runs between PostgreSQL's client(frontend) and \ |
---|
13 | server(backend). Any PostgreSQL clients can connect to \ |
---|
14 | pgpool as if it's a real PostgreSQL server. It \ |
---|
15 | supports connection pooling, failover and replication. |
---|
16 | |
---|
17 | homepage http://pgpool.projects.postgresql.org/ |
---|
18 | master_sites http://pgfoundry.org/frs/download.php/1843/ |
---|
19 | checksums md5 cf02f9358f46849bd526798868e13162 \ |
---|
20 | sha1 6d715367cc6ea7db4367fdefd80f5105cc530c98 \ |
---|
21 | rmd160 b7e95b970ec875d60da8ae06b440eb8e8cf38135 |
---|
22 | configure.env PATH=$env(PATH):${prefix}/lib/postgresql83/bin |
---|
23 | configure.args --bindir=${prefix}/sbin/${name} \ |
---|
24 | --mandir=${prefix}/share/man/${name} \ |
---|
25 | --sysconfdir=${prefix}/etc/${name} |
---|
26 | depends_build port:postgresql83 |
---|
27 | |
---|
28 | post-destroot { |
---|
29 | xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} |
---|
30 | xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS \ |
---|
31 | README README.euc_jp TODO ${destroot}${prefix}/share/doc/${name} |
---|
32 | } |
---|
33 | |
---|
34 | livecheck.check regex |
---|
35 | livecheck.url http://pgfoundry.org/frs/?group_id=1000055 |
---|
36 | livecheck.regex pgpool-II-(\[0-9\\.\]+)\\.tar\\.gz |
---|
37 | |
---|
38 | variant postgresql82 description {uses postgresql82 installation} { |
---|
39 | depends_build port:postgresql82 |
---|
40 | configure.env PATH=$env(PATH):${prefix}/lib/postgresql82/bin |
---|
41 | } |
---|