47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.22 2010/01/18 09:58:54 wiz Exp $
|
|
|
|
DISTNAME= gdal-1.6.3
|
|
PKGNAME= gdal-lib-1.6.3
|
|
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
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
#MAKE_JOBS_SAFE= no
|
|
|
|
USE_LANGUAGES= c c++ fortran
|
|
USE_LIBTOOL= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= gmake
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-geos
|
|
CONFIGURE_ARGS+= --with-libz=${BUILDLINK_PREFIX.zlib}/include
|
|
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
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gdal-lib
|
|
PKG_SUPPORTED_OPTIONS= pgsql mysql
|
|
PKG_SUGGESTED_OPTIONS= pgsql
|
|
|
|
.include "options.mk"
|
|
|
|
CHECK_PORTABILITY_SKIP+= mkbindist.sh
|
|
|
|
INSTALLATION_DIRS= bin include lib ${PKGMANDIR}/man1 share/gdal
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
.include "../../geography/geos/buildlink3.mk"
|
|
.include "../../misc/proj/buildlink3.mk"
|
|
.include "../../textproc/xerces-c/buildlink3.mk"
|
|
.include "../../www/curl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|