summaryrefslogtreecommitdiff
path: root/sysutils/progress
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sysutils/progress/Makefile27
-rw-r--r--sysutils/progress/distinfo3
-rw-r--r--sysutils/progress/files/patch-Makefile11
-rw-r--r--sysutils/progress/pkg-descr5
4 files changed, 46 insertions, 0 deletions
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).