diff options
| author | Hiroki Tagato <tagattie@FreeBSD.org> | 2025-09-28 19:34:05 +0000 |
|---|---|---|
| committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2025-09-28 19:35:08 +0000 |
| commit | 2390c9367c4e7bca063b18490bc6b701bd69ae38 (patch) | |
| tree | 7fc3c5d9146d7826c6f64d5ef6653c947e7135a9 | |
| parent | 1d4def0259d8eb71b6c7d7c75e57f3d30b0ed700 (diff) | |
sysutils/progress: add port: Show progress for various command-line programs
This tool can be described as a tiny, dirty C command that looks for
coreutils basic commands (cp, mv, dd, tar, gzip/gunzip, cat, etc.)
currently running on your system and displays the percentage of copied
data. It can also show estimated time and throughput, and provides a
"top-like" mode (monitoring).
WWW: https://github.com/Xfennec/progress
| -rw-r--r-- | sysutils/Makefile | 1 | ||||
| -rw-r--r-- | sysutils/progress/Makefile | 27 | ||||
| -rw-r--r-- | sysutils/progress/distinfo | 3 | ||||
| -rw-r--r-- | sysutils/progress/files/patch-Makefile | 11 | ||||
| -rw-r--r-- | sysutils/progress/pkg-descr | 5 |
5 files changed, 47 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 8652b26f837a..e0b008fff741 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1003,6 +1003,7 @@ SUBDIR += process-viewer SUBDIR += procmap SUBDIR += procs + SUBDIR += progress SUBDIR += pslist SUBDIR += psmisc SUBDIR += pstack diff --git a/sysutils/progress/Makefile b/sysutils/progress/Makefile new file mode 100644 index 000000000000..662e252d032a --- /dev/null +++ b/sysutils/progress/Makefile @@ -0,0 +1,27 @@ +PORTNAME= progress +DISTVERSIONPREFIX= v +DISTVERSION= 0.17 +CATEGORIES= sysutils + +MAINTAINER= tagattie@FreeBSD.org +COMMENT= Show progress for various command-line programs +WWW= https://github.com/Xfennec/progress + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= gmake + +USE_GITHUB= yes +GH_ACCOUNT= Xfennec + +ALL_TARGET= ${PORTNAME} + +PLIST_FILES= bin/${PORTNAME} \ + share/man/man1/${PORTNAME}.1.gz \ + share/zsh/site-functions/_${PORTNAME} + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/sysutils/progress/distinfo b/sysutils/progress/distinfo new file mode 100644 index 000000000000..9dc37363771c --- /dev/null +++ b/sysutils/progress/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1758528833 +SHA256 (Xfennec-progress-v0.17_GH0.tar.gz) = ee9538fce98895dcf0d108087d3ee2e13f5c08ed94c983f0218a7a3d153b725d +SIZE (Xfennec-progress-v0.17_GH0.tar.gz) = 60357 diff --git a/sysutils/progress/files/patch-Makefile b/sysutils/progress/files/patch-Makefile new file mode 100644 index 000000000000..7d56499831a7 --- /dev/null +++ b/sysutils/progress/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2025-09-22 08:19:02 UTC ++++ Makefile +@@ -40,7 +40,7 @@ install : $(OBJ) + @install -pm0644 $(OBJ).1 $(DESTDIR)$(MANDIR)/ || \ + echo "Failed. Try "make PREFIX=~ install" ?" + @echo "Installing zsh completion to $(DESTDIR)$(ZSHDIR) ..." +- @install -Dpm0644 _$(OBJ) -t $(DESTDIR)$(ZSHDIR)/ || \ ++ @install -Dpm0644 _$(OBJ) $(DESTDIR)$(ZSHDIR)/ || \ + echo "Failed. Try "make PREFIX=~ install" ?" + uninstall : + @rm -f $(DESTDIR)$(BINDIR)/$(OBJ) diff --git a/sysutils/progress/pkg-descr b/sysutils/progress/pkg-descr new file mode 100644 index 000000000000..81833e5191db --- /dev/null +++ b/sysutils/progress/pkg-descr @@ -0,0 +1,5 @@ +This tool can be described as a tiny, dirty C command that looks for +coreutils basic commands (cp, mv, dd, tar, gzip/gunzip, cat, etc.) +currently running on your system and displays the percentage of copied +data. It can also show estimated time and throughput, and provides a +"top-like" mode (monitoring). |
