5 PKGNAME= gdal-lib-1.3.1
7 MASTER_SITES= http://www.gdal.org/dl/
9 MAINTAINER= mchittur@cs.nmsu.edu
10 HOMEPAGE= http://gdal.org/
11 COMMENT= Translator library for raster geospatial data formats
21 PKG_OPTIONS_VAR= PKG_OPTIONS.gdal-lib
22 PKG_SUPPORTED_OPTIONS= pgsql
23 PKG_SUGGESTED_OPTIONS= pgsql
25 .include "../../mk/bsd.options.mk"
27 .if !empty(PKG_OPTIONS:Mpgsql)
28 . include "../../mk/pgsql.buildlink3.mk"
29 CONFIGURE_ARGS+= --with-pg
31 CONFIGURE_ARGS+= --without-pg
34 CONFIGURE_ARGS+= --with-xerces
35 CONFIGURE_ARGS+= --with-xerces-inc=${PREFIX:Q}/include
36 CONFIGURE_ARGS+= --with-xerces-lib=-L${PREFIX:Q}/lib\ -lxerces-c
37 CONFIGURE_ARGS+= --with-geos
38 CONFIGURE_ARGS+= --without-python
40 .include "../../misc/proj/buildlink3.mk"
41 .include "../../geography/geos/buildlink3.mk"
42 .include "../../textproc/xerces-c/buildlink3.mk"
43 .include "../../mk/bsd.pkg.mk"