summaryrefslogtreecommitdiff
path: root/geography/gdal-lib/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-05-02 20:36:33 +0000
committerwiz <wiz@pkgsrc.org>2006-05-02 20:36:33 +0000
commit036d822dac717276ea8e5bd36908874f3657b91e (patch)
tree8bbeb23a56017d88f200f34484514bfdecafafcf /geography/gdal-lib/Makefile
parentcb2a7a7a5b952ba6a33696a94b5c9843ec1b58d1 (diff)
downloadpkgsrc-036d822dac717276ea8e5bd36908874f3657b91e.tar.gz
Initial import of gdal-lib-1.3.1, packaged by David A Price,
Mahesh Chittur, and Brook Milligan in pkgsrc-wip. GDAL is a translator library for raster geospatial data formats that is released under an X/MIT style Open Source license. As a library, it presents a single abstract data model to the calling application for all supported formats. The related OGR library (which lives within the GDAL source tree) provides a similar capability for simple features vector data. It includes roughly 60 format drivers. Current translators include: * GeoTIFF (read/write) * Erdas Imagine (read/write) * ESRI .BIL (read) * .aux labelled raw (read/write) * DTED (read) * SDTS DEM (read) * CEOS (read) * JPEG (read/write) * PNG (read/write) * Geosoft GXF (read) * Arc/Info Binary Grid (read) A full list is available at http://www.remotesensing.org/gdal/formats_list.html
Diffstat (limited to 'geography/gdal-lib/Makefile')
-rw-r--r--geography/gdal-lib/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/geography/gdal-lib/Makefile b/geography/gdal-lib/Makefile
new file mode 100644
index 00000000000..2e01fea8368
--- /dev/null
+++ b/geography/gdal-lib/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/05/02 20:36:33 wiz 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_LIBTOOL= yes
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake
+
+MAKEFILE= 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
+
+.include "../../misc/proj/buildlink3.mk"
+.include "../../geography/geos/buildlink3.mk"
+.include "../../textproc/xerces-c/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"