source: trunk/dports/databases/slony1/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem        1.0
4
5name              slony1
6version           1.2.16
7categories        databases
8platforms         darwin
9maintainers       gmail.com:wreese jwa
10description       A replication system for PostgreSQL
11long_description  Slony-I is a trigger-based master to multiple slaves replication system for PostgreSQL being developed by Jan Wieck.
12homepage          http://main.slony.info/
13master_sites      ${homepage}/downloads/1.2/source
14use_bzip2         yes
15checksums           md5     1b112918a152ce3b6396de17c437fc7e \
16                    sha1    50f66cdc6892a0d757b6601c776ca4f2972ba29f \
17                    rmd160  c0fe2f244768e86047a98b7401bff638897555f3
18
19depends_lib       port:postgresql83
20
21configure.args    --with-pgconfigdir="${prefix}/lib/postgresql83/bin/" \
22    --with-pgsharedir="${prefix}/share/postgresql83/" \
23    --with-pgbindir="${prefix}/lib/postgresql83/bin/" \
24    --with-pgincludedir="${prefix}/include/postgresql83/" \
25    --with-pgincludeserverdir="${prefix}/include/postgresql83/server/" \
26    --with-pglibdir="${prefix}/lib/postgresql83/" \
27    --with-pgpkglibdir="${prefix}/lib/postgresql83/"
28
29destroot.args     -B
30
31variant postgresql82 description {support for PostgreSQL 8.2 instead of 8.3} {
32    depends_lib-delete  port:postgresql83
33    depends_lib-append  port:postgresql82
34    configure.args-delete       --with-pgconfigdir="${prefix}/lib/postgresql83/bin/"
35    configure.args-delete       --with-pgsharedir="${prefix}/share/postgresql83/"
36    configure.args-delete       --with-pgbindir="${prefix}/lib/postgresql83/bin/"
37    configure.args-delete       --with-pgincludedir="${prefix}/include/postgresql83/"
38    configure.args-delete       --with-pgincludeserverdir="${prefix}/include/postgresql83/server/"
39    configure.args-delete       --with-pglibdir="${prefix}/lib/postgresql83/"
40    configure.args-delete       --with-pgpkglibdir="${prefix}/lib/postgresql83/"
41
42    configure.args-append         --with-pgconfigdir="${prefix}/lib/postgresql82/bin/" \
43        --with-pgsharedir="${prefix}/share/postgresql82/" \
44        --with-pgbindir="${prefix}/lib/postgresql82/bin/" \
45        --with-pgincludedir="${prefix}/include/postgresql82/" \
46        --with-pgincludeserverdir="${prefix}/include/postgresql82/server/" \
47        --with-pglibdir="${prefix}/lib/postgresql82/" \
48        --with-pgpkglibdir="${prefix}/lib/postgresql82/"
49}
50#post-destroot {
51#    foreach bin { slon slonik } {
52#       system "cd ${destroot}${prefix}/bin && ln -s ../lib/postgresql82/bin/${bin}"
53#       ln -s ${destroot}${prefix}/lib/postgresql82/bin/${bin} ${destroot}${prefix}/bin
54#    }
55#}
56
57livecheck.check regex
58livecheck.url   ${homepage}
59livecheck.regex (1\.2\.\[0-9\]+) (released|available)
Note: See TracBrowser for help on using the repository browser.