From nobody Mon Nov 14 04:53:47 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N9cQh08RVz4gDw2; Mon, 14 Nov 2022 04:53:48 +0000 (UTC) (envelope-from git@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 4N9cQg6q1qz4DYJ; Mon, 14 Nov 2022 04:53:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668401628; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=awZaRFFk1lY8Rb9FsxZGVi8Wp5kpOPXw1CtDW4JW/rU=; b=PODd0HVbBKrC6WE7o6A7xEzPqoK2wJdQDNQ2JmJBO99PfFSUzhsEMoNeHs6gafYB5TLlWt nTEtznco+zOEpyfBL92SEw+oQrN0Fm96katGj6Pb4YtsOpmEjXXm+jU69xYxUCT52KkTqc PsaENi/5dXwlAAeQPeyR+ghvWnfg41tAk7XmXB6mbw1IpoAfQQT8zOZtNdOS9hc/t5HpGr dpFlTerBBjI+7vSHyC+uIvSZtulaYmR/6MB81GZoDwUaihuHEzjazWhpEP9tiPGhHUJteb MEdx0CePtBuqeW1MoPOb2ohn8MV4/nP+zVBfvPetgcp3eoR2flQ6/LXMtIUekg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668401628; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=awZaRFFk1lY8Rb9FsxZGVi8Wp5kpOPXw1CtDW4JW/rU=; b=aZuleml6u05FUXkiEN6ageDhEnen7UNOyXkUexGTcxwSa3wPOmiIh+FbH1e0+AYW3XpR55 dwEu9uuc8U2w4PLmlT8pQAoTMRGoqKL5mPySb1J3hRtsjudZ5icX3UdOfOQoOpZM+Dx6bH 0sOFrSARNUm5VoiIFOGHZ8Llw5ZutTUUI/76hC2n3dAf0cwQ6F4VR56/QcnLqQP/odT29u V4FHNCA7bC1QlMxjeHDJHmgNHUJcharPHaOMWahudiiFy6S2tjUP4zGqFgQpS03gp6a/lg DfVgPxi/WhsX7d6mQVt9y72EY2zRGfsoBeW+ZOelvdcGpdImwTcD/RrrN362UA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668401628; a=rsa-sha256; cv=none; b=WjXrnOrNhioVyedW1FiAgwJHlJCkg2SDfj1PTXCJfdvyuu+oFnndyTn4FLnVe8d6hWO9lH rTEzNfHdQANxLPCEJWZpUdHroxflUyz7KFDpKSBfE0n22cV81TZI7pl7beOImIHdlfJR9R 2nXdlYBAAN3n531nh0cM933Om8PqcoPAHpvaRb2rTMLwMAp4tjZT5TLABtcPmLwG4pS629 CDPiy6E4P7u4HQrFfzsYK2IJJ1DHm/EvUf4iD8c8kJpcLsUup3orlSv6vDVDQ+JuFK7++f Yq0rIh2H8LENLvZ23I0NINX0vK72P/mXPBZ4gx/BeQ7j3ytmB3YRCKO4s3HdFg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N9cQg5hGgzVBF; Mon, 14 Nov 2022 04:53:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AE4rlTK085649; Mon, 14 Nov 2022 04:53:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AE4rlme085648; Mon, 14 Nov 2022 04:53:47 GMT (envelope-from git) Date: Mon, 14 Nov 2022 04:53:47 GMT Message-Id: <202211140453.2AE4rlme085648@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: f8395d99410d - main - science/lammps: Change VTK dependency from VTK-8 to VTK-9; Add option NETCDF List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f8395d99410d0a9b7b3d92b9624ec07f3b1d6e6c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=f8395d99410d0a9b7b3d92b9624ec07f3b1d6e6c commit f8395d99410d0a9b7b3d92b9624ec07f3b1d6e6c Author: Yuri Victorovich AuthorDate: 2022-11-14 04:52:28 +0000 Commit: Yuri Victorovich CommitDate: 2022-11-14 04:53:43 +0000 science/lammps: Change VTK dependency from VTK-8 to VTK-9; Add option NETCDF Also correct some other options. --- science/lammps/Makefile | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/science/lammps/Makefile b/science/lammps/Makefile index b71779d499d1..df87211d0985 100644 --- a/science/lammps/Makefile +++ b/science/lammps/Makefile @@ -1,6 +1,6 @@ PORTNAME= lammps PORTVERSION= ${GH_TAGNAME:C/(stable|patch)_([0-9]{1,2})([A-Z][a-z][a-z])([0-9]{4})/\4.\3.\2/S/Jan/01/S/Feb/02/S/Mar/03/S/Apr/04/S/May/05/S/Jun/06/S/Jul/07/S/Aug/08/S/Sep/09/S/Oct/10/S/Nov/11/S/Dec/12/S/_update/./} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org @@ -52,17 +52,17 @@ CMAKE_ON+= PKG_VORONOI PKG_YAFF OPTIONS_DEFINE= EXCEPTIONS JPEG PNG GZIP FFMPEG OPTIONS_GROUP= PARALLEL PACKAGES -OPTIONS_DEFAULT= EXCEPTIONS MPI OPENMP JPEG PNG GZIP FFMPEG H5MD KIM KOKKOS LATTE PLUMED VORONOI ${OPTIONS_DEFAULT_${CHOSEN_COMPILER_TYPE}} +OPTIONS_DEFAULT= EXCEPTIONS MPI OPENMP JPEG PNG GZIP FFMPEG H5MD KIM KOKKOS LATTE NETCDF PLUMED VORONOI ${OPTIONS_DEFAULT_${CHOSEN_COMPILER_TYPE}} OPTIONS_SUB= yes PARALLEL_DESC= Enable parallelizations: PACKAGES_DESC= Enable packages: OPTIONS_GROUP_PARALLEL= MPI OPENMP ${OPTIONS_DEFINE_${CHOSEN_COMPILER_TYPE}} -OPTIONS_GROUP_PACKAGES= H5MD KIM KOKKOS LATTE PLUMED VORONOI VTK +OPTIONS_GROUP_PACKAGES= H5MD KIM KOKKOS LATTE NETCDF PLUMED VORONOI VTK EXCEPTIONS_DESC= Enable the use of C++ exceptions EXCEPTIONS_CMAKE_BOOL= LAMMPS_EXCEPTIONS -MPI_CMAKE_BOOL= BUILD_MPI PKG_MPIIO PKG_USER-LB +MPI_CMAKE_BOOL= BUILD_MPI PKG_MPIIO MPI_LIB_DEPENDS= libmpi.so:net/mpich MPI_USES= compiler:c11 @@ -79,8 +79,8 @@ PNG_LIB_DEPENDS= libpng.so:graphics/png GZIP_DESC= Enable GZIP support GZIP_CMAKE_BOOL= WITH_GZIP -H5MD_DESC= USER-H5MD package based on libhdf5 -H5MD_CMAKE_BOOL= PKG_USER-H5MD +H5MD_DESC= H5MD package based on the libhdf5 library +H5MD_CMAKE_BOOL= PKG_H5MD H5MD_LIB_DEPENDS= libhdf5.so:science/hdf5 \ libsz.so:science/libaec @@ -92,30 +92,34 @@ KIM_LIB_DEPENDS= libkim-api.so:science/kim-api \ libcurl.so:ftp/curl KIM_RUN_DEPENDS= openkim-models>0:science/openkim-models -KOKKOS_DESC= kokkos package based on the libkokkos library +KOKKOS_DESC= Kokkos package based on the libkokkos library KOKKOS_CMAKE_BOOL= PKG_KOKKOS EXTERNAL_KOKKOS KOKKOS_LIB_DEPENDS= libkokkoscore.so:devel/kokkos -LATTE_DESC= latte package based on the liblatte library +LATTE_DESC= Latte package based on the liblatte library LATTE_CMAKE_BOOL= PKG_LATTE LATTE_LIB_DEPENDS= liblatte.so:science/latte -PLUMED_DESC= plumed package based on the plumed library +NETCDF_DESC= NetCDF package based on the NetCDF library +NETCDF_CMAKE_BOOL= PKG_NETCDF +NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf + +PLUMED_DESC= Plumed package based on the plumed library PLUMED_USES= pkgconfig -PLUMED_CMAKE_BOOL= PKG_USER-PLUMED +PLUMED_CMAKE_BOOL= PKG_PLUMED PLUMED_CMAKE_ON= -DPLUMED_MODE=shared PLUMED_LIB_DEPENDS= libplumed.so:science/plumed -VORONOI_DESC= voro++, Voronoi tessellation package +VORONOI_DESC= Voro++, Voronoi tessellation package VORONOI_CMAKE_BOOL= PKG_VORONOI VORONOI_LIB_DEPENDS= libvoro++.so:science/voro++ -VTK_DESC= USER-VTK package based on the external vtk package -VTK_CMAKE_BOOL= PKG_USER-VTK -VTK_CMAKE_ON= -DVTK_DIR:PATH=${LOCALBASE}/lib/cmake/vtk-9.1 -VTK_USES= qt:5 xorg -VTK_USE= qt=core,gui,sql,widgets xorg=ice,sm,x11,xext,xt -VTK_LIB_DEPENDS= libvtkImagingMath-8.2.so:math/vtk8 \ +VTK_DESC= VTK package based on the external VTK-${VTK_VER:R} library +VTK_CMAKE_BOOL= PKG_VTK +VTK_CMAKE_ON= -DVTK_DIR:PATH=${LOCALBASE}/lib/cmake/vtk-${VTK_VER} +VTK_USES= gl qt:5 xorg +VTK_USE= GL=opengl qt=core,declarative,gui,network,opengl,sql,widgets xorg=ice,sm,x11,xext,xt +VTK_LIB_DEPENDS= libvtkCommonCore-${VTK_VER}.so:math/vtk${VTK_VER:R} \ libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libtiff.so:graphics/tiff @@ -149,4 +153,5 @@ post-patch-FFMPEG-off: post-install: @${RM} -r ${STAGEDIR}${PREFIX}/lib/python* +.include <../../math/vtk9/Makefile.version> .include