[37931] trunk/dports/science/gdal/Portfile

landonf at macports.org landonf at macports.org
Sun Jun 29 16:39:29 PDT 2008


Revision: 37931
          http://trac.macosforge.org/projects/macports/changeset/37931
Author:   landonf at macports.org
Date:     2008-06-29 16:39:29 -0700 (Sun, 29 Jun 2008)
Log Message:
-----------
Update gdal to 1.5.0
Submitted by: seanasy (at) gmail.com
Ticket: #13796

Modified Paths:
--------------
    trunk/dports/science/gdal/Portfile

Modified: trunk/dports/science/gdal/Portfile
===================================================================
--- trunk/dports/science/gdal/Portfile	2008-06-29 22:30:43 UTC (rev 37930)
+++ trunk/dports/science/gdal/Portfile	2008-06-29 23:39:29 UTC (rev 37931)
@@ -2,7 +2,7 @@
 
 PortSystem 1.0
 name		gdal
-version		1.4.1
+version		1.5.0
 maintainers	seanasy at gmail.com
 platforms	darwin
 description	GDAL - Geospatial Data Abstraction Library
@@ -16,7 +16,7 @@
 homepage	http://www.gdal.org/
 master_sites	http://www.gdal.org/dl/
 categories		science
-checksums		md5 688cf651c6f6efc2851b12f2e9c2e0d1
+checksums		md5 ffbb024db521a002018cb5666bd6e60d
 
 depends_lib	port:zlib port:libpng port:tiff port:libgeotiff port:jpeg \
 			port:giflib port:proj
@@ -24,18 +24,27 @@
 configure.args	--without-python --with-libz=${prefix} --with-png=${prefix} \
 	--with-libtiff=${prefix} --with-geotiff=${prefix} --with-jpeg=${prefix} \
 	--with-gif=${prefix} --without-pg --without-mysql --without-sqlite \
-	--mandir=${prefix}/share/man --with-static-proj4=${prefix}
+	--mandir=${prefix}/share/man --with-static-proj4=${prefix} --without-macosx-framework
 
+# Set target to none
+build.target
 
-# Python bindings have issues and aren't working in this port yet
-#variant python {
-#	depends_lib-append		port:python24
-#	configure.args-delete	--without-python
-#	configure.args-append	--with-ngpython PYTHON=${prefix}/bin/python
-#											PYTHON_LIBS="-L${prefix}/lib/python2.4/config -lpython2.4" \
-#											PYTHON_INCLUDES="-I${prefix}/include/python2.4"
-#}
+variant python24 {
+	depends_lib-append		port:python24
+	configure.args-append	--with-ngpython PYTHON=${prefix}/bin/python2.4 \
+											PYTHON_LIBS="-L${prefix}/lib/python2.4/config -lpython2.4" \
+											PYTHON_INCLUDES="-I${prefix}/include/python2.4" \
+							--with-pymoddir="${prefix}/lib/python2.4/site-packages"
+}
 
+variant python25 {
+	depends_lib-append		port:python25
+	configure.args-append	--with-ngpython PYTHON=${prefix}/bin/python2.5 \
+											PYTHON_LIBS="-L${prefix}/lib/python2.5/config -lpython2.5" \
+											PYTHON_INCLUDES="-I${prefix}/include/python2.5" \
+							--with-pymoddir="${prefix}/lib/python2.5/site-packages"
+}
+
 variant geos {
 	depends_lib-append		port:geos
 	configure.args-append	--with-geos=${prefix}/bin/geos-config
@@ -52,13 +61,21 @@
 	configure.args-append	--with-pg=${prefix}/lib/postgresql81/bin/pg_config
 }
 
+variant postgresql82 {
+	depends_lib-append		port:postgresql82
+	configure.args-delete	--without-pg
+	configure.args-append	--with-pg=${prefix}/lib/postgresql82/bin/pg_config
+}
+
 variant sqlite3 {
 	depends_lib-append		port:sqlite3
 	configure.args-delete	--without-sqlite
 	configure.args-append	--with-sqlite=${prefix}
 }
 
-build.target
+variant framework {
+	configure.args-append	--with-macosx-framework
+}
 
 post-destroot {
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080629/6c59ab52/attachment.html 


More information about the macports-changes mailing list