Index | Thread | Search

From:
Daniel Hejduk <danielhejduk@disroot.org>
Subject:
Re: [PATCH] Adding sysutils/pfetch to tree
To:
ports@openbsd.org
Date:
Tue, 18 Jun 2024 08:38:56 +0200

Download raw body.

Thread
Upon request of Stuart Henderson <stu@spacehopper.org>, I am sending tarball of the ports package.

Best regards
Daniel Hejduk

17. června 2024 20:33:54 SELČ, Daniel Hejduk <danielhejduk@disroot.org> napsal:
>This is my first OpenBSD patch so if I get something wrong correct me.
>This fork is not the original pfetch (original is discontinued).
>This fork is also used is NetBSD's pkgsrc tree.
>
>Committer: Daniel Hejduk <danielhejduk@disroot.org>
>---
> sysutils/pfetch/Makefile  | 23 +++++++++++++++++++++++
> sysutils/pfetch/distinfo  |  2 ++
> sysutils/pfetch/pkg/DESCR |  1 +
> sysutils/pfetch/pkg/PLIST |  1 +
> 4 files changed, 27 insertions(+)
> create mode 100644 sysutils/pfetch/Makefile
> create mode 100644 sysutils/pfetch/distinfo
> create mode 100644 sysutils/pfetch/pkg/DESCR
> create mode 100644 sysutils/pfetch/pkg/PLIST
>
>diff --git a/sysutils/pfetch/Makefile b/sysutils/pfetch/Makefile
>new file mode 100644
>index 000000000..1ae210143
>--- /dev/null
>+++ b/sysutils/pfetch/Makefile
>@@ -0,0 +1,23 @@
>+COMMENT =	Pretty system information tool written in POSIX sh
>+CATEGORIES =	sysutils misc
>+
>+MAINTAINER =	Daniel Hejduk <danielhejduk@disroot.org>
>+
>+GH_ACCOUNT =	un1q32
>+GH_PROJECT =	pfetch
>+GH_TAGNAME =	1.1.0
>+REVISION =	0
>+
>+# MIT
>+PERMIT_PACKAGE = 	Yes
>+
>+NO_BUILD =	Yes
>+
>+NO_TEST =	Yes
>+
>+PKG_ARCH =	*
>+
>+do-install:
>+	${INSTALL_SCRIPT} ${WRKSRC}/pfetch ${PREFIX}/bin/pfetch
>+
>+.include <bsd.port.mk>
>diff --git a/sysutils/pfetch/distinfo b/sysutils/pfetch/distinfo
>new file mode 100644
>index 000000000..d30ca6d9e
>--- /dev/null
>+++ b/sysutils/pfetch/distinfo
>@@ -0,0 +1,2 @@
>+SHA256 (pfetch-1.1.0.tar.gz) = A78+nfNRGtjxK657yFkxGSPw7ZMVp3U/fL7NQqU8xbg=
>+SIZE (pfetch-1.1.0.tar.gz) = 23482
>diff --git a/sysutils/pfetch/pkg/DESCR b/sysutils/pfetch/pkg/DESCR
>new file mode 100644
>index 000000000..f1d7823e1
>--- /dev/null
>+++ b/sysutils/pfetch/pkg/DESCR
>@@ -0,0 +1 @@
>+Pretty system information tool written in POSIX sh
>diff --git a/sysutils/pfetch/pkg/PLIST b/sysutils/pfetch/pkg/PLIST
>new file mode 100644
>index 000000000..d5b399bdf
>--- /dev/null
>+++ b/sysutils/pfetch/pkg/PLIST
>@@ -0,0 +1 @@
>+bin/pfetch
>-- 
>2.44.1
>