freebsd-ports/misc/openvdb/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
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
2019-07-26 20:46:53 +00:00

52 lines
1.4 KiB
Makefile

# $FreeBSD$
PORTNAME= openvdb
DISTVERSIONPREFIX= v
DISTVERSION= 6.1.0
PORTREVISION= 2
CATEGORIES= misc
MAINTAINER= yuri@FreeBSD.org
COMMENT= Tools for storage and manipulation of sparse volumetric data
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libblosc.so:archivers/c-blosc \
libboost_system.so:devel/boost-libs \
libHalf.so:graphics/ilmbase \
libtbb.so:devel/tbb
USES= cmake compiler:c++11-lang pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= AcademySoftwareFoundation
USE_LDCONFIG= yes
CMAKE_OFF= OPENVDB_CORE_STATIC
OPTIONS_DEFINE= PYTHON TOOLS DOCS # TOOLS should be a subpackage
OPTIONS_DEFAULT= PYTHON TOOLS
OPTIONS_SUB= yes
PYTHON_USES= python:2.7 # 3.6 is broken: https://github.com/AcademySoftwareFoundation/openvdb/issues/427
PYTHON_CMAKE_BOOL= OPENVDB_BUILD_PYTHON_MODULE
PYTHON_CMAKE_ON= -DFREEBSD_PYTHON_VER:STRING=${PYTHON_VER} -DUSE_NUMPY:BOOL=ON
PYTHON_LIB_DEPENDS= ${PY_BOOST}
PYTHON_BUILD_DEPENDS= ${PYNUMPY}
PYTHON_RUN_DEPENDS= ${PYNUMPY}
TOOLS_DESC= Build CLI tools
TOOLS_CMAKE_BOOL= OPENVDB_BUILD_BINARIES OPENVDB_BUILD_VDB_LOD \
OPENVDB_BUILD_VDB_RENDER OPENVDB_BUILD_VDB_VIEW
TOOLS_LIB_DEPENDS= libglfw.so:graphics/glfw \
libIlmImf.so:graphics/openexr
TOOLS_USES= gl
TOOLS_USE= GL=gl,glu XORG=x11,xcursor,xi,xinerama,xrandr,xxf86vm
DOCS_CMAKE_BOOL= OPENVDB_BUILD_DOCS
DOCS_BUILD_DEPENDS= doxygen:devel/doxygen
PORTDOCS= *
.include <bsd.port.mk>