blob: 265d2aeece630541d69e9f4d2ba3e9b9be71f4ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# $NetBSD: Makefile,v 1.45 2012/04/27 12:31:48 obache Exp $
VERSION= 1.9.0
DISTNAME= gdal-${VERSION}
PKGNAME= gdal-lib-${VERSION}
PKGREVISION= 1
CATEGORIES= geography
MASTER_SITES= http://download.osgeo.org/gdal/
MAINTAINER= brook@nmsu.edu
HOMEPAGE= http://www.gdal.org/
COMMENT= Translator library for raster geospatial data formats
LICENSE= mit
# 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
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++ fortran77
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-geos
CONFIGURE_ARGS+= --with-libtiff=${BUILDLINK_PREFIX.tiff}
CONFIGURE_ARGS+= --with-libz=${BUILDLINK_PREFIX.zlib}/include
CONFIGURE_ARGS+= --with-netcdf=${BUILDLINK_PREFIX.netcdf}
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
MAKE_FILE= GNUmakefile
.include "options.mk"
CHECK_PORTABILITY_SKIP+= mkbindist.sh
INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man1 share/gdal
.include "../../devel/netcdf/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../geography/geos/buildlink3.mk"
.include "../../geography/proj/buildlink3.mk"
.include "../../graphics/jasper/buildlink3.mk"
.include "../../mk/giflib.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../textproc/xerces-c/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|