svn commit: r467527 - in head/math: . intervaltree
Jason W. Bacon
jwb at FreeBSD.org
Mon Apr 16 18:55:56 UTC 2018
Author: jwb
Date: Mon Apr 16 18:55:55 2018
New Revision: 467527
URL: https://svnweb.freebsd.org/changeset/ports/467527
Log:
math/intervaltree: Minimal C++ interval tree implementation
Approved by: jrm (mentor)
Differential Revision: https://reviews.freebsd.org/D15105
Added:
head/math/intervaltree/
head/math/intervaltree/Makefile (contents, props changed)
head/math/intervaltree/distinfo (contents, props changed)
head/math/intervaltree/pkg-descr (contents, props changed)
Modified:
head/math/Makefile
Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile Mon Apr 16 18:34:38 2018 (r467526)
+++ head/math/Makefile Mon Apr 16 18:55:55 2018 (r467527)
@@ -263,6 +263,7 @@
SUBDIR += hs-statistics
SUBDIR += hs-vector-space
SUBDIR += igraph
+ SUBDIR += intervaltree
SUBDIR += ipopt
SUBDIR += ised
SUBDIR += jacal
Added: head/math/intervaltree/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/intervaltree/Makefile Mon Apr 16 18:55:55 2018 (r467527)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= intervaltree
+DISTVERSION= g20151213
+CATEGORIES= wip math
+
+MAINTAINER= jwb at FreeBSD.org
+COMMENT= Minimal C++ interval tree implementation
+
+LICENSE= MIT
+
+USE_GITHUB= yes
+GH_ACCOUNT= ekg
+GH_TAGNAME= 8fc4be91866237995e1105689d84bece619f4663
+
+INSTALL_TARGET= install-strip
+PLIST_FILES= bin/interval_tree_test include/${PORTNAME}/IntervalTree.h
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == i386
+post-patch:
+ ${REINPLACE_CMD} -e 's|<bool, unsigned long>|<bool, unsigned int>|g' \
+ ${WRKSRC}/interval_tree_test.cpp
+.endif
+
+.include <bsd.port.post.mk>
Added: head/math/intervaltree/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/intervaltree/distinfo Mon Apr 16 18:55:55 2018 (r467527)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1523601658
+SHA256 (ekg-intervaltree-g20151213-8fc4be91866237995e1105689d84bece619f4663_GH0.tar.gz) = 126f0d0d313e43cd32a07b3a2e573112f4a0e69f5d1618fa38185b93c0f6a696
+SIZE (ekg-intervaltree-g20151213-8fc4be91866237995e1105689d84bece619f4663_GH0.tar.gz) = 71387
Added: head/math/intervaltree/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/intervaltree/pkg-descr Mon Apr 16 18:55:55 2018 (r467527)
@@ -0,0 +1,6 @@
+An interval tree can be used to efficiently find a set of numeric intervals
+overlapping or containing another interval. This library provides a basic
+implementation of an interval tree using C++ templates, allowing the insertion
+of arbitrary types into the tree.
+
+WWW: https://github.com/ekg/intervaltree
More information about the svn-ports-all
mailing list