From owner-svn-ports-head@freebsd.org Thu Jan 21 18:26:08 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 93C134DB6DC; Thu, 21 Jan 2021 18:26:08 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DM9nX3mXSz4jWW; Thu, 21 Jan 2021 18:26:08 +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 743B410BC0; Thu, 21 Jan 2021 18:26:08 +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 10LIQ8Pb046465; Thu, 21 Jan 2021 18:26:08 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10LIQ8V6046463; Thu, 21 Jan 2021 18:26:08 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202101211826.10LIQ8V6046463@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Thu, 21 Jan 2021 18:26:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r562228 - head/math/vtk9 X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/math/vtk9 X-SVN-Commit-Revision: 562228 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 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: Thu, 21 Jan 2021 18:26:08 -0000 Author: yuri Date: Thu Jan 21 18:26:07 2021 New Revision: 562228 URL: https://svnweb.freebsd.org/changeset/ports/562228 Log: math/vtk9: Add the PYTHON option for python binding Also fix WWW and MASTER_SITES URLs. Modified: head/math/vtk9/Makefile head/math/vtk9/pkg-descr Modified: head/math/vtk9/Makefile ============================================================================== --- head/math/vtk9/Makefile Thu Jan 21 18:25:00 2021 (r562227) +++ head/math/vtk9/Makefile Thu Jan 21 18:26:07 2021 (r562228) @@ -2,8 +2,9 @@ PORTNAME= vtk DISTVERSION= 9.0.1 +PORTREVISION= 1 CATEGORIES= math graphics -MASTER_SITES= http://www.vtk.org/files/release/${VTK_SHORT_VER}/ +MASTER_SITES= https://vtk.org/files/release/${VTK_SHORT_VER}/ PKGNAMESUFFIX= 9 DISTNAME= ${PORTNAME:tu}-${DISTVERSION} @@ -25,7 +26,7 @@ CMAKE_ON= BUILD_SHARED_LIBS \ VTK_INSTALL_NO_DOCUMENTATION VTK_USE_SYSTEM_EXPAT VTK_USE_SYSTEM_TIFF \ VTK_USE_SYSTEM_PNG VTK_USE_SYSTEM_JPEG VTK_USE_SYSTEM_FREETYPE VTK_USE_SYSTEM_ZLIB \ Module_vtkTestingCore Module_vtkTestingRendering -CMAKE_ARGS+= -DVTK_INSTALL_LIBRARY_DIR=lib/vtk-${VTK_SHORT_VER} \ +CMAKE_ARGS= -DVTK_INSTALL_LIBRARY_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_ARCHIVE_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_QT_DIR=/${QT_LIBDIR_REL}/plugins/designer \ -DSTAGEDIR=${STAGEDIR} @@ -36,8 +37,8 @@ DOCSDIR= ${PREFIX}/share/doc/vtk-${VTK_SHORT_VER} DATADIR= ${PREFIX}/share/vtk-${VTK_SHORT_VER} # Options -OPTIONS_DEFINE= DESIGNER DOCS OSMESA QT5 EXAMPLES -OPTIONS_DEFAULT= MPI QT5 +OPTIONS_DEFINE= DESIGNER DOCS OSMESA PYTHON QT5 EXAMPLES +OPTIONS_DEFAULT= MPI PYTHON QT5 # vtk python binding is needed by other packages, and is unfortunately is unseparable. It is a candidate to be a subpackage. OSMESA_DESC= Use Mesa for off-screen rendering DESIGNER_DESC= Build the Qt Designer plugin OPTIONS_SUB= yes @@ -57,6 +58,10 @@ $g_DESC= Build the $g group .for w in ${VTK_WRAPS} $w_DESC= $w wrapping .endfor + +PYTHON_USES= python:3.6+ +PYTHON_CMAKE_BOOL= VTK_WRAP_PYTHON +PYTHON_CMAKE_ON= -DVTK_PYTHON_VERSION=${PYTHON_MAJOR_VER} QT5_USES= qt:5 QT5_USE= QT=core,gui,sql,uiplugin,widgets,x11extras,qmake_build,buildtools_build Modified: head/math/vtk9/pkg-descr ============================================================================== --- head/math/vtk9/pkg-descr Thu Jan 21 18:25:00 2021 (r562227) +++ head/math/vtk9/pkg-descr Thu Jan 21 18:26:07 2021 (r562228) @@ -11,4 +11,4 @@ information visualization framework, has a suite of 3D supports parallel processing, and integrates with various databases on GUI toolkits such as Qt and Tk. -WWW: https://www.vtk.org +WWW: https://vtk.org/