pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import mdds-1.0.0 as wip/mdds



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Wed Dec 2 14:26:32 2015 +0000
Changeset:	3b985c788866b89cf15a962c50b4b3a1f00e0cef

Added Files:
	mdds/DESCR
	mdds/Makefile
	mdds/PLIST
	mdds/buildlink3.mk
	mdds/distinfo

Log Message:
Import mdds-1.0.0 as wip/mdds

Multi-Dimensional Data Structure (mdds)

A collection of multi-dimensional data structure and indexing algorithm.

It implements the following data structure:

    * flat segment tree
    * segment tree
    * rectangle set

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3b985c788866b89cf15a962c50b4b3a1f00e0cef

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mdds/DESCR         |  9 +++++++++
 mdds/Makefile      | 34 ++++++++++++++++++++++++++++++++++
 mdds/PLIST         | 26 ++++++++++++++++++++++++++
 mdds/buildlink3.mk | 20 ++++++++++++++++++++
 mdds/distinfo      |  6 ++++++
 5 files changed, 95 insertions(+)

diffs:
diff --git a/mdds/DESCR b/mdds/DESCR
new file mode 100644
index 0000000..df5a443
--- /dev/null
+++ b/mdds/DESCR
@@ -0,0 +1,9 @@
+Multi-Dimensional Data Structure (mdds)
+
+A collection of multi-dimensional data structure and indexing algorithm.
+
+It implements the following data structure:
+
+    * flat segment tree
+    * segment tree
+    * rectangle set
diff --git a/mdds/Makefile b/mdds/Makefile
new file mode 100644
index 0000000..aa3f949
--- /dev/null
+++ b/mdds/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.28 2015/08/12 00:45:18 ryoon Exp $
+
+DISTNAME=	mdds_1.0.0
+PKGNAME=	${DISTNAME:S/_/-/}
+CATEGORIES=	devel
+MASTER_SITES= http://kohei.us/files/mdds/src/
+EXTRACT_SUFX=	.tar.bz2
+EXTRACT_USING=	gtar
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://code.google.com/p/multidimalgorithm/
+COMMENT=	Collection of multi-dimensional data structure and indexing algorithms
+LICENSE=	mit
+
+USE_LANGUAGES=		c c++
+GNU_CONFIGURE=		yes
+#NO_BUILD=		yes
+#INSTALLATION_DIRS=		share/pkgconfig
+INSTALLATION_DIRS=include/mdds
+PKGCONFIG_OVERRIDE+=	misc/mdds.pc.in
+
+do-install:
+	for i in ${WRKSRC}/include/mdds/*.hpp; do \
+		${INSTALL_DATA} $$i ${DESTDIR}${PREFIX}/include/mdds; \
+	done
+	for i in ${WRKSRC}/include/mdds/*.inl; do \
+		${INSTALL_DATA} $$i ${DESTDIR}${PREFIX}/include/mdds; \
+	done
+#	${INSTALL_DATA} ${WRKSRC}/misc/mdds.pc ${DESTDIR}${PREFIX}/share/pkgconfig
+
+BUILDLINK_DEPMETHOD.boost-headers?=	build
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mdds/PLIST b/mdds/PLIST
new file mode 100644
index 0000000..587a6ef
--- /dev/null
+++ b/mdds/PLIST
@@ -0,0 +1,26 @@
+@comment $NetBSD$
+include/mdds/default_deleter.hpp
+include/mdds/flat_segment_tree.hpp
+include/mdds/flat_segment_tree_def.inl
+include/mdds/flat_segment_tree_itr.hpp
+include/mdds/global.hpp
+include/mdds/multi_type_matrix.hpp
+include/mdds/multi_type_matrix_def.inl
+include/mdds/multi_type_vector.hpp
+include/mdds/multi_type_vector_custom_func1.hpp
+include/mdds/multi_type_vector_custom_func2.hpp
+include/mdds/multi_type_vector_custom_func3.hpp
+include/mdds/multi_type_vector_def.inl
+include/mdds/multi_type_vector_itr.hpp
+include/mdds/multi_type_vector_macro.hpp
+include/mdds/multi_type_vector_trait.hpp
+include/mdds/multi_type_vector_types.hpp
+include/mdds/node.hpp
+include/mdds/point_quad_tree.hpp
+include/mdds/quad_node.hpp
+include/mdds/rectangle_set.hpp
+include/mdds/rectangle_set_def.inl
+include/mdds/segment_tree.hpp
+include/mdds/segment_tree_def.inl
+include/mdds/sorted_string_map.hpp
+include/mdds/sorted_string_map_def.inl
diff --git a/mdds/buildlink3.mk b/mdds/buildlink3.mk
new file mode 100644
index 0000000..6cca455
--- /dev/null
+++ b/mdds/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD$
+BUILDLINK_TREE+=	mdds
+
+.if !defined(MDDS_BUILDLINK3_MK)
+MDDS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.mdds+=	mdds>=1.0.0
+BUILDLINK_PKGSRCDIR.mdds?=	../../wip/mdds
+
+# XXX
+# XXX Uncomment and keep only the buildlink3 lines below which are directly
+# XXX needed for dependencies to compile, link, and run.  If this package
+# XXX provides a wrappered API or otherwise does not expose the APIs of the
+# XXX buildlink3 lines below to dependencies, remove them.
+# XXX
+#.include "../../devel/boost-headers/buildlink3.mk"
+#.include "../../devel/boost-libs/buildlink3.mk"
+.endif	# MDDS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-mdds
diff --git a/mdds/distinfo b/mdds/distinfo
new file mode 100644
index 0000000..5f787e3
--- /dev/null
+++ b/mdds/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (mdds_1.0.0.tar.bz2) = 07184e0f8912d61227d62a6698ebda53b34afae4
+RMD160 (mdds_1.0.0.tar.bz2) = aa89c35f3f13fa81b7e2aa738803e75aba65ac3d
+SHA512 (mdds_1.0.0.tar.bz2) = 12a77beab99fc26e8376c513a2c95dbee1645ae0765838ff1cadeefeb312b1e5524862461de51ed2e5d900f4166cbe03dd2eea8f1014ce79ae40357d34b65aef
+Size (mdds_1.0.0.tar.bz2) = 166619 bytes


Home | Main Index | Thread Index | Old Index