Date: Sat, 18 May 2019 05:30:38 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501900 - in head/misc/openvdb: . files Message-ID: <201905180530.x4I5Ucif049150@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sat May 18 05:30:38 2019 New Revision: 501900 URL: https://svnweb.freebsd.org/changeset/ports/501900 Log: misc/openvdb: Add TOOLS and DOCS options Submitted by: Shane Ambler <FreeBSD@shaneware.biz> (via e-mail) Modified: head/misc/openvdb/Makefile head/misc/openvdb/files/patch-CMakeLists.txt head/misc/openvdb/pkg-plist Modified: head/misc/openvdb/Makefile ============================================================================== --- head/misc/openvdb/Makefile Sat May 18 04:05:00 2019 (r501899) +++ head/misc/openvdb/Makefile Sat May 18 05:30:38 2019 (r501900) @@ -3,6 +3,7 @@ PORTNAME= openvdb DISTVERSIONPREFIX= v DISTVERSION= 6.1.0 +PORTREVISION= 1 CATEGORIES= misc MAINTAINER= yuri@FreeBSD.org @@ -23,8 +24,8 @@ USE_LDCONFIG= yes CMAKE_OFF= OPENVDB_CORE_STATIC -OPTIONS_DEFINE= PYTHON -OPTIONS_DEFAULT= PYTHON +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 @@ -33,5 +34,18 @@ PYTHON_CMAKE_ON= -DFREEBSD_PYTHON_VER:STRING=${PYTHON_ 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> Modified: head/misc/openvdb/files/patch-CMakeLists.txt ============================================================================== --- head/misc/openvdb/files/patch-CMakeLists.txt Sat May 18 04:05:00 2019 (r501899) +++ head/misc/openvdb/files/patch-CMakeLists.txt Sat May 18 05:30:38 2019 (r501900) @@ -1,6 +1,6 @@ ---- CMakeLists.txt.orig 2019-05-11 05:39:52 UTC +--- CMakeLists.txt.orig 2019-05-07 20:58:35 UTC +++ CMakeLists.txt -@@ -177,7 +177,7 @@ if(NOT DISABLE_DEPENDENCY_VERSION_CHECKS +@@ -177,7 +177,7 @@ if(NOT DISABLE_DEPENDENCY_VERSION_CHECKS) set(MINIMUM_ZLIB_VERSION 1.2.7) set(MINIMUM_TBB_VERSION 4.4) @@ -9,3 +9,12 @@ set(MINIMUM_NUMPY_VERSION 1.9.2) set(MINIMUM_CPPUNIT_VERSION 1.10) +@@ -271,7 +271,7 @@ if(OPENVDB_BUILD_DOCS) + COMMENT "Generating API documentation with Doxygen" VERBATIM + ) + +- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/openvdb/doc/html DESTINATION docs) ++ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/openvdb/doc/html DESTINATION share/doc/openvdb) + endif() + + # Early exit if there's nothing to build Modified: head/misc/openvdb/pkg-plist ============================================================================== --- head/misc/openvdb/pkg-plist Sat May 18 04:05:00 2019 (r501899) +++ head/misc/openvdb/pkg-plist Sat May 18 05:30:38 2019 (r501900) @@ -1,4 +1,7 @@ bin/vdb_print +%%TOOLS%%bin/vdb_lod +%%TOOLS%%bin/vdb_render +%%TOOLS%%bin/vdb_view include/openvdb/Exceptions.h include/openvdb/Grid.h include/openvdb/MetaMap.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905180530.x4I5Ucif049150>