pkgsrc-wip/gdal-lib/Makefile
Brook Milligan 75326e20b8 Revert to v1.3.1 until all the issues with the upgrade are resolved.
Leave @comment lines in the PLIST for changed files to make the eventual
upgrade easier.
2006-11-01 22:09:03 +00:00

52 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.17 2006/11/01 22:09:03 brook1 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++ fortran
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
MAKE_FILE= GNUmakefile
PKG_OPTIONS_VAR= PKG_OPTIONS.gdal-lib
PKG_SUPPORTED_OPTIONS= pgsql mysql
PKG_SUGGESTED_OPTIONS= pgsql mysql
.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
.if !empty(PKG_OPTIONS:Mmysql)
. include "../../mk/mysql.buildlink3.mk"
CONFIGURE_ARGS+= --with-mysql
.else
CONFIGURE_ARGS+= --without-mysql
.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
.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"