forked from Lainports/freebsd-ports
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
36 lines
889 B
Makefile
36 lines
889 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= Open3D
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.2
|
|
PORTREVISION= 4
|
|
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 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>
|