Ticket #11476: slonyPort126

File slonyPort126, 2.0 KB (added by jyrkiwahlstedt, 17 years ago)

slony port diff to correct dependency and new version

Line 
1Index: Portfile
2===================================================================
3--- Portfile    (revision 22587)
4+++ Portfile    (working copy)
5@@ -2,30 +2,30 @@
6 
7 PortSystem        1.0
8 name              slony1
9-version           1.1.5
10+version           1.2.6
11 categories        databases
12 platforms         darwin
13 maintainers       wreese@gmail.com
14 description       A replication system for PostgreSQL
15 long_description  Slony-I is a trigger-based master to multiple slaves replication system for PostgreSQL being developed by Jan Wieck.
16 homepage          http://gborg.postgresql.org/project/slony1/projdisplay.php
17-master_sites      http://developer.postgresql.org/~wieck/slony1/download/
18+master_sites      http://pgfoundry.org/frs/download.php/1215/
19 use_bzip2         yes
20-checksums        md5 d3ffff50323f1413b9b81084f906f9f8
21-depends_lib      port:postgresql8
22+checksums        md5 4f00747a7faa672f475efd57aa0f96b1
23+depends_lib      port:postgresql82
24 
25-configure.args   --with-pgconfigdir="${prefix}/lib/pgsql8/bin/" \
26-                 --with-pgsharedir="${prefix}/share/postgresql8/" \
27-                 --with-pgbindir="${prefix}/lib/pgsql8/bin/" \
28-                 --with-pgincludedir="${prefix}/include/pgsql8/" \
29-                 --with-pgincludeserverdir="${prefix}/include/pgsql8/server/" \
30-                 --with-pglibdir="${prefix}/lib/pgsql8/" \
31-                 --with-pgpkglibdir="${prefix}/lib/pgsql8/" \
32+configure.args   --with-pgconfigdir="${prefix}/lib/postgresql82/bin/" \
33+                 --with-pgsharedir="${prefix}/share/postgresql82/" \
34+                 --with-pgbindir="${prefix}/lib/postgresql82/bin/" \
35+                 --with-pgincludedir="${prefix}/include/postgresql82/" \
36+                 --with-pgincludeserverdir="${prefix}/include/postgresql82/server/" \
37+                 --with-pglibdir="${prefix}/lib/postgresql82/" \
38+                 --with-pgpkglibdir="${prefix}/lib/postgresql82/" \
39                  --prefix="${destroot}${prefix}"
40 
41 destroot.args     -B
42 post-destroot {
43        foreach bin { slon slonik } {
44-               system "cd ${destroot}${prefix}/bin && ln -s ../lib/pgsql8/bin/${bin}"
45+               system "cd ${destroot}${prefix}/bin && ln -s ../lib/postgresql82/bin/${bin}"
46        }
47 }