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

jwa at macports.org jwa at macports.org
Mon Sep 19 10:11:14 PDT 2011


Revision: 84149
          http://trac.macports.org/changeset/84149
Author:   jwa at macports.org
Date:     2011-09-19 10:11:14 -0700 (Mon, 19 Sep 2011)
Log Message:
-----------
version bump to 1.14.0, changed default db to 9.1, added postgresql mirrors to download sites,, added 9.0 as variant as well as conflicts

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

Modified: trunk/dports/aqua/pgAdmin3/Portfile
===================================================================
--- trunk/dports/aqua/pgAdmin3/Portfile	2011-09-19 16:36:26 UTC (rev 84148)
+++ trunk/dports/aqua/pgAdmin3/Portfile	2011-09-19 17:11:14 UTC (rev 84149)
@@ -5,7 +5,7 @@
 PortGroup               archcheck 1.0
 
 name		pgAdmin3
-version		1.12.3
+version		1.14.0
 
 categories	aqua
 maintainers	jwa
@@ -20,24 +20,24 @@
 homepage	http://www.pgadmin.org/
 
 master_sites	http://developer.pgadmin.org/ftp/release/v${version}/src/ \
-    http://www.postgresql.org/ftp/pgadmin3/release/v${version}/src/
+    http://www.postgresql.org/ftp/pgadmin3/release/v${version}/src/ \
+			postgresql:pgadmin3/release/v${version}/src/
 
 distname	pgadmin3-${version}
 
-checksums           md5     0ff7a970a14757ee951a4e8b1a246a70 \
-                    sha1    051462bcc003a7d9daddf8a01d6d4b4d82282229 \
-                    rmd160  1fc5fe096ac6440071c36b3b3152e929e464f8d9
+checksums           rmd160  919ba33e71826114613a169af2de0194db224525 \
+                    sha256  396c2b0394496f23ea51c095b619eecc8c33473f0f483b795bfeb391e56cafd2
 
-depends_lib	port:postgresql90 \
+depends_lib	port:postgresql91 \
     port:wxWidgets \
     port:openssl \
     port:libxml2 \
     port:libxslt
 
-archcheck.files lib/postgresql90/libpq.dylib \
+archcheck.files lib/postgresql91/libpq.dylib \
     lib/libwx_macu_gl-2.8.dylib
 
-configure.args	--with-pgsql=${prefix}/lib/postgresql90 \
+configure.args	--with-pgsql=${prefix}/lib/postgresql91 \
     --with-wx=${prefix} \
     --with-wx-version=2.8 \
     --with-libxml2=${prefix} \
@@ -58,30 +58,46 @@
     file copy ${worksrcpath}/${name}.app ${destroot}${applications_dir}/${name}.app
 }
 
-variant with_postgresql82 conflicts with_postgresql83 \
+variant with_postgresql82 conflicts with_postgresql83 with_postgresql84 with_postgresql90 \
     description {support for PostgreSQL 8.2.x} {
-	depends_lib-delete	port:postgresql90
-	depends_lib-delete	--with-pgsql=${prefix}/lib/postgresql90
+        archcheck.files-delete lib/postgresql91/libpq.dylib
+        archcheck.files-append lib/postgresql82/libpq.dylib
+	depends_lib-delete	port:postgresql91
+	depends_lib-delete	--with-pgsql=${prefix}/lib/postgresql91
 	depends_lib-append	port:postgresql82
 	configure.args-append	--with-pgsql=${prefix}/lib/postgresql82
 }
 
-variant with_postgresql83 conflicts with_postgresql82 \
+variant with_postgresql83 conflicts with_postgresql82 with_postgresql84 with_postgresql90 \
     description {support for PostgreSQL 8.3.x} {
-	depends_lib-delete	port:postgresql90
-	depends_lib-delete	--with-pgsql=${prefix}/lib/postgresql90
+        archcheck.files-delete lib/postgresql91/libpq.dylib
+        archcheck.files-append lib/postgresql83/libpq.dylib
+	depends_lib-delete	port:postgresql91
+	depends_lib-delete	--with-pgsql=${prefix}/lib/postgresql91
 	depends_lib-append	port:postgresql83
 	configure.args-append	--with-pgsql=${prefix}/lib/postgresql83
 }
 
-variant with_postgresql84 conflicts with_postgresql82 \
+variant with_postgresql84 conflicts with_postgresql82 with_postgresql83 with_postgresql90 \
     description {support for PostgreSQL 8.4.x} {
-	depends_lib-delete	port:postgresql90
-	depends_lib-delete	--with-pgsql=${prefix}/lib/postgresql90
+        archcheck.files-delete lib/postgresql91/libpq.dylib
+        archcheck.files-append lib/postgresql84/libpq.dylib
+	depends_lib-delete	port:postgresql91
+	depends_lib-delete	--with-pgsql=${prefix}/lib/postgresql91
 	depends_lib-append	port:postgresql84
 	configure.args-append	--with-pgsql=${prefix}/lib/postgresql84
 }
 
+variant with_postgresql90 conflicts with_postgresql82 with_postgresql83 with_postgresql84 \
+    description {support for PostgreSQL 9.0.x} {
+        archcheck.files-delete lib/postgresql91/libpq.dylib
+        archcheck.files-append lib/postgresql90/libpq.dylib
+	depends_lib-delete	port:postgresql91
+	depends_lib-delete	--with-pgsql=${prefix}/lib/postgresql91
+	depends_lib-append	port:postgresql90
+	configure.args-append	--with-pgsql=${prefix}/lib/postgresql90
+}
+
 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/20110919/428c64b6/attachment.html>


More information about the macports-changes mailing list