mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +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
36 lines
883 B
Makefile
36 lines
883 B
Makefile
PORTNAME= Open3D
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.2
|
|
PORTREVISION= 8
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Modern library for 3D data processing
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/../LICENSE
|
|
|
|
LIB_DEPENDS= libglfw.so:graphics/glfw \
|
|
libjsoncpp.so:devel/jsoncpp \
|
|
libpng.so:graphics/png
|
|
|
|
USES= cmake compiler:c++14-lang eigen:3 gl jpeg localbase:ldflags \
|
|
pkgconfig
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= IntelVCL
|
|
USE_GL= gl glew glu
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ON= BUILD_SHARED_LIBS
|
|
CMAKE_OFF= BUILD_TESTS BUILD_PYBIND11 BUILD_PYTHON_MODULE BUILD_PYTHON_TUTORIALS
|
|
|
|
WRKSRC_SUBDIR= src
|
|
LDFLAGS+= -pthread # https://github.com/IntelVCL/Open3D/issues/510
|
|
|
|
post-install: # https://github.com/IntelVCL/Open3D/issues/509
|
|
.for d in include/Open3D/IO/FileFormat include/Open3D/Visualization/Shader/GLSL
|
|
@${RMDIR} ${STAGEDIR}${PREFIX}/${d}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|