blob: 98ce6bdb78da49b2b0f79ea57faa40e54399f03f (
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
|
# $NetBSD: Makefile,v 1.5 2006/10/24 09:00:02 rillig Exp $
#
DISTNAME= gdal-1.3.1
PKGNAME= gdal-lib-1.3.1
CATEGORIES= geography
MASTER_SITES= http://www.gdal.org/dl/
MAINTAINER= mchittur@cs.nmsu.edu
HOMEPAGE= http://gdal.org/
COMMENT= Translator library for raster geospatial data formats
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
MAKE_FILE= GNUmakefile
PKG_OPTIONS_VAR= PKG_OPTIONS.gdal-lib
PKG_SUPPORTED_OPTIONS= pgsql
PKG_SUGGESTED_OPTIONS= pgsql
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mpgsql)
. include "../../mk/pgsql.buildlink3.mk"
CONFIGURE_ARGS+= --with-pg
.else
CONFIGURE_ARGS+= --without-pg
.endif
CONFIGURE_ARGS+= --with-xerces
CONFIGURE_ARGS+= --with-xerces-inc=${PREFIX:Q}/include
CONFIGURE_ARGS+= --with-xerces-lib=-L${PREFIX:Q}/lib\ -lxerces-c
CONFIGURE_ARGS+= --with-geos
CONFIGURE_ARGS+= --without-python
CHECK_PORTABILITY_SKIP+= mkbindist.sh
.include "../../devel/zlib/buildlink3.mk"
.include "../../misc/proj/buildlink3.mk"
.include "../../geography/geos/buildlink3.mk"
.include "../../textproc/xerces-c/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|