From nobody Wed Nov 10 18:29:08 2021 X-Original-To: dev-commits-ports-all@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 52CB6185614E; Wed, 10 Nov 2021 18:29:09 +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 4HqCzm4TNPz4pMZ; Wed, 10 Nov 2021 18:29:08 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 4BD351D65A; Wed, 10 Nov 2021 18:29:08 +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 1AAIT8aT048462; Wed, 10 Nov 2021 18:29:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AAIT85n048461; Wed, 10 Nov 2021 18:29:08 GMT (envelope-from git) Date: Wed, 10 Nov 2021 18:29:08 GMT Message-Id: <202111101829.1AAIT85n048461@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: acb326a48b08 - main - math/spectra: Install cmake files. List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: acb326a48b0802adf8034b0849e8fa54c89555fb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=acb326a48b0802adf8034b0849e8fa54c89555fb commit acb326a48b0802adf8034b0849e8fa54c89555fb Author: Yuri Victorovich AuthorDate: 2021-11-10 10:23:10 +0000 Commit: Yuri Victorovich CommitDate: 2021-11-10 18:29:05 +0000 math/spectra: Install cmake files. --- math/spectra/Makefile | 8 +++----- math/spectra/pkg-plist | 3 +++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/math/spectra/Makefile b/math/spectra/Makefile index 5379fc9f3265..4bc68f461a34 100644 --- a/math/spectra/Makefile +++ b/math/spectra/Makefile @@ -1,6 +1,7 @@ PORTNAME= spectra DISTVERSIONPREFIX= v DISTVERSION= 1.0.0 +PORTREVISION= 1 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org @@ -11,16 +12,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= gmake>0:devel/gmake -USES= eigen:3,run +USES= cmake eigen:3,build,run + USE_GITHUB= yes GH_ACCOUNT= yixuan -NO_BUILD= yes NO_ARCH= yes -do-install: - cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX} - do-test: # some tests are known to fail: https://github.com/yixuan/spectra/issues/47 @cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} CXXFLAGS=-I${LOCALBASE}/include/eigen3 ${GMAKE} all test diff --git a/math/spectra/pkg-plist b/math/spectra/pkg-plist index 2d89b9e27ce1..1bfb3f17ca09 100644 --- a/math/spectra/pkg-plist +++ b/math/spectra/pkg-plist @@ -48,3 +48,6 @@ include/Spectra/Util/TypeTraits.h include/Spectra/Util/Version.h include/Spectra/contrib/LOBPCGSolver.h include/Spectra/contrib/PartialSVDSolver.h +%%DATADIR%%/cmake/Spectra-targets.cmake +%%DATADIR%%/cmake/spectra-config-version.cmake +%%DATADIR%%/cmake/spectra-config.cmake