summaryrefslogtreecommitdiff
path: root/geography/gdal-lib/buildlink3.mk
diff options
context:
space:
mode:
authorwiz <wiz>2006-05-02 20:36:33 +0000
committerwiz <wiz>2006-05-02 20:36:33 +0000
commit3df5919859e2e2348c068bf9d3507fda5a19366c (patch)
tree8bbeb23a56017d88f200f34484514bfdecafafcf /geography/gdal-lib/buildlink3.mk
parentcca84e0f66375c411091fd6db1d20eb1f4a6196b (diff)
downloadpkgsrc-3df5919859e2e2348c068bf9d3507fda5a19366c.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/buildlink3.mk')
-rw-r--r--geography/gdal-lib/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
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/+$//}