Date: Thu, 4 Oct 2018 03:53:56 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r481201 - in head/math: . nanoflann Message-ID: <201810040353.w943ru7e041657@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Thu Oct 4 03:53:55 2018 New Revision: 481201 URL: https://svnweb.freebsd.org/changeset/ports/481201 Log: New port: math/nanoflann: Header-only library for Nearest Neighbor (NN) search with KD-trees Added: head/math/nanoflann/ head/math/nanoflann/Makefile (contents, props changed) head/math/nanoflann/distinfo (contents, props changed) head/math/nanoflann/pkg-descr (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Thu Oct 4 03:45:42 2018 (r481200) +++ head/math/Makefile Thu Oct 4 03:53:55 2018 (r481201) @@ -363,6 +363,7 @@ SUBDIR += mumps-edf SUBDIR += mumps-mpich SUBDIR += muparser + SUBDIR += nanoflann SUBDIR += naturalmath SUBDIR += nauty SUBDIR += ndiff Added: head/math/nanoflann/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/nanoflann/Makefile Thu Oct 4 03:53:55 2018 (r481201) @@ -0,0 +1,40 @@ +# $FreeBSD$ + +PORTNAME= nanoflann +DISTVERSIONPREFIX= v +DISTVERSION= 1.3.0 +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Header-only library for Nearest Neighbor (NN) search with KD-trees + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= cmake:outsource +USE_GITHUB= yes +GH_ACCOUNT= jlblancoc + +CMAKE_OFF= BUILD_EXAMPLES BUILD_TESTS + +NO_ARCH= yes + +PLIST_FILES= include/nanoflann.hpp \ + lib/cmake/nanoflann/nanoflannConfig.cmake \ + lib/cmake/nanoflann/nanoflannConfigVersion.cmake \ + lib/cmake/nanoflann/nanoflannTargets.cmake \ + libdata/pkgconfig/nanoflann.pc + +do-test: + @cd ${BUILD_WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTS=ON ${CMAKE_SOURCE_PATH} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test + +benchmarks: build # benchmarks fail to run: https://github.com/jlblancoc/nanoflann/issues/100 + @cd ${BUILD_WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_BENCHMARKS=ON ${CMAKE_SOURCE_PATH} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} benchmarks + +.include <bsd.port.mk> Added: head/math/nanoflann/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/nanoflann/distinfo Thu Oct 4 03:53:55 2018 (r481201) @@ -0,0 +1,3 @@ +TIMESTAMP = 1538624079 +SHA256 (jlblancoc-nanoflann-v1.3.0_GH0.tar.gz) = e0efc289422bc4cbaf8811d2f2c3c080ad09ac6d68a2b70134f3595d5da010cb +SIZE (jlblancoc-nanoflann-v1.3.0_GH0.tar.gz) = 684715 Added: head/math/nanoflann/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/nanoflann/pkg-descr Thu Oct 4 03:53:55 2018 (r481201) @@ -0,0 +1,11 @@ +nanoflann is a C++11 header-only library for building KD-Trees of datasets with +different topologies: R2, R3 (point clouds), SO(2) and SO(3) (2D and 3D rotation +groups). No support for approximate NN is provided. nanoflann does not require +compiling or installing. You just need to #include <nanoflann.hpp> in your code. + +This library is a fork of the flann library by Marius Muja and David G. Lowe, +and born as a child project of MRPT. Following the original license terms, +nanoflann is distributed under the BSD license. Please, for bugs use the issues +button or fork and open a pull request. + +WWW: https://github.com/jlblancoc/nanoflann
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810040353.w943ru7e041657>