1 # $NetBSD: Makefile,v 1.22 2010/01/18 09:58:54 wiz Exp $
4 PKGNAME= gdal-lib-1.6.3
7 MASTER_SITES= http://download.osgeo.org/gdal/
9 MAINTAINER= brook@nmsu.edu
10 HOMEPAGE= http://www.gdal.org/
11 COMMENT= Translator library for raster geospatial data formats
13 PKG_DESTDIR_SUPPORT= user-destdir
17 USE_LANGUAGES= c c++ fortran
22 CONFIGURE_ARGS+= --with-geos
23 CONFIGURE_ARGS+= --with-libz=${BUILDLINK_PREFIX.zlib}/include
24 CONFIGURE_ARGS+= --with-xerces
25 CONFIGURE_ARGS+= --with-xerces-inc=${BUILDLINK_PREFIX.xerces-c}/include
26 CONFIGURE_ARGS+= --with-xerces-lib=-L${BUILDLINK_PREFIX.xerces-c}/lib\ -lxerces-c
27 CONFIGURE_ARGS+= --without-python
29 MAKE_FILE= GNUmakefile
31 PKG_OPTIONS_VAR= PKG_OPTIONS.gdal-lib
32 PKG_SUPPORTED_OPTIONS= pgsql mysql
33 PKG_SUGGESTED_OPTIONS= pgsql
37 CHECK_PORTABILITY_SKIP+= mkbindist.sh
39 INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man1 share/gdal
41 .include "../../devel/zlib/buildlink3.mk"
42 .include "../../graphics/tiff/buildlink3.mk"
43 .include "../../geography/geos/buildlink3.mk"
44 .include "../../misc/proj/buildlink3.mk"
45 .include "../../textproc/xerces-c/buildlink3.mk"
46 .include "../../www/curl/buildlink3.mk"
47 .include "../../mk/bsd.pkg.mk"