pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils



Module Name:    pkgsrc
Committed By:   ng0
Date:           Tue Dec 31 11:16:49 UTC 2019

Modified Files:
        pkgsrc/sysutils: Makefile
Added Files:
        pkgsrc/sysutils/ufetch: DESCR Makefile PLIST PLIST.Linux distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.849 -r1.850 pkgsrc/sysutils/Makefile
cvs rdiff -u -r0 -r1.3 pkgsrc/sysutils/ufetch/DESCR \
    pkgsrc/sysutils/ufetch/Makefile pkgsrc/sysutils/ufetch/PLIST \
    pkgsrc/sysutils/ufetch/PLIST.Linux pkgsrc/sysutils/ufetch/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/Makefile
diff -u pkgsrc/sysutils/Makefile:1.849 pkgsrc/sysutils/Makefile:1.850
--- pkgsrc/sysutils/Makefile:1.849      Sun Dec 29 01:33:09 2019
+++ pkgsrc/sysutils/Makefile    Tue Dec 31 11:16:49 2019
@@ -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-rpi3-32
 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

Added files:

Index: pkgsrc/sysutils/ufetch/DESCR
diff -u /dev/null pkgsrc/sysutils/ufetch/DESCR:1.3
--- /dev/null   Tue Dec 31 11:16:49 2019
+++ pkgsrc/sysutils/ufetch/DESCR        Tue Dec 31 11:16:49 2019
@@ -0,0 +1 @@
+Tiny system info for Unix-like operating systems.
Index: pkgsrc/sysutils/ufetch/Makefile
diff -u /dev/null pkgsrc/sysutils/ufetch/Makefile:1.3
--- /dev/null   Tue Dec 31 11:16:49 2019
+++ pkgsrc/sysutils/ufetch/Makefile     Tue Dec 31 11:16:49 2019
@@ -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"
Index: pkgsrc/sysutils/ufetch/PLIST
diff -u /dev/null pkgsrc/sysutils/ufetch/PLIST:1.3
--- /dev/null   Tue Dec 31 11:16:49 2019
+++ pkgsrc/sysutils/ufetch/PLIST        Tue Dec 31 11:16:49 2019
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.3 2019/12/31 11:16:49 ng0 Exp $
+bin/ufetch
Index: pkgsrc/sysutils/ufetch/PLIST.Linux
diff -u /dev/null pkgsrc/sysutils/ufetch/PLIST.Linux:1.3
--- /dev/null   Tue Dec 31 11:16:49 2019
+++ pkgsrc/sysutils/ufetch/PLIST.Linux  Tue Dec 31 11:16:49 2019
@@ -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
Index: pkgsrc/sysutils/ufetch/distinfo
diff -u /dev/null pkgsrc/sysutils/ufetch/distinfo:1.3
--- /dev/null   Tue Dec 31 11:16:49 2019
+++ pkgsrc/sysutils/ufetch/distinfo     Tue Dec 31 11:16:49 2019
@@ -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