Revision
76526
Author
vince@macports.org
Date
2011-02-27 00:48:20 -0800 (Sun, 27 Feb 2011)

Log Message

Updates for grass 6.4.0 (latest version)

Modified Paths

Diff

Modified: trunk/dports/gis/gdal-grass/Portfile (76525 => 76526)


--- trunk/dports/gis/gdal-grass/Portfile	2011-02-27 08:34:47 UTC (rev 76525)
+++ trunk/dports/gis/gdal-grass/Portfile	2011-02-27 08:48:20 UTC (rev 76526)
@@ -8,7 +8,7 @@
 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
+long_description			This plugin allows GDAL to read GRASS files
 
 homepage							http://grass.osgeo.org/
 
@@ -19,34 +19,15 @@
 
 master_sites					http://download.osgeo.org/gdal/
 
-checksums							md5     2bfb7640e03b4d9d012f1a5d62c0351d \
-											sha1    63b87ad1688cc365dc6bd6c3ccc854d0e6aa637a \
-											rmd160  60e3866a44d595cbf41368adb1b968387c7852b4
+checksums           md5     2bfb7640e03b4d9d012f1a5d62c0351d \
+                    rmd160  60e3866a44d595cbf41368adb1b968387c7852b4 \
+                    sha1    63b87ad1688cc365dc6bd6c3ccc854d0e6aa637a
 
-
 use_configure					yes
 
 configure.args-append	--with-gdal=${prefix}/bin/gdal-config
-configure.args-append --with-grass=${prefix}
+configure.args-append --with-grass=${prefix}/share/grass-6.4.0
 
-
-										
-# Select Grass version
-
-variant grass64 description "Builds against grass64" {
-	depends_lib-delete		port:grass
-	depends_lib-append		port:grass64
-	
-	configure.args-delete	--with-grass=${prefix}/lib
-	
-	if {[file exists ${applications_dir}/GRASS-6.4.app]} {
-		configure.args-append	\
-			--with-grass=${applications_dir}/GRASS-6.4.app/Contents/MacOS/
-	} else {
-		configure.args-append --with-grass=${prefix}
-	}
-}
-
 post-configure {
 	if {[variant_isset universal]} {
 		# Enforce universal flags