[23715] trunk/dports/science/gdal/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sat Apr 7 08:13:08 PDT 2007
Revision: 23715
http://trac.macosforge.org/projects/macports/changeset/23715
Author: pipping at macports.org
Date: 2007-04-07 08:13:07 -0700 (Sat, 07 Apr 2007)
Log Message:
-----------
patch maintainer (#11741):
* bump to version 1.4.0
* add multiple variants
* update maintainer address
Modified Paths:
--------------
trunk/dports/science/gdal/Portfile
Modified: trunk/dports/science/gdal/Portfile
===================================================================
--- trunk/dports/science/gdal/Portfile 2007-04-07 14:16:12 UTC (rev 23714)
+++ trunk/dports/science/gdal/Portfile 2007-04-07 15:13:07 UTC (rev 23715)
@@ -1,9 +1,7 @@
-# $Id$
-
PortSystem 1.0
name gdal
-version 1.3.1
-maintainers fulton at cmu.edu
+version 1.4.0
+maintainers seanasy at gmail.com
platforms darwin
description GDAL - Geospatial Data Abstraction Library
long_description GDAL is a translator library for raster geospatial \
@@ -13,29 +11,59 @@
for all supported formats. The related OGR library \
(which lives within the GDAL source tree) provides a \
similar capability for simple features vector data.
-homepage http://www.remotesensing.org/gdal/
-master_sites ftp://ftp.remotesensing.org/pub/gdal/
-categories science
-checksums md5 7ff1ceff745ee011793e1f860c02c172
+homepage http://www.gdal.org/
+master_sites http://www.gdal.org/dl/
+categories science
+checksums md5 a7a35243806f011d329b4f265a1e5fa0
depends_lib port:zlib port:libpng port:tiff port:libgeotiff port:jpeg \
- port:giflib port:sqlite3 port:proj
+ port:giflib port:proj
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 --with-sqlite=${prefix} \
- --mandir=\\\${prefix}/share/man
+ --with-gif=${prefix} --without-pg --without-mysql --without-sqlite \
+ --mandir=${prefix}/share/man --with-static-proj4=${prefix}
+
+# 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 geos {
+ depends_lib-append port:geos
+ configure.args-append --with-geos=${prefix}/bin/geos-config
+}
+
+variant hdf5 {
+ depends_lib-append port:hdf5
+ configure.args-append --with-hdf5=${prefix}
+}
+
+variant postgresql81 {
+ depends_lib-append port:postgresql81
+ configure.args-delete --without-pg
+ configure.args-append --with-pg=${prefix}/lib/postgresql81/bin/pg_config
+}
+
+variant sqlite3 {
+ depends_lib-append port:sqlite3
+ configure.args-delete --without-sqlite
+ configure.args-append --with-sqlite=${prefix}
+}
+
platform darwin 8 {
configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}
build.target
-destroot.destdir prefix=${destroot}${prefix}
-
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} HOWTO-RELEASE NEWS Changelog VERSION \
+ xinstall -m 644 -W ${worksrcpath} HOWTO-RELEASE NEWS VERSION \
${destroot}${prefix}/share/doc/${name}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070407/09ddde37/attachment.html
More information about the macports-changes
mailing list