From owner-dev-commits-ports-all@freebsd.org Fri Oct 1 12:51:32 2021 Return-Path: Delivered-To: dev-commits-ports-all@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 3FB146AEB90; Fri, 1 Oct 2021 12:51:32 +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 4HLVNg5jJpz3ty1; Fri, 1 Oct 2021 12:51:31 +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 9C9541FC58; Fri, 1 Oct 2021 12:51:31 +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 191CpVWu078953; Fri, 1 Oct 2021 12:51:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 191CpV2A078946; Fri, 1 Oct 2021 12:51:31 GMT (envelope-from git) Date: Fri, 1 Oct 2021 12:51:31 GMT Message-Id: <202110011251.191CpV2A078946@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikael Urankar Subject: git: 6ab6d5d51642 - main - sysutils/cpufetch: Add new port. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mikael X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6ab6d5d5164263fd838b41c7adc361eafe4d7379 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Oct 2021 12:51:32 -0000 The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=6ab6d5d5164263fd838b41c7adc361eafe4d7379 commit 6ab6d5d5164263fd838b41c7adc361eafe4d7379 Author: Joel Bodenmann AuthorDate: 2021-10-01 12:49:00 +0000 Commit: Mikael Urankar CommitDate: 2021-10-01 12:51:04 +0000 sysutils/cpufetch: Add new port. Simple yet fancy CPU architecture fetching tool. cpufetch is a command-line tool written in C that displays the CPU information in a clean and beautiful way. WWW: https://github.com/Dr-Noob/cpufetch PR: 258736 --- sysutils/Makefile | 1 + sysutils/cpufetch/Makefile | 29 +++++++++++++++++++++++++++++ sysutils/cpufetch/distinfo | 3 +++ sysutils/cpufetch/pkg-descr | 6 ++++++ 4 files changed, 39 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 3aafb3b6d1ed..273617dd5143 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -217,6 +217,7 @@ SUBDIR += cpdup SUBDIR += cpu-x SUBDIR += cpuburn + SUBDIR += cpufetch SUBDIR += cpuid SUBDIR += cpuid2cpuflags SUBDIR += cpulimit diff --git a/sysutils/cpufetch/Makefile b/sysutils/cpufetch/Makefile new file mode 100644 index 000000000000..4b5ef95e1436 --- /dev/null +++ b/sysutils/cpufetch/Makefile @@ -0,0 +1,29 @@ +PORTNAME= cpufetch +DISTVERSIONPREFIX= v +DISTVERSION= 1.00 +CATEGORIES= sysutils + +MAINTAINER= joel@insane.engineer +COMMENT= Simple yet fancy CPU architecture fetching tool + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS_REASON= Not yet ported to FreeBSD arm / powerpc + +USES= gmake + +USE_GITHUB= yes +GH_ACCOUNT= Dr-Noob +GH_PROJECT= cpufetch + +PLIST_FILES= bin/cpufetch \ + man/man1/cpufetch.1.gz + +# Custom install as upstream uses invalid -Dm755 and -Dm644 instead of ${INSTALL_PROGRAM} and ${INSTALL_DATA} accordingly. +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/cpufetch ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/cpufetch.1 ${STAGEDIR}${PREFIX}/man/man1 + +.include diff --git a/sysutils/cpufetch/distinfo b/sysutils/cpufetch/distinfo new file mode 100644 index 000000000000..c195602b6c25 --- /dev/null +++ b/sysutils/cpufetch/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1632680562 +SHA256 (Dr-Noob-cpufetch-v1.00_GH0.tar.gz) = 2254c2578435cc35c4d325b25fdff4c4b681de92cbce9a7a36e58ad58a3d9173 +SIZE (Dr-Noob-cpufetch-v1.00_GH0.tar.gz) = 317439 diff --git a/sysutils/cpufetch/pkg-descr b/sysutils/cpufetch/pkg-descr new file mode 100644 index 000000000000..6119cd322668 --- /dev/null +++ b/sysutils/cpufetch/pkg-descr @@ -0,0 +1,6 @@ +Simple yet fancy CPU architecture fetching tool. + +cpufetch is a command-line tool written in C that displays the CPU information +in a clean and beautiful way. + +WWW: https://github.com/Dr-Noob/cpufetch