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
This commit is contained in:
Hiroki Tagato
2025-09-29 04:35:08 +09:00
parent 1d4def0259
commit 2390c9367c
5 changed files with 47 additions and 0 deletions
+1
View File
@@ -1003,6 +1003,7 @@
SUBDIR += process-viewer
SUBDIR += procmap
SUBDIR += procs
SUBDIR += progress
SUBDIR += pslist
SUBDIR += psmisc
SUBDIR += pstack
+27
View File
@@ -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>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1758528833
SHA256 (Xfennec-progress-v0.17_GH0.tar.gz) = ee9538fce98895dcf0d108087d3ee2e13f5c08ed94c983f0218a7a3d153b725d
SIZE (Xfennec-progress-v0.17_GH0.tar.gz) = 60357
+11
View File
@@ -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)
+5
View File
@@ -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).