2012-06-02 18:31:29 +02:00
|
|
|
# $NetBSD: Makefile,v 1.46 2012/06/02 16:31:29 drochner Exp $
|
2006-05-02 22:36:33 +02:00
|
|
|
|
2012-06-02 18:31:29 +02:00
|
|
|
VERSION= 1.9.1
|
2012-01-24 16:24:49 +01:00
|
|
|
DISTNAME= gdal-${VERSION}
|
|
|
|
PKGNAME= gdal-lib-${VERSION}
|
2010-01-18 10:36:09 +01:00
|
|
|
CATEGORIES= geography
|
|
|
|
MASTER_SITES= http://download.osgeo.org/gdal/
|
2006-05-02 22:36:33 +02:00
|
|
|
|
2010-01-18 10:36:09 +01:00
|
|
|
MAINTAINER= brook@nmsu.edu
|
|
|
|
HOMEPAGE= http://www.gdal.org/
|
|
|
|
COMMENT= Translator library for raster geospatial data formats
|
2010-08-27 13:14:23 +02:00
|
|
|
LICENSE= mit
|
2006-05-02 22:36:33 +02:00
|
|
|
|
2012-01-25 22:28:14 +01:00
|
|
|
# There is mysterious failure to find gdal_version.h, even though it
|
|
|
|
# is not a generated file, apparently caused by an odd make path that
|
|
|
|
# fails to use the right includes.
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2007-08-16 02:42:20 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2010-12-27 08:53:50 +01:00
|
|
|
USE_LANGUAGES= c c++ fortran77
|
2006-05-02 22:36:33 +02:00
|
|
|
USE_LIBTOOL= yes
|
2010-01-18 10:36:09 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2006-05-02 22:36:33 +02:00
|
|
|
USE_TOOLS+= gmake
|
2010-01-18 10:36:09 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-geos
|
Changes 1.9.0:
* New GDAL drivers: ACE2, CTG, E00GRID, ECRGTOC, GRASSASCIIGrid, GTA, NGSGEOID,
SNODAS, WebP, ZMap
* New OGR drivers: ARCGEN, CouchDB, DWG, EDIGEO, FileGDB, Geomedia, GFT,
IDRISI, MDB, SEGUKOOA, SEGY, SVG, XLS
* Significantly improved drivers: NetCDF
* Encoding support for shapefile/dbf
* RFC 35: Delete, reorder and alter field definitions of OGR layers
* RFC 37: Add mechanism to provide user data to CPLErrorHandler
* gdalsrsinfo: new supported utility to report SRS in various form
(supercedes testepsg)
2012-03-07 17:17:04 +01:00
|
|
|
CONFIGURE_ARGS+= --with-libtiff=${BUILDLINK_PREFIX.tiff}
|
2010-01-18 10:36:09 +01:00
|
|
|
CONFIGURE_ARGS+= --with-libz=${BUILDLINK_PREFIX.zlib}/include
|
Changes 1.9.0:
* New GDAL drivers: ACE2, CTG, E00GRID, ECRGTOC, GRASSASCIIGrid, GTA, NGSGEOID,
SNODAS, WebP, ZMap
* New OGR drivers: ARCGEN, CouchDB, DWG, EDIGEO, FileGDB, Geomedia, GFT,
IDRISI, MDB, SEGUKOOA, SEGY, SVG, XLS
* Significantly improved drivers: NetCDF
* Encoding support for shapefile/dbf
* RFC 35: Delete, reorder and alter field definitions of OGR layers
* RFC 37: Add mechanism to provide user data to CPLErrorHandler
* gdalsrsinfo: new supported utility to report SRS in various form
(supercedes testepsg)
2012-03-07 17:17:04 +01:00
|
|
|
CONFIGURE_ARGS+= --with-netcdf=${BUILDLINK_PREFIX.netcdf}
|
2010-01-18 10:36:09 +01:00
|
|
|
CONFIGURE_ARGS+= --with-xerces
|
|
|
|
CONFIGURE_ARGS+= --with-xerces-inc=${BUILDLINK_PREFIX.xerces-c}/include
|
|
|
|
CONFIGURE_ARGS+= --with-xerces-lib=-L${BUILDLINK_PREFIX.xerces-c}/lib\ -lxerces-c
|
|
|
|
CONFIGURE_ARGS+= --without-python
|
2006-05-02 22:36:33 +02:00
|
|
|
|
2006-09-09 04:41:53 +02:00
|
|
|
MAKE_FILE= GNUmakefile
|
2006-05-02 22:36:33 +02:00
|
|
|
|
2010-01-18 10:36:09 +01:00
|
|
|
.include "options.mk"
|
2006-05-02 22:36:33 +02:00
|
|
|
|
2006-10-24 11:00:02 +02:00
|
|
|
CHECK_PORTABILITY_SKIP+= mkbindist.sh
|
|
|
|
|
2010-01-18 10:36:09 +01:00
|
|
|
INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man1 share/gdal
|
2007-08-16 02:42:20 +02:00
|
|
|
|
Changes 1.9.0:
* New GDAL drivers: ACE2, CTG, E00GRID, ECRGTOC, GRASSASCIIGrid, GTA, NGSGEOID,
SNODAS, WebP, ZMap
* New OGR drivers: ARCGEN, CouchDB, DWG, EDIGEO, FileGDB, Geomedia, GFT,
IDRISI, MDB, SEGUKOOA, SEGY, SVG, XLS
* Significantly improved drivers: NetCDF
* Encoding support for shapefile/dbf
* RFC 35: Delete, reorder and alter field definitions of OGR layers
* RFC 37: Add mechanism to provide user data to CPLErrorHandler
* gdalsrsinfo: new supported utility to report SRS in various form
(supercedes testepsg)
2012-03-07 17:17:04 +01:00
|
|
|
.include "../../devel/netcdf/buildlink3.mk"
|
2006-06-11 22:42:49 +02:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2006-05-02 22:36:33 +02:00
|
|
|
.include "../../geography/geos/buildlink3.mk"
|
2010-03-14 17:32:15 +01:00
|
|
|
.include "../../geography/proj/buildlink3.mk"
|
2010-01-26 09:26:11 +01:00
|
|
|
.include "../../graphics/jasper/buildlink3.mk"
|
2011-03-09 17:29:23 +01:00
|
|
|
.include "../../mk/giflib.buildlink3.mk"
|
2010-01-26 09:26:11 +01:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
Changes 1.9.0:
* New GDAL drivers: ACE2, CTG, E00GRID, ECRGTOC, GRASSASCIIGrid, GTA, NGSGEOID,
SNODAS, WebP, ZMap
* New OGR drivers: ARCGEN, CouchDB, DWG, EDIGEO, FileGDB, Geomedia, GFT,
IDRISI, MDB, SEGUKOOA, SEGY, SVG, XLS
* Significantly improved drivers: NetCDF
* Encoding support for shapefile/dbf
* RFC 35: Delete, reorder and alter field definitions of OGR layers
* RFC 37: Add mechanism to provide user data to CPLErrorHandler
* gdalsrsinfo: new supported utility to report SRS in various form
(supercedes testepsg)
2012-03-07 17:17:04 +01:00
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
2006-05-02 22:36:33 +02:00
|
|
|
.include "../../textproc/xerces-c/buildlink3.mk"
|
Update to 1.4.0, supplied by Brook Milligan in PR 35752.
The package now has a mysql option in addition to the default pgsql.
GDAL/OGR 1.4.0 - General Changes
--------------------------------
Perl Bindings:
- Added doxygen based documentation.
NG Python Bindings:
- Implemented numpy support.
CSharp Bindings:
- Now mostly operational.
WinCE Porting:
- CPL
- base OGR, OSR and mitab and shape drivers.
- GDAL, including GeoTIFF, DTED, AAIGrid drivers
- Added test suite (gdalautotest/cpp)
Mac OSX Port:
- Added framework support (--with-macosx-framework)
GDAL 1.4.0 - Overview Of Changes
--------------------------------
WCS Driver:
- New
PDS (Planetary Data Set) Driver:
- New
ISIS (Mars Qubes) Driver:
- New
HFA (.img) Driver:
- Support reading ProjectionX PE strings.
- Support producing .aux files with statistics.
- Fix serious bugs with u1, u2 and u4 compressed data.
NITF Driver:
- Added BLOCKA reading support.
- Added ICORDS='D'
- Added jpeg compression support (readonly)
- Support multiple images as subdatasets.
- Support CGM data (as metadata)
AIGrid Driver:
- Use VSI*L API (large files, in memory, etc)
- Support upper case filenames.
- Support .clr file above coverage.
HDF4 Driver:
- Added support for access to geolocation arrays (see RFC 4).
- External raw raster bands supported.
PCIDSK (.pix) Driver:
- Support METER/FEET as LOCAL_CS.
- Fix serious byte swapping error on creation.
BMP Driver:
- Various fixes, including 16bit combinations, and non-intel byte swapping.
GeoTIFF Driver:
- Fixed in place update for LZW and Deflated compressed images.
JP2KAK (JPEG2000) Driver:
- Added support for reading and writing gmljp2 headers.
- Read xml boxes as metadata.
- Accelerate YCbCr handling.
JP2MrSID (JPEG2000) Driver:
- Added support for reading gmljp2 headers.
EHDR (ESRI BIL) Driver:
- Support 1-7 bit data.
- Added statistics support.
OGR 1.4.0 - Overview of Changes
-------------------------------
OGR SQL:
- RFC 6: Added support for SQL/attribute filter access to geometry, and
style strings.
OGRSpatialReference:
- Support for OGC SRS URNs.
- Support for +wktext/EXTENSION stuff for preserving PROJ.4 string in WKT.
- Added Two Point Equidistant projection.
- Added Krovak projection.
- Updated support files to EPSG 6.11.
OGRCoordinateTransformation:
- Support source and destination longitude wrapping control.
OGRFeatureStyle:
- Various extensions and improvements.
INFORMIX Driver:
- New
KML Driver:
- New (write only)
E00 Driver:
- New (read only)
- Polygon (PAL) likely not working properly.
Postgres/PostGIS Driver:
- Updated to support new EWKB results (PostGIS 1.1?)
- Fixed serious bug with writing SRSes.
- Added schema support.
GML Driver:
- Strip namespaces off field names.
- Handle very large geometries gracefully.
ODBC Driver:
- Added support for spatial_ref_sys table.
SDE Driver:
- Added logic to speed things up while actually detecting layer geometry types
PGeo Driver:
- Added support for MDB Tools ODBC driver on linux/unix.
VRT Driver:
- Added useSpatialSubquery support.
2007-02-23 23:22:38 +01:00
|
|
|
.include "../../www/curl/buildlink3.mk"
|
2006-05-02 22:36:33 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|