update Wed Mar 10 06:37:02 PST 2010
[pkgsrc.git] / geography / gdal-lib / Makefile
1 # $NetBSD: Makefile,v 1.25 2010/03/10 11:45:26 adam Exp $
2
3 DISTNAME=       gdal-1.7.1
4 PKGNAME=        gdal-lib-1.7.1
5 CATEGORIES=     geography
6 MASTER_SITES=   http://download.osgeo.org/gdal/
7
8 MAINTAINER=     brook@nmsu.edu
9 HOMEPAGE=       http://www.gdal.org/
10 COMMENT=        Translator library for raster geospatial data formats
11
12 PKG_DESTDIR_SUPPORT=    user-destdir
13
14 USE_LANGUAGES=          c c++ fortran
15 USE_LIBTOOL=            yes
16 USE_PKGLOCALEDIR=       yes
17 USE_TOOLS+=             gmake
18 GNU_CONFIGURE=          yes
19 CONFIGURE_ARGS+=        --with-geos
20 CONFIGURE_ARGS+=        --with-libz=${BUILDLINK_PREFIX.zlib}/include
21 CONFIGURE_ARGS+=        --with-xerces
22 CONFIGURE_ARGS+=        --with-xerces-inc=${BUILDLINK_PREFIX.xerces-c}/include
23 CONFIGURE_ARGS+=        --with-xerces-lib=-L${BUILDLINK_PREFIX.xerces-c}/lib\ -lxerces-c
24 CONFIGURE_ARGS+=        --without-python
25
26 MAKE_FILE=              GNUmakefile
27
28 PKG_OPTIONS_VAR=        PKG_OPTIONS.gdal-lib
29 PKG_SUPPORTED_OPTIONS=  pgsql mysql
30 PKG_SUGGESTED_OPTIONS=  pgsql
31
32 .include "options.mk"
33
34 CHECK_PORTABILITY_SKIP+=        mkbindist.sh
35
36 INSTALLATION_DIRS=      bin include lib ${PKGMANDIR}/man1 share/gdal
37
38 .include "../../devel/zlib/buildlink3.mk"
39 .include "../../geography/geos/buildlink3.mk"
40 .include "../../graphics/jasper/buildlink3.mk"
41 .include "../../graphics/libungif/buildlink3.mk"
42 .include "../../graphics/png/buildlink3.mk"
43 .include "../../graphics/tiff/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"