source: trunk/dports/databases/slony1/Portfile

Last change on this file was 131884, checked in by jwa@…, 3 years ago

slony1: version bump to 2.2.4

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 7.4 KB
Line 
1# -*- 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
2# $Id: Portfile 131884 2015-01-20 09:38:46Z ryandesign@macports.org $
3
4PortSystem        1.0
5
6name              slony1
7version           2.2.4
8categories        databases
9platforms         darwin
10maintainers       gmail.com:wreese jwa
11description       A replication system for PostgreSQL
12long_description  Slony-I is a trigger-based master to multiple slaves replication system for PostgreSQL being developed by Jan Wieck.
13
14homepage          http://main.slony.info/
15master_sites      ${homepage}/downloads/2.2/source
16use_bzip2         yes
17
18checksums           rmd160  e06119fe9352cb82a82771184cb6cab62f79df22 \
19                    sha256  846a878f50de520d151e7f76a66d9b9845e94beb8820727bf84ab522a73e65b5
20
21depends_lib       port:postgresql94
22
23configure.args    --with-pgconfigdir="${prefix}/lib/postgresql94/bin/" \
24    --with-pgsharedir="${prefix}/share/postgresql94/" \
25    --with-pgbindir="${prefix}/lib/postgresql94/bin/" \
26    --with-pgincludedir="${prefix}/include/postgresql94/" \
27    --with-pgincludeserverdir="${prefix}/include/postgresql94/server/" \
28    --with-pglibdir="${prefix}/lib/postgresql94/" \
29    --with-pgpkglibdir="${prefix}/lib/postgresql94/"
30
31destroot.args     -B
32
33variant postgresql84 conflicts postgresql90 postgresql91 postgresql92 \
34    postgresql93 \
35    description {support for PostgreSQL 8.4 instead of 9.3} {
36    depends_lib-delete  port:postgresql94
37    depends_lib-append  port:postgresql84
38    configure.args-delete       --with-pgconfigdir="${prefix}/lib/postgresql94/bin/"
39    configure.args-delete       --with-pgsharedir="${prefix}/share/postgresql94/"
40    configure.args-delete       --with-pgbindir="${prefix}/lib/postgresql94/bin/"
41    configure.args-delete       --with-pgincludedir="${prefix}/include/postgresql94/"
42    configure.args-delete       --with-pgincludeserverdir="${prefix}/include/postgresql94/server/"
43    configure.args-delete       --with-pglibdir="${prefix}/lib/postgresql94/"
44    configure.args-delete       --with-pgpkglibdir="${prefix}/lib/postgresql94/"
45
46    configure.args-append         --with-pgconfigdir="${prefix}/lib/postgresql84/bin/" \
47        --with-pgsharedir="${prefix}/share/postgresql84/" \
48        --with-pgbindir="${prefix}/lib/postgresql84/bin/" \
49        --with-pgincludedir="${prefix}/include/postgresql84/" \
50        --with-pgincludeserverdir="${prefix}/include/postgresql84/server/" \
51        --with-pglibdir="${prefix}/lib/postgresql84/" \
52        --with-pgpkglibdir="${prefix}/lib/postgresql84/"
53}
54
55variant postgresql90 conflicts postgresql84 postgresql91 postgresql92 \
56    postgresql93 \
57    description {support for PostgreSQL 9.0 instead of 9.3} {
58    depends_lib-delete  port:postgresql94
59    depends_lib-append  port:postgresql90
60    configure.args-delete       --with-pgconfigdir="${prefix}/lib/postgresql94/bin/"
61    configure.args-delete       --with-pgsharedir="${prefix}/share/postgresql94/"
62    configure.args-delete       --with-pgbindir="${prefix}/lib/postgresql94/bin/"
63    configure.args-delete       --with-pgincludedir="${prefix}/include/postgresql94/"
64    configure.args-delete       --with-pgincludeserverdir="${prefix}/include/postgresql94/server/"
65    configure.args-delete       --with-pglibdir="${prefix}/lib/postgresql94/"
66    configure.args-delete       --with-pgpkglibdir="${prefix}/lib/postgresql94/"
67
68    configure.args-append         --with-pgconfigdir="${prefix}/lib/postgresql90/bin/" \
69        --with-pgsharedir="${prefix}/share/postgresql90/" \
70        --with-pgbindir="${prefix}/lib/postgresql90/bin/" \
71        --with-pgincludedir="${prefix}/include/postgresql90/" \
72        --with-pgincludeserverdir="${prefix}/include/postgresql90/server/" \
73        --with-pglibdir="${prefix}/lib/postgresql90/" \
74        --with-pgpkglibdir="${prefix}/lib/postgresql90/"
75}
76
77variant postgresql91 conflicts postgresql84 postgresql90 postgresql92 \
78    postgresql93 \
79    description {support for PostgreSQL 9.1} {
80    depends_lib-delete  port:postgresql94
81    depends_lib-append  port:postgresql91
82    configure.args-delete       --with-pgconfigdir="${prefix}/lib/postgresql94/bin/"
83    configure.args-delete       --with-pgsharedir="${prefix}/share/postgresql94/"
84    configure.args-delete       --with-pgbindir="${prefix}/lib/postgresql94/bin/"
85    configure.args-delete       --with-pgincludedir="${prefix}/include/postgresql94/"
86    configure.args-delete       --with-pgincludeserverdir="${prefix}/include/postgresql94/server/"
87    configure.args-delete       --with-pglibdir="${prefix}/lib/postgresql94/"
88    configure.args-delete       --with-pgpkglibdir="${prefix}/lib/postgresql94/"
89
90    configure.args-append         --with-pgconfigdir="${prefix}/lib/postgresql91/bin/" \
91        --with-pgsharedir="${prefix}/share/postgresql91/" \
92        --with-pgbindir="${prefix}/lib/postgresql91/bin/" \
93        --with-pgincludedir="${prefix}/include/postgresql91/" \
94        --with-pgincludeserverdir="${prefix}/include/postgresql91/server/" \
95        --with-pglibdir="${prefix}/lib/postgresql91/" \
96        --with-pgpkglibdir="${prefix}/lib/postgresql91/"
97}
98
99variant postgresql92 conflicts postgresql84 postgresql90 postgresql91 \
100    postgresql93 \
101    description {support for PostgreSQL 9.2} {
102    depends_lib-delete  port:postgresql94
103    depends_lib-append  port:postgresql92
104    configure.args-delete       --with-pgconfigdir="${prefix}/lib/postgresql94/bin/"
105    configure.args-delete       --with-pgsharedir="${prefix}/share/postgresql94/"
106    configure.args-delete       --with-pgbindir="${prefix}/lib/postgresql94/bin/"
107    configure.args-delete       --with-pgincludedir="${prefix}/include/postgresql94/"
108    configure.args-delete       --with-pgincludeserverdir="${prefix}/include/postgresql94/server/"
109    configure.args-delete       --with-pglibdir="${prefix}/lib/postgresql94/"
110    configure.args-delete       --with-pgpkglibdir="${prefix}/lib/postgresql94/"
111    configure.args-append         --with-pgconfigdir="${prefix}/lib/postgresql92/bin/" \
112        --with-pgsharedir="${prefix}/share/postgresql92/" \
113        --with-pgbindir="${prefix}/lib/postgresql92/bin/" \
114        --with-pgincludedir="${prefix}/include/postgresql92/" \
115        --with-pgincludeserverdir="${prefix}/include/postgresql92/server/" \
116        --with-pglibdir="${prefix}/lib/postgresql92/" \
117        --with-pgpkglibdir="${prefix}/lib/postgresql92/"
118}
119
120variant postgresql93 conflicts postgresql84 postgresql90 postgresql91 \
121    postgresql92 \
122    description {support for PostgreSQL 9.3} {
123    depends_lib-delete  port:postgresql94
124    depends_lib-append  port:postgresql93
125    configure.args-delete       --with-pgconfigdir="${prefix}/lib/postgresql94/bin/"
126    configure.args-delete       --with-pgsharedir="${prefix}/share/postgresql94/"
127    configure.args-delete       --with-pgbindir="${prefix}/lib/postgresql94/bin/"
128    configure.args-delete       --with-pgincludedir="${prefix}/include/postgresql94/"
129    configure.args-delete       --with-pgincludeserverdir="${prefix}/include/postgresql94/server/"
130    configure.args-delete       --with-pglibdir="${prefix}/lib/postgresql94/"
131    configure.args-delete       --with-pgpkglibdir="${prefix}/lib/postgresql94/"
132    configure.args-append         --with-pgconfigdir="${prefix}/lib/postgresql93/bin/" \
133        --with-pgsharedir="${prefix}/share/postgresql93/" \
134        --with-pgbindir="${prefix}/lib/postgresql93/bin/" \
135        --with-pgincludedir="${prefix}/include/postgresql93/" \
136        --with-pgincludeserverdir="${prefix}/include/postgresql93/server/" \
137        --with-pglibdir="${prefix}/lib/postgresql93/" \
138        --with-pgpkglibdir="${prefix}/lib/postgresql93/"
139}
140
141#post-destroot {
142#    foreach bin { slon slonik } {
143#       system "cd ${destroot}${prefix}/bin && ln -s ../lib/postgresql82/bin/${bin}"
144#       ln -s ${destroot}${prefix}/lib/postgresql82/bin/${bin} ${destroot}${prefix}/bin
145#    }
146#}
147
148livecheck.type  regex
149livecheck.url   ${homepage}
150livecheck.regex (2\\.\[0-9]+\\.\[0-9\]+)\[      \]+(\[Rr\]eleased|(now )?available)
Note: See TracBrowser for help on using the repository browser.