From owner-svn-ports-head@freebsd.org Sat May 18 05:30:40 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0945A15A8DD6; Sat, 18 May 2019 05:30:40 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9E59B69FAE; Sat, 18 May 2019 05:30:39 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7938E1B2C8; Sat, 18 May 2019 05:30:39 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4I5Ud7r049153; Sat, 18 May 2019 05:30:39 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4I5Ucif049150; Sat, 18 May 2019 05:30:38 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201905180530.x4I5Ucif049150@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 18 May 2019 05:30:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501900 - in head/misc/openvdb: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/misc/openvdb: . files X-SVN-Commit-Revision: 501900 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 9E59B69FAE X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 May 2019 05:30:40 -0000 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 (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 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