[56714] trunk/dports/databases/postgis/Portfile

raimue at macports.org raimue at macports.org
Tue Sep 1 12:08:06 PDT 2009


Revision: 56714
          http://trac.macports.org/changeset/56714
Author:   raimue at macports.org
Date:     2009-09-01 12:08:01 -0700 (Tue, 01 Sep 2009)
Log Message:
-----------
databases/postgis:
Update to version 1.4.0, #20827

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

Modified: trunk/dports/databases/postgis/Portfile
===================================================================
--- trunk/dports/databases/postgis/Portfile	2009-09-01 18:53:55 UTC (rev 56713)
+++ trunk/dports/databases/postgis/Portfile	2009-09-01 19:08:01 UTC (rev 56714)
@@ -3,8 +3,7 @@
 PortSystem 1.0
 
 name			postgis
-version			1.3.3
-revision		1
+version			1.4.0
 categories		databases
 platforms		darwin
 maintainers		nomaintainer
@@ -20,38 +19,49 @@
 homepage		http://postgis.refractions.net/
 master_sites	http://distfiles.macports.org/${dist_subdir}/ \
 				http://postgis.refractions.net/download/
-checksums		sha1 12b0da709360f67340f88774b70cf3bac65fcc24
-patchfiles		patch-extras-template_gis-postgis_env.sh.in \
-				patch-Makefile.config.in.diff
+checksums   sha1 454d87021c46c9fa4f657819e31a74b8fc75193a
 
 depends_lib		port:geos port:proj port:libiconv
 
 configure.args		--datadir=${prefix}/share/${name} \
 			--with-geos=${prefix}/bin/geos-config \
-			--with-proj=${prefix}
+			--with-projdir=${prefix}
 
 build.args "ICONV_LDFLAGS=\"-L${prefix}/lib -liconv\""
 
 #
-# Default to PostgreSQL 8.3
+# Default to PostgreSQL 8.4
 #
-set default_configure		"--libdir=${prefix}/lib/postgresql83/ --with-pgsql=${prefix}/lib/postgresql83/bin/pg_config"
-set default_depends		port:postgresql83
+set default_configure		"--libdir=${prefix}/lib/postgresql84/ --with-pgconfig=${prefix}/lib/postgresql84/bin/pg_config"
+set default_depends		port:postgresql84
 
 configure.args-append		${default_configure}
 depends_lib-append		${default_depends}
 
-# Support for older PostgreSQL versions
-variant postgresql82 {
-	# Remove the default dependency
+variant postgresql83 {
 	global default_configure
 	global default_depends
 
-	configure.args-delete	$default_configure
-	depends_lib-delete	$default_depends
+	configure.args-delete $default_configure
+	depends_lib-delete  $default_depends
 
-	# Declare the 8.2 dependency
-	depends_lib-append	port:postgresql82
-	configure.args-append	--libdir=${prefix}/lib/postgresql82/ \
+	# Declare the 8.3 dependency
+	depends_lib-append  port:postgresql83
+	configure.args-append --libdir=${prefix}/lib/postgresql83/ \
+				--with-pgsql=${prefix}/lib/postgresql83/bin/pg_config
+}
+
+# Support for older PostgreSQL versions
+variant postgresql82 {
+ 	# Remove the default dependency
+ 	global default_configure
+ 	global default_depends
+
+ 	configure.args-delete $default_configure
+ 	depends_lib-delete  $default_depends
+
+  # Declare the 8.2 dependency
+ 	depends_lib-append  port:postgresql82
+ 	configure.args-append --libdir=${prefix}/lib/postgresql82/ \
 				--with-pgsql=${prefix}/lib/postgresql82/bin/pg_config
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090901/64dde8bb/attachment.html>


More information about the macports-changes mailing list