Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Oct 2021 12:51:31 GMT
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6ab6d5d51642 - main - sysutils/cpufetch: Add new port.
Message-ID:  <202110011251.191CpV2A078946@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6ab6d5d5164263fd838b41c7adc361eafe4d7379

commit 6ab6d5d5164263fd838b41c7adc361eafe4d7379
Author:     Joel Bodenmann <joel@insane.engineer>
AuthorDate: 2021-10-01 12:49:00 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
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 <bsd.port.mk>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110011251.191CpV2A078946>