summaryrefslogtreecommitdiff
path: root/geography/gdal-lib
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
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')
-rw-r--r--geography/gdal-lib/DESCR20
-rw-r--r--geography/gdal-lib/Makefile43
-rw-r--r--geography/gdal-lib/PLIST85
-rw-r--r--geography/gdal-lib/buildlink3.mk18
-rw-r--r--geography/gdal-lib/distinfo7
-rw-r--r--geography/gdal-lib/patches/patch-aa13
-rw-r--r--geography/gdal-lib/patches/patch-ab13
7 files changed, 199 insertions, 0 deletions
diff --git a/geography/gdal-lib/DESCR b/geography/gdal-lib/DESCR
new file mode 100644
index 00000000000..fd093e263ff
--- /dev/null
+++ b/geography/gdal-lib/DESCR
@@ -0,0 +1,20 @@
+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
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"
diff --git a/geography/gdal-lib/PLIST b/geography/gdal-lib/PLIST
new file mode 100644
index 00000000000..c5e07c82bb8
--- /dev/null
+++ b/geography/gdal-lib/PLIST
@@ -0,0 +1,85 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/05/02 20:36:33 wiz Exp $
+bin/gdal-config
+bin/gdal_contour
+bin/gdal_translate
+bin/gdaladdo
+bin/gdalinfo
+bin/gdaltindex
+bin/gdalwarp
+bin/ogr2ogr
+bin/ogrinfo
+bin/ogrtindex
+include/cpl_config.h
+include/cpl_conv.h
+include/cpl_csv.h
+include/cpl_error.h
+include/cpl_list.h
+include/cpl_minixml.h
+include/cpl_multiproc.h
+include/cpl_odbc.h
+include/cpl_port.h
+include/cpl_string.h
+include/cpl_vsi.h
+include/cpl_vsi_private.h
+include/gdal.h
+include/gdal_alg.h
+include/gdal_frmts.h
+include/gdal_pam.h
+include/gdal_priv.h
+include/gdal_rat.h
+include/gdal_version.h
+include/gdaljp2metadata.h
+include/gdalwarper.h
+include/gvgcpfit.h
+include/memdataset.h
+include/ogr_api.h
+include/ogr_core.h
+include/ogr_feature.h
+include/ogr_featurestyle.h
+include/ogr_geometry.h
+include/ogr_p.h
+include/ogr_spatialref.h
+include/ogr_srs_api.h
+include/ogrsf_frmts.h
+include/rawdataset.h
+include/thinplatespline.h
+include/vrtdataset.h
+lib/libgdal.la
+man/man1/gdal-config.1.gz
+man/man1/gdal_contour.1.gz
+man/man1/gdal_merge.py.1.gz
+man/man1/gdal_translate.1.gz
+man/man1/gdal_utilities.1.gz
+man/man1/gdaladdo.1.gz
+man/man1/gdalinfo.1.gz
+man/man1/gdaltindex.1.gz
+man/man1/gdalwarp.1.gz
+man/man1/ogr2ogr.1.gz
+man/man1/ogr_utilities.1.gz
+man/man1/ogrinfo.1.gz
+man/man1/ogrtindex.1.gz
+man/man1/pct2rgb.py.1.gz
+man/man1/rgb2pct.py.1.gz
+share/gdal/cubewerx_extra.wkt
+share/gdal/ecw_cs.dat
+share/gdal/ellipsoid.csv
+share/gdal/epsg.wkt
+share/gdal/esri_extra.wkt
+share/gdal/gcs.csv
+share/gdal/gdal_datum.csv
+share/gdal/gdalicon.png
+share/gdal/pcs.csv
+share/gdal/prime_meridian.csv
+share/gdal/projop_wparm.csv
+share/gdal/s57attributes.csv
+share/gdal/s57attributes_aml.csv
+share/gdal/s57attributes_iw.csv
+share/gdal/s57expectedinput.csv
+share/gdal/s57objectclasses.csv
+share/gdal/s57objectclasses_aml.csv
+share/gdal/s57objectclasses_iw.csv
+share/gdal/seed_2d.dgn
+share/gdal/seed_3d.dgn
+share/gdal/stateplane.csv
+share/gdal/unit_of_measure.csv
+@dirrm share/gdal
diff --git a/geography/gdal-lib/buildlink3.mk b/geography/gdal-lib/buildlink3.mk
new file mode 100644
index 00000000000..4c92a9bc6b7
--- /dev/null
+++ b/geography/gdal-lib/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/05/02 20:36:33 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GDAL_LIB_BUILDLINK3_MK:= ${GDAL_LIB_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gdal-lib
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngdal-lib}
+BUILDLINK_PACKAGES+= gdal-lib
+
+.if !empty(GDAL_LIB_BUILDLINK3_MK:M+)
+BUILDLINK_API_DEPENDS.gdal-lib+= gdal-lib>=1.3.1
+BUILDLINK_PKGSRCDIR.gdal-lib?= ../../wip/gdal-lib
+.endif # GDAL_LIB_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/geography/gdal-lib/distinfo b/geography/gdal-lib/distinfo
new file mode 100644
index 00000000000..03f4db2f412
--- /dev/null
+++ b/geography/gdal-lib/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/05/02 20:36:33 wiz Exp $
+
+SHA1 (gdal-1.3.1.tar.gz) = 2783c4c0d2a83a34f4c5c6a8efe41e816ba396fb
+RMD160 (gdal-1.3.1.tar.gz) = 5967608e6e1c9f0af8698fcffb58eab4dcdd518d
+Size (gdal-1.3.1.tar.gz) = 6856011 bytes
+SHA1 (patch-aa) = c8fd8c0749d2ef10a630e0c688f0696970ce1ff3
+SHA1 (patch-ab) = 207f2aede8d0a7a2c7d89d45675745c81a812307
diff --git a/geography/gdal-lib/patches/patch-aa b/geography/gdal-lib/patches/patch-aa
new file mode 100644
index 00000000000..f891b48f9d2
--- /dev/null
+++ b/geography/gdal-lib/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/05/02 20:36:33 wiz Exp $
+
+--- GDALmake.opt.in.orig 2005-12-30 22:14:55.000000000 +0000
++++ GDALmake.opt.in
+@@ -34,7 +34,7 @@ C_DBGFLAGS = -g -DDEBUG
+ CXX_PROFFLAGS = -g3 -pg -DDEBUG
+ C_PROFFLAGS = -g3 -pg -DDEBUG
+
+-LIBS = @LIBS@
++LIBS = @LIBS@ -lcompat
+
+ PYTHON_INCLUDES = @PYTHON_INCLUDES@
+ PYTHON_LIBS = @PYTHON_LIBS@
diff --git a/geography/gdal-lib/patches/patch-ab b/geography/gdal-lib/patches/patch-ab
new file mode 100644
index 00000000000..d9b8ead49c9
--- /dev/null
+++ b/geography/gdal-lib/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/05/02 20:36:33 wiz Exp $
+
+--- ogr/GNUmakefile.orig 2005-12-30 22:09:11.000000000 +0000
++++ ogr/GNUmakefile
+@@ -16,7 +16,7 @@ CPPFLAGS := -Iogrsf_frmts -I. $(GDAL_INC
+
+ default: lib apps
+
+-all: sublibs apps test_ogrsf$(EXE) docs
++all: sublibs apps test_ogrsf$(EXE)
+
+ ifeq ($(OGR_ENABLED),yes)
+