update Mon Jan 18 06:37:00 PST 2010
[pkgsrc.git] / geography / gdal-lib / Makefile
1 # $NetBSD: Makefile,v 1.22 2010/01/18 09:58:54 wiz Exp $
2
3 DISTNAME=       gdal-1.6.3
4 PKGNAME=        gdal-lib-1.6.3
5 PKGREVISION=    1
6 CATEGORIES=     geography
7 MASTER_SITES=   http://download.osgeo.org/gdal/
8
9 MAINTAINER=     brook@nmsu.edu
10 HOMEPAGE=       http://www.gdal.org/
11 COMMENT=        Translator library for raster geospatial data formats
12
13 PKG_DESTDIR_SUPPORT=    user-destdir
14
15 #MAKE_JOBS_SAFE=                no
16
17 USE_LANGUAGES=          c c++ fortran
18 USE_LIBTOOL=            yes
19 USE_PKGLOCALEDIR=       yes
20 USE_TOOLS+=             gmake
21 GNU_CONFIGURE=          yes
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
28
29 MAKE_FILE=              GNUmakefile
30
31 PKG_OPTIONS_VAR=        PKG_OPTIONS.gdal-lib
32 PKG_SUPPORTED_OPTIONS=  pgsql mysql
33 PKG_SUGGESTED_OPTIONS=  pgsql
34
35 .include "options.mk"
36
37 CHECK_PORTABILITY_SKIP+=        mkbindist.sh
38
39 INSTALLATION_DIRS=      bin include lib ${PKGMANDIR}/man1 share/gdal
40
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"