diff --git a/sysutils/Makefile b/sysutils/Makefile index f68099c87..b0cc2a39e 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -220,6 +220,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 000000000..5e24b5b63 --- /dev/null +++ b/sysutils/cpufetch/Makefile @@ -0,0 +1,29 @@ +# Created by: Joel Bodenmann + +MAINTAINER= joel@insane.engineer +COMMENT= Simple yet fancy CPU architecture fetching tool + +PORTNAME= cpufetch +PORTVERSION= 1.0 +CATEGORIES= sysutils + +ONLY_FOR_ARCHS= amd64 i386 + +USE_GITHUB= yes +GH_ACCOUNT= Dr-Noob +GH_PROJECT= cpufetch +GH_TAGNAME= v1.00 + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES+= gmake + + +# 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 000000000..1008a980a --- /dev/null +++ b/sysutils/cpufetch/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1632673490 +SHA256 (Dr-Noob-cpufetch-1.0-v1.00_GH0.tar.gz) = 2254c2578435cc35c4d325b25fdff4c4b681de92cbce9a7a36e58ad58a3d9173 +SIZE (Dr-Noob-cpufetch-1.0-v1.00_GH0.tar.gz) = 317439 diff --git a/sysutils/cpufetch/pkg-descr b/sysutils/cpufetch/pkg-descr new file mode 100644 index 000000000..7ef3538c1 --- /dev/null +++ b/sysutils/cpufetch/pkg-descr @@ -0,0 +1,4 @@ +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 + diff --git a/sysutils/cpufetch/pkg-plist b/sysutils/cpufetch/pkg-plist new file mode 100644 index 000000000..0c0c8a22e --- /dev/null +++ b/sysutils/cpufetch/pkg-plist @@ -0,0 +1,3 @@ +bin/cpufetch +man/man1/cpufetch.1.gz +