[112580] trunk/dports/gis/gdal-grass/Portfile

vince at macports.org vince at macports.org
Sun Oct 27 00:45:31 PDT 2013


Revision: 112580
          https://trac.macports.org/changeset/112580
Author:   vince at macports.org
Date:     2013-10-27 00:45:31 -0700 (Sun, 27 Oct 2013)
Log Message:
-----------
Bump to grass 6.4.3 and transform tabulations to spaces.

Modified Paths:
--------------
    trunk/dports/gis/gdal-grass/Portfile

Modified: trunk/dports/gis/gdal-grass/Portfile
===================================================================
--- trunk/dports/gis/gdal-grass/Portfile	2013-10-27 07:13:38 UTC (rev 112579)
+++ trunk/dports/gis/gdal-grass/Portfile	2013-10-27 07:45:31 UTC (rev 112580)
@@ -1,48 +1,48 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=2:ts=2:sts=2
 # $Id$
 
-PortSystem						1.0
+PortSystem          1.0
 
-name									gdal-grass
-categories						gis
-version								1.4.3
-maintainers						vince
-description						This plugin allows GDAL to read GRASS files
-long_description			This plugin allows GDAL to read GRASS files
+name                gdal-grass
+categories          gis
+version             1.4.3
+maintainers         vince
+description         This plugin allows GDAL to read GRASS files
+long_description    This plugin allows GDAL to read GRASS files
 
-homepage							http://grass.osgeo.org/
+homepage            http://grass.osgeo.org/
 
-platforms							darwin
+platforms           darwin
 
-depends_lib						port:gdal \
-											port:grass
+depends_lib         port:gdal \
+                    port:grass
 
-master_sites					http://download.osgeo.org/gdal/
+master_sites        http://download.osgeo.org/gdal/
 
 checksums           md5     2bfb7640e03b4d9d012f1a5d62c0351d \
                     rmd160  60e3866a44d595cbf41368adb1b968387c7852b4 \
                     sha1    63b87ad1688cc365dc6bd6c3ccc854d0e6aa637a
 
-use_configure					yes
+use_configure       yes
 
-configure.args-append	--with-gdal=${prefix}/bin/gdal-config
-configure.args-append --with-grass=${prefix}/share/grass-6.4.0
+configure.args-append   --with-gdal=${prefix}/bin/gdal-config
+configure.args-append   --with-grass=${prefix}/share/grass-6.4.3
 
 post-configure {
-	if {[variant_isset universal]} {
-		# Enforce universal flags
-		reinplace -E "s|^(CXXFLAGS.*)|\\1 ${configure.universal_cxxflags}|" \
-			${worksrcpath}/Makefile
-		reinplace -E "s|^(LD_SHARED.*)|\\1 ${configure.universal_cxxflags}|" \
-			${worksrcpath}/Makefile
-	}
-			
-	# Fixes destroot issues
-	reinplace -E "s|^(GRASSTABLES_DIR\[^/]*)(.*)|\\1${destroot}\\2|" \
-		${worksrcpath}/Makefile
-	reinplace -E "s|^(AUTOLOAD_DIR\[^/]*)(.*)|\\1${destroot}\\2|" \
-		${worksrcpath}/Makefile
-	reinplace "s|mkdir|mkdir -p|" ${worksrcpath}/Makefile
+    if {[variant_isset universal]} {
+        # Enforce universal flags
+        reinplace -E "s|^(CXXFLAGS.*)|\\1 ${configure.universal_cxxflags}|" \
+            ${worksrcpath}/Makefile
+        reinplace -E "s|^(LD_SHARED.*)|\\1 ${configure.universal_cxxflags}|" \
+            ${worksrcpath}/Makefile
+    }
+            
+    # Fixes destroot issues
+    reinplace -E "s|^(GRASSTABLES_DIR\[^/]*)(.*)|\\1${destroot}\\2|" \
+        ${worksrcpath}/Makefile
+    reinplace -E "s|^(AUTOLOAD_DIR\[^/]*)(.*)|\\1${destroot}\\2|" \
+        ${worksrcpath}/Makefile
+    reinplace "s|mkdir|mkdir -p|" ${worksrcpath}/Makefile
 }
 
-build.target	
+build.target    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131027/0eae40c5/attachment.html>


More information about the macports-changes mailing list