2019-05-14 22:48:45 +00:00
|
|
|
PORTNAME= openvdb
|
|
|
|
DISTVERSIONPREFIX= v
|
2024-04-02 06:36:32 +00:00
|
|
|
DISTVERSION= 11.0.0
|
2024-10-04 21:43:12 +00:00
|
|
|
PORTREVISION= 4
|
2019-05-14 22:48:45 +00:00
|
|
|
CATEGORIES= misc
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Tools for storage and manipulation of sparse volumetric data
|
2022-09-07 21:06:12 +00:00
|
|
|
WWW= https://www.openvdb.org/
|
2019-05-14 22:48:45 +00:00
|
|
|
|
|
|
|
LICENSE= MPL20
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
LIB_DEPENDS= libblosc.so:archivers/c-blosc \
|
|
|
|
libboost_system.so:devel/boost-libs \
|
2021-04-10 23:36:11 +00:00
|
|
|
libImath.so:math/Imath \
|
2021-08-15 09:27:34 +00:00
|
|
|
libtbb.so:devel/onetbb
|
2021-06-13 03:46:23 +00:00
|
|
|
TEST_DEPENDS= googletest>0:devel/googletest
|
|
|
|
|
2022-10-30 18:33:48 +00:00
|
|
|
USES= cmake:testing compiler:c++17-lang localbase:ldflags pkgconfig
|
2021-06-13 03:46:23 +00:00
|
|
|
USE_LDCONFIG= yes
|
2019-05-14 22:48:45 +00:00
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= AcademySoftwareFoundation
|
|
|
|
|
2021-08-15 09:27:34 +00:00
|
|
|
CMAKE_ARGS= -DCONCURRENT_MALLOC="Tbbmalloc" -DTbb_INCLUDE_DIR=${LOCALBASE}/include
|
2021-06-13 03:46:23 +00:00
|
|
|
CMAKE_OFF= OPENVDB_CORE_STATIC
|
|
|
|
CMAKE_TESTING_ON= OPENVDB_BUILD_UNITTESTS # one test fails: https://github.com/AcademySoftwareFoundation/openvdb/issues/1103
|
2019-05-14 22:48:45 +00:00
|
|
|
|
2022-11-01 10:32:58 +00:00
|
|
|
OPTIONS_DEFINE= TOOLS #DOCS # TOOLS should be made into a subpackage
|
|
|
|
OPTIONS_DEFAULT= TOOLS
|
2019-05-14 22:48:45 +00:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
2019-05-18 05:30:38 +00:00
|
|
|
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 \
|
2021-04-10 23:36:11 +00:00
|
|
|
libOpenEXR.so:graphics/openexr
|
2019-10-12 15:46:07 +00:00
|
|
|
TOOLS_USES= gl xorg
|
2020-04-02 01:32:07 +00:00
|
|
|
TOOLS_USE= GL=gl,glu XORG=ice,sm,x11,xcursor,xext,xi,xinerama,xrandr,xxf86vm
|
2019-05-18 05:30:38 +00:00
|
|
|
|
2020-12-14 00:50:04 +00:00
|
|
|
# DOCS is broken: https://github.com/AcademySoftwareFoundation/openvdb/issues/899
|
|
|
|
#DOCS_CMAKE_BOOL= OPENVDB_BUILD_DOCS
|
|
|
|
#DOCS_BUILD_DEPENDS= doxygen:devel/doxygen
|
2019-05-18 05:30:38 +00:00
|
|
|
|
2020-12-14 00:50:04 +00:00
|
|
|
#PORTDOCS= *
|
2019-05-18 05:30:38 +00:00
|
|
|
|
2019-05-14 22:48:45 +00:00
|
|
|
.include <bsd.port.mk>
|