diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-08-19 07:45:40 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-08-19 07:45:40 +0000 |
commit | 253f0c249bd8235b2efb978a0c8d1bfe92af4b4a (patch) | |
tree | 51c3dce0b77f08fcc3f1a0b85c4ecd9b175ba7ff /graphics/open3d/Makefile | |
parent | 7bc56fc9343058b156c63dc8acecf334b6667779 (diff) | |
download | freebsd-ports-253f0c249bd8235b2efb978a0c8d1bfe92af4b4a.zip |
New port: graphics/open3d: Modern library for 3D data processing
Diffstat (limited to 'graphics/open3d/Makefile')
-rw-r--r-- | graphics/open3d/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/graphics/open3d/Makefile b/graphics/open3d/Makefile new file mode 100644 index 000000000000..7942067c177c --- /dev/null +++ b/graphics/open3d/Makefile @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= Open3D +DISTVERSIONPREFIX= v +DISTVERSION= 0.2 +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 \ + libpng16.so:graphics/png + +USES= cmake:outsource 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> |