math/annoy: New port: Approximate Nearest Neighbors in C++

This commit is contained in:
Yuri Victorovich 2023-01-11 21:23:33 -08:00
parent d4da7e500a
commit 99f1575aa1
4 changed files with 35 additions and 0 deletions

View File

@ -167,6 +167,7 @@
SUBDIR += amgcl
SUBDIR += analitza
SUBDIR += ann
SUBDIR += annoy
SUBDIR += antic
SUBDIR += apache-commons-math
SUBDIR += apc

27
math/annoy/Makefile Normal file
View File

@ -0,0 +1,27 @@
PORTNAME= annoy
DISTVERSIONPREFIX= v
DISTVERSION= 1.17.1
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Approximate Nearest Neighbors in C++
WWW= https://github.com/spotify/annoy
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake
USE_GITHUB= yes
GH_ACCOUNT= spotify
PLIST_FILES= include/annoy/annoylib.h \
include/annoy/kissrandom.h \
include/annoy/mman.h
NO_ARCH= yes
do-install:
cd ${WRKSRC}/include && ${COPYTREE_SHARE} annoy ${STAGEDIR}${PREFIX}/include
.include <bsd.port.mk>

3
math/annoy/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1673498821
SHA256 (spotify-annoy-v1.17.1_GH0.tar.gz) = 4f7a2f2d86d45b432de68dba06667b23d0ce2b03595d64bd5c05f42dc32e7f4b
SIZE (spotify-annoy-v1.17.1_GH0.tar.gz) = 674087

4
math/annoy/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
Annoy (Approximate Nearest Neighbors Oh Yeah) is a C++ library with Python
bindings to search for points in space that are close to a given query point.
It also creates large read-only file-based data structures that are mmapped
into memory so that many processes may share the same data.