[95593] trunk/dports/databases/postgis2/Portfile

vince at macports.org vince at macports.org
Tue Jul 17 01:50:09 PDT 2012


Revision: 95593
          https://trac.macports.org/changeset/95593
Author:   vince at macports.org
Date:     2012-07-17 01:50:09 -0700 (Tue, 17 Jul 2012)
Log Message:
-----------
Bump to revision 2.0.1 (and get rid of the SVN stuff)

Revision Links:
--------------
    https://trac.macports.org/changeset/2

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

Modified: trunk/dports/databases/postgis2/Portfile
===================================================================
--- trunk/dports/databases/postgis2/Portfile	2012-07-17 08:46:11 UTC (rev 95592)
+++ trunk/dports/databases/postgis2/Portfile	2012-07-17 08:50:09 UTC (rev 95593)
@@ -7,9 +7,8 @@
 name                postgis2
 categories          databases gis
 license             GPL
-revision            9656
-epoch				0
-version             2.0.1-svn
+epoch				1
+version             2.0.1
 platforms           darwin
 maintainers         vince openmaintainer
 
@@ -24,11 +23,12 @@
 homepage            http://postgis.refractions.net/
 
 master_sites        http://www.postgis.org/download
+distname			postgis-${version}
 
-fetch.type          svn
-svn.revision        ${revision}
-svn.url             http://svn.osgeo.org/postgis/trunk
+checksums           rmd160  2c7e27aaf0b6c071254b77b118ab6d4e9b023c1f \
+        sha256  32d181bbf0e648fe31c95b3dd23f7e4e49094d93cb4278fdf71c8feed4e9593c
 
+
 depends_build       port:autoconf \
                     port:automake \
                     port:libtool
@@ -43,8 +43,6 @@
                     lib/libproj.dylib\
                     lib/libxml2.dylib
 
-worksrcdir          trunk
-
 # PostGIS 2.0 is not compatible with PostGIS 1.5
 
 conflicts           postgis
@@ -52,7 +50,7 @@
 # Neither is PostGIS 2.0 compatible with PostGreSQL 8
 
 variant postgresql90        description {Builds with postgresql 9.0} \
-                            conflicts postgresql91 {
+                            conflicts postgresql91 postgresql92 {
     depends_lib-append      port:postgresql90
     archcheck.files-append  lib/postgresql90/libpq.dylib
     configure.args-append   --libdir=${prefix}/lib/postgresql90\
@@ -62,8 +60,8 @@
 }
 
 variant postgresql91        description {Builds with postgresql 9.1} \
-                            conflicts postgresql90 {
-    depends_lib-append      port:postgresql91
+                            conflicts postgresql90 postgresql92 {
+    depends_lib-append      port:postgresql91 
     archcheck.files-append  lib/postgresql91/libpq.dylib
     configure.args-append   --libdir=${prefix}/lib/postgresql91\
                             --with-pgconfig=${prefix}/lib/postgresql91/bin/pg_config
@@ -71,6 +69,16 @@
                             PGSQL_MANDIR=${destroot}${prefix}/share/man
 }
 
+variant postgresql92        description {Builds with postgresql 9.2} \
+                            conflicts postgresql90 postgresql91 {
+    depends_lib-append      port:postgresql92
+    archcheck.files-append  lib/postgresql92/libpq.dylib
+    configure.args-append   --libdir=${prefix}/lib/postgresql92\
+                            --with-pgconfig=${prefix}/lib/postgresql92/bin/pg_config
+    build.args-append       PGSQL_DOCDIR=${destroot}${prefix}/share/doc/postgresql91\
+                            PGSQL_MANDIR=${destroot}${prefix}/share/man
+}
+
 variant raster              description {Build raster support} {
 
     depends_lib-append      port:gdal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120717/eaf6bd7b/attachment.html>


More information about the macports-changes mailing list