pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils ufetch: Import ufetch-0.2 as sysutils/ufetch



details:   https://anonhg.NetBSD.org/pkgsrc/rev/21b52b82d70e
branches:  trunk
changeset: 346353:21b52b82d70e
user:      ng0 <ng0%pkgsrc.org@localhost>
date:      Tue Dec 31 11:16:49 2019 +0000

description:
ufetch: Import ufetch-0.2 as sysutils/ufetch

packaged by pin <voidpin%protonmail.com@localhost> in pkgsrc-wip

Tiny system info for Unix-like operating systems.

diffstat:

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

diffs (127 lines):

diff -r b1f63203c3f9 -r 21b52b82d70e sysutils/Makefile
--- a/sysutils/Makefile Tue Dec 31 10:45:19 2019 +0000
+++ b/sysutils/Makefile Tue Dec 31 11:16:49 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.849 2019/12/29 01:33:09 fox Exp $
+# $NetBSD: Makefile,v 1.850 2019/12/31 11:16:49 ng0 Exp $
 #
 
 COMMENT=       System utilities
@@ -673,6 +673,7 @@
 SUBDIR+=       u-boot-sopine-baseboard
 SUBDIR+=       u-boot-tinker
 SUBDIR+=       u-boot-zynq-zybo-z7
+SUBDIR+=       ufetch
 SUBDIR+=       upower
 SUBDIR+=       ups-nut
 SUBDIR+=       ups-nut-cgi
diff -r b1f63203c3f9 -r 21b52b82d70e sysutils/ufetch/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ufetch/DESCR     Tue Dec 31 11:16:49 2019 +0000
@@ -0,0 +1,1 @@
+Tiny system info for Unix-like operating systems.
diff -r b1f63203c3f9 -r 21b52b82d70e sysutils/ufetch/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ufetch/Makefile  Tue Dec 31 11:16:49 2019 +0000
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.3 2019/12/31 11:16:49 ng0 Exp $
+
+DISTNAME=      ufetch-v0.2
+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/
+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 b1f63203c3f9 -r 21b52b82d70e sysutils/ufetch/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ufetch/PLIST     Tue Dec 31 11:16:49 2019 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.3 2019/12/31 11:16:49 ng0 Exp $
+bin/ufetch
diff -r b1f63203c3f9 -r 21b52b82d70e sysutils/ufetch/PLIST.Linux
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ufetch/PLIST.Linux       Tue Dec 31 11:16:49 2019 +0000
@@ -0,0 +1,32 @@
+@comment $NetBSD: PLIST.Linux,v 1.3 2019/12/31 11:16:49 ng0 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 b1f63203c3f9 -r 21b52b82d70e sysutils/ufetch/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/ufetch/distinfo  Tue Dec 31 11:16:49 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.3 2019/12/31 11:16:49 ng0 Exp $
+
+SHA1 (ufetch-v0.2.tar.gz) = 747546eface0fdce659e3f04a9ba524280bfd37f
+RMD160 (ufetch-v0.2.tar.gz) = 89360a31e7bf56bf492701b6949e6cb90b63cdf7
+SHA512 (ufetch-v0.2.tar.gz) = 814052ac45bdd226a36453b392b0d723d3483ae43ce7000a315c0d926f05bbad31ed63f384b64b5dacf2cecc6f60c1f436417c5599d27ec44313544d2ae568b9
+Size (ufetch-v0.2.tar.gz) = 44302 bytes



Home | Main Index | Thread Index | Old Index