diff options
author | Joel Bodenmann <joel@insane.engineer> | 2021-10-01 12:49:00 +0000 |
---|---|---|
committer | Mikael Urankar <mikael@FreeBSD.org> | 2021-10-01 12:51:04 +0000 |
commit | 6ab6d5d5164263fd838b41c7adc361eafe4d7379 (patch) | |
tree | e91cf4d1c102f5685b64ee8863b778762463c185 | |
parent | b8b32707f322a10b98d9cec7f818954e65d7d57b (diff) |
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
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/cpufetch/Makefile | 29 | ||||
-rw-r--r-- | sysutils/cpufetch/distinfo | 3 | ||||
-rw-r--r-- | sysutils/cpufetch/pkg-descr | 6 |
4 files changed, 39 insertions, 0 deletions
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 |