[37143] trunk/dports/aqua/pgAdmin3/Portfile

jwa at macports.org jwa at macports.org
Tue May 27 10:28:31 PDT 2008


Revision: 37143
          http://trac.macosforge.org/projects/macports/changeset/37143
Author:   jwa at macports.org
Date:     2008-05-27 10:28:30 -0700 (Tue, 27 May 2008)

Log Message:
-----------
made postgresql83 the default dependency at last, added postgresql82 a variant

Modified Paths:
--------------
    trunk/dports/aqua/pgAdmin3/Portfile

Modified: trunk/dports/aqua/pgAdmin3/Portfile
===================================================================
--- trunk/dports/aqua/pgAdmin3/Portfile	2008-05-27 17:24:55 UTC (rev 37142)
+++ trunk/dports/aqua/pgAdmin3/Portfile	2008-05-27 17:28:30 UTC (rev 37143)
@@ -4,6 +4,7 @@
 
 name		pgAdmin3
 version		1.8.2
+revision	1
 
 categories	aqua
 maintainers	jwa
@@ -27,13 +28,13 @@
     sha1 dc3117fb84dc77f13a2cf0518e46cd6067eaed15 \
     rmd160 302039687dac63e221844c21c0dfae8f042f3d92
 
-depends_lib	port:postgresql82 \
+depends_lib	port:postgresql83 \
     port:wxWidgets \
     port:openssl \
     port:libxml2 \
     port:libxslt
 
-configure.args	--with-pgsql=${prefix}/lib/postgresql82 \
+configure.args	--with-pgsql=${prefix}/lib/postgresql83 \
     --with-wx=${prefix} \
     --with-wx-version=2.8 \
     --with-libxml2=${prefix} \
@@ -48,6 +49,14 @@
     file copy ${worksrcpath}/${name}.app ${destroot}/Applications/MacPorts/${name}.app
 }
 
+variant with_postgresql82 conflicts with_postgresql83 \
+    description {support for PostgreSQL 8.2.x} {
+	depends_lib-delete	port:postgresql83
+	depends_lib-delete	--with-pgsql=${prefix}/lib/postgresql83
+	depends_lib-append	port:postgresql82
+	configure.args-append	--with-pgsql=${prefix}/lib/postgresql82
+}
+
 variant debug description {provide a debug build in case of difficulties} {
     configure.args-append	--enable-debug
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080527/b53190fd/attachment.htm 


More information about the macports-changes mailing list