pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/ufetch sysutils/ufetch: import ufetch-0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/826723ec8257
branches:  trunk
changeset: 406390:826723ec8257
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Fri Dec 20 04:58:35 2019 +0000

description:
sysutils/ufetch: import ufetch-0.1

Tiny system info for Unix-like operating systems.

diffstat:

 sysutils/ufetch/DESCR       |   1 +
 sysutils/ufetch/Makefile    |  49 +++++++++++++++++++++++++++++++++++++++++++++
 sysutils/ufetch/PLIST       |   2 +
 sysutils/ufetch/PLIST.Linux |  32 +++++++++++++++++++++++++++++
 sysutils/ufetch/distinfo    |   6 +++++
 5 files changed, 90 insertions(+), 0 deletions(-)

diffs (110 lines):

diff -r 9fe4f581c478 -r 826723ec8257 sysutils/ufetch/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ufetch/DESCR     Fri Dec 20 04:58:35 2019 +0000
@@ -0,0 +1,1 @@
+Tiny system info for Unix-like operating systems.
diff -r 9fe4f581c478 -r 826723ec8257 sysutils/ufetch/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ufetch/Makefile  Fri Dec 20 04:58:35 2019 +0000
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.1 2019/12/20 04:58:35 kamil Exp $
+
+DISTNAME=      ufetch-v0.1
+PKGNAME=       ${DISTNAME:S/-v/-/}
+CATEGORIES=    sysutils
+MASTER_SITES=  https://gitlab.com/jschx/ufetch/-/archive/v${PKGVERSION_NOREV}/
+
+MAINTAINER=    voidpin%protonmail.com@localhost
+HOMEPAGE=      https://gitlab.com/jschx/ufetch/-/archive/v0.1/
+COMMENT=       Tiny system info for Unix-like operating systems
+LICENSE=       isc
+
+USE_LANGUAGES= # none
+NO_BUILD=      yes
+
+INSTALLATION_DIRS+=    bin
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+FLAVOR=        netbsd
+.elif ${OPSYS} == "OpenBSD"
+FLAVOR=        openbsd
+.elif ${OPSYS} == "FreeBSD"
+FLAVOR=        freebsd
+.elif ${OPSYS} == "Darwin"
+FLAVOR=        macos
+.elif ${OPSYS} == "Linux"
+FLAVOR=        linux
+.else
+BROKEN=        "Unsupported OS"
+.endif
+
+do-install:
+       ${RUN} cd ${WRKSRC} && \
+               ${INSTALL_SCRIPT} \
+                       ufetch-${FLAVOR} ${DESTDIR}${PREFIX}/bin/ufetch
+.if ${OPSYS} == "Linux"
+.  for f in alpine antergos arch archbang arco artix aux centos crux debian \
+          elementary fedora gentoo gnewsense guixsd hyperbola linuxlite mageia \
+          manjaro mint mx nixos parabola popos pureos raspbian slackware suse \
+          ubuntu void
+       ${RUN} cd ${WRKSRC} && \
+               ${INSTALL_SCRIPT} \
+                       ufetch-${f} ${DESTDIR}${PREFIX}/bin/ufetch-${f}
+.  endfor
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff -r 9fe4f581c478 -r 826723ec8257 sysutils/ufetch/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ufetch/PLIST     Fri Dec 20 04:58:35 2019 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2019/12/20 04:58:35 kamil Exp $
+bin/ufetch
diff -r 9fe4f581c478 -r 826723ec8257 sysutils/ufetch/PLIST.Linux
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ufetch/PLIST.Linux       Fri Dec 20 04:58:35 2019 +0000
@@ -0,0 +1,32 @@
+@comment $NetBSD: PLIST.Linux,v 1.1 2019/12/20 04:58:35 kamil Exp $
+bin/ufetch-alpine
+bin/ufetch-antergos
+bin/ufetch-arch
+bin/ufetch-archbang
+bin/ufetch-arco
+bin/ufetch-artix
+bin/ufetch-aux
+bin/ufetch-centos
+bin/ufetch-crux
+bin/ufetch-debian
+bin/ufetch-elementary
+bin/ufetch-fedora
+bin/ufetch-gentoo
+bin/ufetch-gnewsense
+bin/ufetch-guixsd
+bin/ufetch-hyperbola
+bin/ufetch-linuxlite
+bin/ufetch-mageia
+bin/ufetch-manjaro
+bin/ufetch-mint
+bin/ufetch-mx
+bin/ufetch-nixos
+bin/ufetch-parabola
+bin/ufetch-popos
+bin/ufetch-pureos
+bin/ufetch-raspbian
+bin/ufetch-slackware
+bin/ufetch-suse
+bin/ufetch-ubuntu
+bin/ufetch-void
+bin/ufetch-voyager
diff -r 9fe4f581c478 -r 826723ec8257 sysutils/ufetch/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ufetch/distinfo  Fri Dec 20 04:58:35 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/12/20 04:58:35 kamil Exp $
+
+SHA1 (ufetch-v0.1.tar.gz) = 409d7391a57a0e569f9cb0068a8175cc9a6e4511
+RMD160 (ufetch-v0.1.tar.gz) = 4e923db3337ff9251a9adbabd86cc4c4a6ccde56
+SHA512 (ufetch-v0.1.tar.gz) = 8ae9165d9fb00dce9317ea8ac0ad99bcb5a85f5edf9ca3fa4129b66d9cccedbf1c5fdede6a1b6d466e1cc1293983436a2e33498f7bc5849d22bbe1257882f136
+Size (ufetch-v0.1.tar.gz) = 44131 bytes



Home | Main Index | Thread Index | Old Index