update Sun Jun 13 18:37:00 PDT 2010
[pkgsrc.git] / geography / gdal-lib / Makefile
1 # $NetBSD: Makefile,v 1.27 2010/06/13 22:44:25 wiz Exp $
2
3 DISTNAME=       gdal-1.7.1
4 PKGNAME=        gdal-lib-1.7.1
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 USE_LANGUAGES=          c c++ fortran
16 USE_LIBTOOL=            yes
17 USE_PKGLOCALEDIR=       yes
18 USE_TOOLS+=             gmake
19 GNU_CONFIGURE=          yes
20 CONFIGURE_ARGS+=        --with-geos
21 CONFIGURE_ARGS+=        --with-libz=${BUILDLINK_PREFIX.zlib}/include
22 CONFIGURE_ARGS+=        --with-xerces
23 CONFIGURE_ARGS+=        --with-xerces-inc=${BUILDLINK_PREFIX.xerces-c}/include
24 CONFIGURE_ARGS+=        --with-xerces-lib=-L${BUILDLINK_PREFIX.xerces-c}/lib\ -lxerces-c
25 CONFIGURE_ARGS+=        --without-python
26
27 MAKE_FILE=              GNUmakefile
28
29 PKG_OPTIONS_VAR=        PKG_OPTIONS.gdal-lib
30 PKG_SUPPORTED_OPTIONS=  pgsql mysql
31 PKG_SUGGESTED_OPTIONS=  pgsql
32
33 .include "options.mk"
34
35 CHECK_PORTABILITY_SKIP+=        mkbindist.sh
36
37 INSTALLATION_DIRS=      bin include lib ${PKGMANDIR}/man1 share/gdal
38
39 .include "../../devel/zlib/buildlink3.mk"
40 .include "../../geography/geos/buildlink3.mk"
41 .include "../../geography/proj/buildlink3.mk"
42 .include "../../graphics/jasper/buildlink3.mk"
43 .include "../../graphics/libungif/buildlink3.mk"
44 .include "../../graphics/png/buildlink3.mk"
45 .include "../../graphics/tiff/buildlink3.mk"
46 .include "../../textproc/xerces-c/buildlink3.mk"
47 .include "../../www/curl/buildlink3.mk"
48 .include "../../mk/bsd.pkg.mk"