blob: ca65f92468a5b79f952db991567670e2881d432c (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $NetBSD: Makefile,v 1.5 2021/05/08 22:03:14 thor Exp $
GITHUB_PROJECT= pcl
GITHUB_TAG= pcl-${PKGVERSION}
PKGREVISION= 3
DISTNAME= pcl-1.11.1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=PointCloudLibrary/}
MAINTAINER= thomas.orgis@uni-hamburg.de
HOMEPAGE= https://github.com/PointCloudLibrary/pcl/
COMMENT= 2D/3D image and point cloud processing
LICENSE= modified-bsd
WRKSRC= ${WRKDIR}/pcl-pcl-${PKGVERSION_NOREV}
USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
CMAKE_ARGS+= -DWITH_QHULL=TRUE
# Those could be enabled as options if desired.
CMAKE_ARGS+= -DWITH_CUDA=FALSE
CMAKE_ARGS+= -DWITH_QT=FALSE
.include "options.mk"
# Non-VTK install would still find GLEW and install a misleading
# CMake file for it. Avoid that by deletion after configure.
.if empty(PKG_OPTIONS:Mvtk)
pre-build:
rm -f ${WRKSRC:Q}/cmake/Modules/FindGLEW.cmake
.endif
PLIST_SUBST+= PCL_BASE_VERSION=${PKGVERSION_NOREV:C/([0-9]+\.[0-9]+).*/\1/}
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/libusb1/buildlink3.mk"
.include "../../math/flann-lib/buildlink3.mk"
.include "../../math/eigen3/buildlink3.mk"
.include "../../math/qhull/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
# Not used correctly right now, see
# https://github.com/PointCloudLibrary/pcl/issues/4744
#.include "../../devel/metslib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|