summaryrefslogtreecommitdiff
path: root/math/flann-lib/Makefile
blob: 60b1de0c1f4f762e069155d6bd2991ee0c97c2f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $NetBSD: Makefile,v 1.2 2021/05/03 09:26:42 thor Exp $

DISTNAME=	flann-1.9.1
PKGNAME=	${DISTNAME:S/-/-lib-/}
CATEGORIES=	math
MASTER_SITES=	${MASTER_SITE_GITHUB:=mariusmuja/}
GITHUB_PROJECT=	flann

MAINTAINER=	thomas.orgis@uni-hamburg.de
HOMEPAGE=	https://github.com/mariusmuja/flann/
COMMENT=	Fast Library for Approximate Nearest Neighbors
LICENSE=	modified-bsd

USE_CMAKE=	yes
USE_TOOLS+=	pkg-config
USE_LANGUAGES=	c c++

CMAKE_ARGS+=	-DBUILD_DOC=OFF
CMAKE_ARGS+=	-DBUILD_PYTHON_BINDINGS=OFF
CMAKE_ARGS+=	-DBUILD_MATLAB_BINDINGS=OFF
# Need to check if those two are out of experimental stage.
# MPI needs parallel HDF5.
CMAKE_ARGS+=	-DUSE_MPI=OFF
CMAKE_ARGS+=	-DBUILD_CUDA_LIB=OFF

PKGCONFIG_OVERRIDE+=	cmake/flann.pc.in

.include "../../devel/hdf5-c++/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"