From 250d1ad06944075c7ac9c545962f989ef6aa5451 Mon Sep 17 00:00:00 2001 From: landry <landry@openbsd.org> Date: Wed, 20 Mar 2013 21:47:34 +0000 Subject: [PATCH] Import spatialindex 1.8.0, needed by upcoming QGis 1.8.0. The purpose of this library is to provide: * An extensible framework that will support robust spatial indexing methods. * Support for sophisticated spatial queries. Range, point location, nearest neighbor and k-nearest neighbor as well as parametric queries (defined by spatial constraints) should be easy to deploy and run. * Easy to use interfaces for inserting, deleting and updating information. * Wide variety of customization capabilities. Basic index and storage characteristics like the page size, node capacity, minimum fan-out, splitting algorithm, etc. should be easy to customize. * Index persistence. Internal memory and external memory structures should be supported. Clustered and non-clustered indices should be easy to be persisted. ok ajacoutot@ --- geo/spatialindex/Makefile | 21 +++++++++++++++++++ geo/spatialindex/distinfo | 2 ++ geo/spatialindex/pkg/DESCR | 14 +++++++++++++ geo/spatialindex/pkg/PLIST | 42 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 79 insertions(+) create mode 100644 geo/spatialindex/Makefile create mode 100644 geo/spatialindex/distinfo create mode 100644 geo/spatialindex/pkg/DESCR create mode 100644 geo/spatialindex/pkg/PLIST diff --git a/geo/spatialindex/Makefile b/geo/spatialindex/Makefile new file mode 100644 index 00000000000..58bb59d5280 --- /dev/null +++ b/geo/spatialindex/Makefile @@ -0,0 +1,21 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2013/03/20 21:47:34 landry Exp $ + +COMMENT = library for spatial indexing and querying +DISTNAME= spatialindex-src-1.8.0 +PKGNAME = ${DISTNAME:S/-src//} +CATEGORIES = geo +SHARED_LIBS = spatialindex 0.0 \ + spatialindex_c 0.0 #3.0 + +# MIT +PERMIT_PACKAGE_CDROM = Yes + +HOMEPAGE = http://libspatialindex.github.com/ +MASTER_SITES = http://download.osgeo.org/libspatialindex/ + +USE_LIBTOOL = Yes + +CONFIGURE_STYLE = gnu +WANTLIB = m pthread stdc++ + +.include <bsd.port.mk> diff --git a/geo/spatialindex/distinfo b/geo/spatialindex/distinfo new file mode 100644 index 00000000000..44319d53b84 --- /dev/null +++ b/geo/spatialindex/distinfo @@ -0,0 +1,2 @@ +SHA256 (spatialindex-src-1.8.0.tar.gz) = okOO42Dm+DlfGIINLY13SSGJzhk4If96nwhoyupOt9I= +SIZE (spatialindex-src-1.8.0.tar.gz) = 542374 diff --git a/geo/spatialindex/pkg/DESCR b/geo/spatialindex/pkg/DESCR new file mode 100644 index 00000000000..722774d261a --- /dev/null +++ b/geo/spatialindex/pkg/DESCR @@ -0,0 +1,14 @@ +The purpose of this library is to provide: +* An extensible framework that will support robust spatial indexing + methods. +* Support for sophisticated spatial queries. Range, point location, + nearest neighbor and k-nearest neighbor as well as parametric queries + (defined by spatial constraints) should be easy to deploy and run. +* Easy to use interfaces for inserting, deleting and updating + information. +* Wide variety of customization capabilities. Basic index and storage + characteristics like the page size, node capacity, minimum fan-out, + splitting algorithm, etc. should be easy to customize. +* Index persistence. Internal memory and external memory structures + should be supported. Clustered and non-clustered indices should be + easy to be persisted. diff --git a/geo/spatialindex/pkg/PLIST b/geo/spatialindex/pkg/PLIST new file mode 100644 index 00000000000..ad1e13e14b2 --- /dev/null +++ b/geo/spatialindex/pkg/PLIST @@ -0,0 +1,42 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2013/03/20 21:47:34 landry Exp $ +include/spatialindex/ +include/spatialindex/LineSegment.h +include/spatialindex/MVRTree.h +include/spatialindex/MovingPoint.h +include/spatialindex/MovingRegion.h +include/spatialindex/Point.h +include/spatialindex/RTree.h +include/spatialindex/Region.h +include/spatialindex/SpatialIndex.h +include/spatialindex/TPRTree.h +include/spatialindex/TimePoint.h +include/spatialindex/TimeRegion.h +include/spatialindex/Version.h +include/spatialindex/capi/ +include/spatialindex/capi/BoundsQuery.h +include/spatialindex/capi/CountVisitor.h +include/spatialindex/capi/CustomStorage.h +include/spatialindex/capi/DataStream.h +include/spatialindex/capi/Error.h +include/spatialindex/capi/IdVisitor.h +include/spatialindex/capi/Index.h +include/spatialindex/capi/LeafQuery.h +include/spatialindex/capi/ObjVisitor.h +include/spatialindex/capi/Utility.h +include/spatialindex/capi/sidx_api.h +include/spatialindex/capi/sidx_config.h +include/spatialindex/capi/sidx_impl.h +include/spatialindex/tools/ +include/spatialindex/tools/PointerPool.h +include/spatialindex/tools/PoolPointer.h +include/spatialindex/tools/SmartPointer.h +include/spatialindex/tools/Tools.h +include/spatialindex/tools/rand48.h +lib/libspatialindex.a +lib/libspatialindex.la +@lib lib/libspatialindex.so.${LIBspatialindex_VERSION} +lib/libspatialindex_c.a +lib/libspatialindex_c.la +@lib lib/libspatialindex_c.so.${LIBspatialindex_c_VERSION} +lib/pkgconfig/ +lib/pkgconfig/libspatialindex.pc