From nobody Mon Jan 17 22:41:28 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 BC844196A432; Mon, 17 Jan 2022 22:41:29 +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 4Jd6MY21pkz4fKF; Mon, 17 Jan 2022 22:41:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642459289; 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=vLFoT6RTnayDVdVfZZgNSo07ZANf2WPeqGRXm5WMnaU=; b=ipXXhklpwa9oOdxJTvIhcvz4b09DwIfKfyCg2gOc+17nepj8jTMD7Euawmt5g85GYCQ2xU HtaUIaOf9/KUAVfyH/bNhnmOvii8P4AdVpR8LozjKFNPa260JWbJQei2+QvAB5VF6dOqzW ywjcQ8BiD/yBTJde/Z++1rz7DLW8XArfRsIO4Sbuj7h2ZZymlxWEFhNXBtDcHT3Szc8He+ nvZDtab3U9CCBGwZfUbTsclK+dGg34WW1IMMwAkVlsVsu8Rvd9DQd55C0UM5Z/giIK7X3f 5mgZ9bvAPY4sUM7bW+uF9BjBbSew9MZhkYBuHVwMvbeBK+5BXwFP3goX1fSLJA== 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 C65E316504; Mon, 17 Jan 2022 22:41:28 +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 20HMfSAj023042; Mon, 17 Jan 2022 22:41:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20HMfS71023041; Mon, 17 Jan 2022 22:41:28 GMT (envelope-from git) Date: Mon, 17 Jan 2022 22:41:28 GMT Message-Id: <202201172241.20HMfS71023041@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: 96149ad2bb06 - main - science/libnegf: Add options; Correct license 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: 96149ad2bb06b6678209d7b303ae0c9f855f8c44 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642459289; 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=vLFoT6RTnayDVdVfZZgNSo07ZANf2WPeqGRXm5WMnaU=; b=MvXvRZA/PwN3+p3+m0VxODVo/zFFejAPYqObZ3Az49/d9EL5qvWMuoIeB18WaghIjJhnUo WWtmf/jNVfVOEobPZ36aY6xnOVmd2nJYf7M5nZlm16QvYPeZF5+1u88U0Ash3zpj5CA+Jq c03hONLqKkHm56dQrzTazdBo1n/6YZAnBwWM/RtCbwUFMuvAeuQLeWH5HgZ47HrYo+YNW0 sJHsVbfmo4jdDuEikGLudADy9MjaMk9jIQrQcJvkslUFFei11GxO2KuarPGOzPc5svx9bf gckU+jJliMEIl8RgizXfJUFEZKufCa9MuwgkSwfAJ6fkqImXbB+drjKiWDg1Tw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642459289; a=rsa-sha256; cv=none; b=RrP8wLW3TmI1ZNquhnq2/6hz0GUyTrx1914jiBukselSbmBW7dWHI31jw7NllP1y+g9u98 MOz7u8fEjU/+h+lNcVH7nonFB5wgHlXxT6CoGH9/wc0OCt+aLbtMkwpfc6vRfg93wMMul0 ylaQq0JB+A3hLVVAk7FHZ8gkT+3jBAy4PJ+oyiHuwRINMk+3ZT9uWgYZhue4wlTaY/K1az iPRcuwHSvSB5FM0yXmd+IOy1Pl45ADbZbjIT9NhLDi/ELtNgmltchHsz0+Wqd3FNL49kUz ULkEpOEaYU2rGb78SdCbjJEZeopFlUolG5tyZqwnV8++8sHfLUk3OJe+Y1UhHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=96149ad2bb06b6678209d7b303ae0c9f855f8c44 commit 96149ad2bb06b6678209d7b303ae0c9f855f8c44 Author: Yuri Victorovich AuthorDate: 2022-01-17 22:24:38 +0000 Commit: Yuri Victorovich CommitDate: 2022-01-17 22:41:21 +0000 science/libnegf: Add options; Correct license --- science/libnegf/Makefile | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/science/libnegf/Makefile b/science/libnegf/Makefile index 1a2a8e897a50..4fe3baaacf38 100644 --- a/science/libnegf/Makefile +++ b/science/libnegf/Makefile @@ -1,15 +1,16 @@ PORTNAME= libnegf DISTVERSIONPREFIX= v DISTVERSION= 1.0.3 +PORTREVISION= 1 CATEGORIES= science # chemistry MAINTAINER= yuri@FreeBSD.org COMMENT= Non Equilibrium Green's Functions library -LICENSE= MPL20 -LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE= GPLv3 -LIB_DEPENDS= libopenblas.so:math/openblas +LIB_DEPENDS= libmpi.so:net/mpich \ + libopenblas.so:math/openblas USES= cmake:testing fortran python:build USE_GITHUB= yes @@ -18,4 +19,14 @@ CMAKE_ON= BUILD_SHARED_LIBS BINARY_ALIAS= python=${PYTHON_CMD} python3=${PYTHON_CMD} +OPTIONS_DEFINE= INELASTIC MPI +OPTIONS_DEFAULT= MPI # MPI default has to be in sync with science/dftbplus + +INELASTIC_DESC= Build with inelastic scattering +INELASTIC_CMAKE_BOOL= WITH_INELASTIC +INELASTIC_BROKEN= Error: Can't open included file 'fftw3.f03', see https://github.com/libnegf/libnegf/issues/56 + +MPI_CMAKE_BOOL= WITH_MPI +MPI_LIB_DEPENDS= libmpifx.so:net/mpifx + .include