freebsd-ports/graphics/open3d/Makefile
Niclas Zeising 0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00

37 lines
901 B
Makefile

# $FreeBSD$
PORTNAME= Open3D
DISTVERSIONPREFIX= v
DISTVERSION= 0.2
PORTREVISION= 1
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>