mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
da3162c7c9
Per discussion with bapt on helping pkg handle the changing of these deps and avoiding impossible upgrade senarios. PR: 246767 Reviewed by: manu, bapt Approved by: x11 Differential Revision: https://reviews.freebsd.org/D30824
29 lines
916 B
Makefile
29 lines
916 B
Makefile
PORTNAME= octomap
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.9.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= math
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Efficient probabilistic 3D mapping framework based on octrees
|
|
|
|
LICENSE= BSD3CLAUSE GPLv2
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/octomap/LICENSE.txt
|
|
LICENSE_FILE_GPLv2= ${WRKSRC}/octovis/LICENSE.txt
|
|
|
|
LIB_DEPENDS= libQGLViewer-qt5.so:graphics/libQGLViewer
|
|
|
|
USES= cmake compiler:c++11-lang localbase:ldflags gl qt:5
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= OctoMap
|
|
USE_QT= core gui opengl xml widgets buildtools_build qmake_build
|
|
USE_GL= gl glu
|
|
USE_LDCONFIG= yes
|
|
|
|
# Viewer is broken: https://github.com/OctoMap/octomap/issues/224, and libQGLViewer detection is broken: https://github.com/OctoMap/octomap/issues/225
|
|
#CMAKE_ON= OCTOVIS_QT5
|
|
CMAKE_ARGS= -DQGLVIEWER_BASE_DIR:PATH=${LOCALBASE}/include/QGLViewer #-DQGLViewer_LIBRARY_DIR_OTHER:PATH=${LOCALBASE}/lib
|
|
|
|
.include <bsd.port.mk>
|