From nobody Sat Aug 13 22:30:25 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 4M4wGn3kpKz4YvB6; Sat, 13 Aug 2022 22:30:25 +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 4M4wGn39mRz3Dbc; Sat, 13 Aug 2022 22:30:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660429825; 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=uJ9XcSue65JbfiYEqk56QtUSxLwk9AtQxtfyl06WaY0=; b=bt8qn+n4CaeBRw1UcviwS5dzmVWfeyd3gBE5UZXBa7wzszvWlJ2eIQfyGNoqT7E6n8QbqH TP4cmGCdENwBU53V3QVpYMucf5IhbQHB9eH5q1aQP4elI3w4GwfSxHo9hqiCf0QdvJ807p dTKizUXfcYF2XHlawHQkL3HUHza0rTGF3o+y0qmhvpP6BeNLmrb9pI/mxedozeZiTx/kuQ bm7j4ndzWjW5x3noo1JT0anq1bTRcz8T3owMTnOl7kcZviWHeuKz70VaMn80Ev6/aXrpLU OejsQEiv2Ea1xf+IzkPaKU4Oe2cpzbk67MBzYqeGndxPCkTwOWZ/84qh1m7Lfw== 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 4M4wGn2BQ3zSKn; Sat, 13 Aug 2022 22:30:25 +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 27DMUPsk079431; Sat, 13 Aug 2022 22:30:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27DMUPlK079430; Sat, 13 Aug 2022 22:30:25 GMT (envelope-from git) Date: Sat, 13 Aug 2022 22:30:25 GMT Message-Id: <202208132230.27DMUPlK079430@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: d599b9c1d5d5 - main - science/libxc: Change to cmake; Install cmake files 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: d599b9c1d5d5fe828fbf6243987c6d503769820d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660429825; 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=uJ9XcSue65JbfiYEqk56QtUSxLwk9AtQxtfyl06WaY0=; b=an+xBhv+zN/pQfRkLt5s/QKqkOqbPPevOHLmy7b49ndsNz/Y/tnqrP89VMorg2o2rvAt2M vC2poMyh9N5RsXVrxssDTLP5tjA5utWg1JNqmpzHDl3tlRss8c0JfQInAISFV/hbwoBR3J asBL90TiEvvmMMrLrHp+UhdKEfOFl08ChuUxgIV8Fm/jQAWODmFnHsvi2dMwTRmIuJI0Dh FnYYs23qhfuCSwmW5x0Kwh/yZFEfHAKHb3IQRd6DF2VXwNFnRuVS+YV82JQ9FZsaCDi8Yp bfbqlRQuFNB5AyxRJQW/ArXBho3rHNI7hAl11PiNpXm7nfzGKAAGQwUM2ZciYg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660429825; a=rsa-sha256; cv=none; b=TJxVsBzIEgrcoxkXPqqVEdCjic5Qp3vToREfNVJFOuBMTSaGsAS78d6SQd8zUCXUydnyqX tWPfiBuB0YJQjDbEVzfjISSYlKF4Qaa7AeNoKAz2OnL35OZA2O5vJGMJpjAtAvzK7h+CJg 3NqHDGNKXWVsU51zce23vJm9tnlMIsqIwNchJN9HzxAiJzqT6jr0b+yNu29bu2YwvE2p6k sFD8dPSSWEhz3wWMoqO4Zs26x4djMn/wLsJPc0yNLmLF5H8GkC/wYZOPaT5zQwIOfIyiYz OmcTcet+aEXFYvdUlHrSIMpL+hxFB4Wf1StCLR4VJOUf4MiKNGeYlCIDM/DJcg== 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=d599b9c1d5d5fe828fbf6243987c6d503769820d commit d599b9c1d5d5fe828fbf6243987c6d503769820d Author: Yuri Victorovich AuthorDate: 2022-08-13 22:27:49 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-13 22:30:23 +0000 science/libxc: Change to cmake; Install cmake files Reason - the Psi4 project requires .cmake files to be installed in order to find libxc. PR: 265782 Approved by: jmd@ (maintainer) --- science/libxc/Makefile | 9 ++++----- science/libxc/pkg-plist | 11 ++++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/science/libxc/Makefile b/science/libxc/Makefile index 944edb156e14..8db4cfcd5113 100644 --- a/science/libxc/Makefile +++ b/science/libxc/Makefile @@ -1,5 +1,6 @@ PORTNAME= libxc DISTVERSION= 5.2.3 +PORTREVISION= 1 CATEGORIES= science MASTER_SITES= https://www.tddft.org/programs/${PORTNAME}/down/${DISTVERSION}/ @@ -9,12 +10,10 @@ COMMENT= Library of exchange-correlation functionals for DFT LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= fortran gmake libtool perl5 +USES= cmake:testing fortran USE_LDCONFIG= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-shared --disable-static - -INSTALL_TARGET= install-strip +CMAKE_ON= BUILD_SHARED_LIBS ENABLE_FORTRAN +CMAKE_OFF= BUILD_TESTING .include diff --git a/science/libxc/pkg-plist b/science/libxc/pkg-plist index d863d7e644b5..f7f659ad4fce 100644 --- a/science/libxc/pkg-plist +++ b/science/libxc/pkg-plist @@ -1,6 +1,4 @@ bin/xc-info -bin/xc-threshold -include/libxc.bib include/xc.h include/xc_f03_lib_m.mod include/xc_f90_lib_m.mod @@ -10,13 +8,16 @@ include/xc_funcs_worker.h include/xc_version.h lib/libxc.so lib/libxc.so.9 -lib/libxc.so.9.2.3 lib/libxcf03.so lib/libxcf03.so.9 -lib/libxcf03.so.9.2.3 lib/libxcf90.so lib/libxcf90.so.9 -lib/libxcf90.so.9.2.3 libdata/pkgconfig/libxc.pc libdata/pkgconfig/libxcf03.pc libdata/pkgconfig/libxcf90.pc +share/cmake/Libxc/LibxcConfig.cmake +share/cmake/Libxc/LibxcConfigVersion.cmake +share/cmake/Libxc/LibxcTargets-C-%%CMAKE_BUILD_TYPE%%.cmake +share/cmake/Libxc/LibxcTargets-C.cmake +share/cmake/Libxc/LibxcTargets-Fortran-%%CMAKE_BUILD_TYPE%%.cmake +share/cmake/Libxc/LibxcTargets-Fortran.cmake