[35072] trunk/dports/databases/slony1/Portfile

jwa at macports.org jwa at macports.org
Sun Mar 16 07:20:45 PDT 2008


Revision: 35072
          http://trac.macosforge.org/projects/macports/changeset/35072
Author:   jwa at macports.org
Date:     2008-03-16 07:20:45 -0700 (Sun, 16 Mar 2008)

Log Message:
-----------
version bump to 1.2.13, added a postgresql82 variant the default dependency being postgresql83, added md5 checksum

Modified Paths:
--------------
    trunk/dports/databases/slony1/Portfile

Modified: trunk/dports/databases/slony1/Portfile
===================================================================
--- trunk/dports/databases/slony1/Portfile	2008-03-16 14:19:17 UTC (rev 35071)
+++ trunk/dports/databases/slony1/Portfile	2008-03-16 14:20:45 UTC (rev 35072)
@@ -3,7 +3,7 @@
 PortSystem        1.0
 
 name              slony1
-version           1.2.12
+version           1.2.13
 categories        databases
 platforms         darwin
 maintainers       wreese at gmail.com jwa
@@ -12,19 +12,40 @@
 homepage          http://main.slony.info/
 master_sites      ${homepage}/downloads/1.2/source
 use_bzip2         yes
-checksums	  sha1 fbdbbd76ee4e20c46ee53de8922ceca3ef8de8ac \
-    rmd160 0eeba14b620ae8bde21dd78d3e14a9736ef3d197
-depends_lib	  port:postgresql82
+checksums	  md5 838c8419fd9e21b2e23f38fb738ea239 \
+    sha1 808868bab63fbe75ec2a25a531eb4a983b5db004 \
+    rmd160 cf35daca11bcb4a36d6a07a08287014e2473321b
+depends_lib	  port:postgresql83
 
-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/"
+configure.args	  --with-pgconfigdir="${prefix}/lib/postgresql83/bin/" \
+    --with-pgsharedir="${prefix}/share/postgresql83/" \
+    --with-pgbindir="${prefix}/lib/postgresql83/bin/" \
+    --with-pgincludedir="${prefix}/include/postgresql83/" \
+    --with-pgincludeserverdir="${prefix}/include/postgresql83/server/" \
+    --with-pglibdir="${prefix}/lib/postgresql83/" \
+    --with-pgpkglibdir="${prefix}/lib/postgresql83/"
 
 destroot.args     -B
+
+variant postgresql82 {
+    depends_lib-delete	port:postgresql83
+    depends_lib-append	port:postgresql82
+    configure.args-delete	--with-pgconfigdir="${prefix}/lib/postgresql83/bin/"
+    configure.args-delete	--with-pgsharedir="${prefix}/share/postgresql83/"
+    configure.args-delete	--with-pgbindir="${prefix}/lib/postgresql83/bin/"
+    configure.args-delete	--with-pgincludedir="${prefix}/include/postgresql83/"
+    configure.args-delete	--with-pgincludeserverdir="${prefix}/include/postgresql83/server/"
+    configure.args-delete	--with-pglibdir="${prefix}/lib/postgresql83/"
+    configure.args-delete	--with-pgpkglibdir="${prefix}/lib/postgresql83/"
+
+    configure.args-append	  --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/"
+}
 #post-destroot {
 #    foreach bin { slon slonik } {
 #	system "cd ${destroot}${prefix}/bin && ln -s ../lib/postgresql82/bin/${bin}"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080316/0d01a6e4/attachment.html


More information about the macports-changes mailing list