Page MenuHomeFreeBSD

D54863.id170409.diff
No OneTemporary

D54863.id170409.diff

diff --git a/sysutils/watchcat/Makefile b/sysutils/watchcat/Makefile
new file mode 100644
--- /dev/null
+++ b/sysutils/watchcat/Makefile
@@ -0,0 +1,38 @@
+PORTNAME= watchcat
+DISTVERSION= g20260124
+CATEGORIES= sysutils
+
+MAINTAINER= antranigv@FreeBSD.am
+COMMENT= watchcat combines good things about watch and cat
+
+LICENSE= GPLv2
+
+BUILD_DEPENDS= voc:lang/voc
+
+USE_GITHUB= yes
+GH_ACCOUNT= norayr
+GH_TAGNAME= f1134a59f6b581d8d500b2678407285a1ee6443b
+
+GH_TUPLE= norayr:pipes:ef0629a:pipes/dps/pipes \
+ norayr:strutils:2a450a1:strutils/dps/strutils \
+ norayr:time:8f4d861:time/dps/time
+
+PLIST_FILES= bin/watchcat
+
+pre-build:
+ ${MKDIR} ${WRKSRC}/build/
+
+do-build:
+ (cd ${WRKSRC}/build && \
+ voc \
+ ../dps/time/src/time.Mod -s \
+ ../dps/strutils/src/strTypes.Mod -s \
+ ../dps/strutils/src/strUtils.Mod -s \
+ ../dps/pipes/src/pipes.Mod -s \
+ ../src/watchcat.Mod -M \
+ )
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/build/watchcat ${STAGEDIR}${PREFIX}/bin/watchcat
+
+.include <bsd.port.mk>
diff --git a/sysutils/watchcat/distinfo b/sysutils/watchcat/distinfo
new file mode 100644
--- /dev/null
+++ b/sysutils/watchcat/distinfo
@@ -0,0 +1,9 @@
+TIMESTAMP = 1769346306
+SHA256 (norayr-watchcat-g20260124-f1134a59f6b581d8d500b2678407285a1ee6443b_GH0.tar.gz) = 631ad43c8035b40e1d134c9f906fcf7fa3ab54e3c05255466ca00dfd1cd2b41a
+SIZE (norayr-watchcat-g20260124-f1134a59f6b581d8d500b2678407285a1ee6443b_GH0.tar.gz) = 10293
+SHA256 (norayr-pipes-ef0629a_GH0.tar.gz) = 99b7d561069cd53adf17b5d691d9e383a46102db36ad85844d499c485151aefb
+SIZE (norayr-pipes-ef0629a_GH0.tar.gz) = 8337
+SHA256 (norayr-strutils-2a450a1_GH0.tar.gz) = cdd4a34413b9370f112e1ad9fac76434ab80e28387c611759185cc4fe6dcd84d
+SIZE (norayr-strutils-2a450a1_GH0.tar.gz) = 19359
+SHA256 (norayr-time-8f4d861_GH0.tar.gz) = 99e089f463553b1387ceb6f792c3f1c651444e06924f4c9b6f90cfbd26138e04
+SIZE (norayr-time-8f4d861_GH0.tar.gz) = 7356
diff --git a/sysutils/watchcat/pkg-descr b/sysutils/watchcat/pkg-descr
new file mode 100644
--- /dev/null
+++ b/sysutils/watchcat/pkg-descr
@@ -0,0 +1,4 @@
+Watchcat is a command-line tool that combines the functionalities of
+the 'watch' and 'cat' commands. It allows users to monitor the output
+of a command by executing it repeatedly at specified intervals or to
+watch a file for changes and display its contents when modified.

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 29, 1:34 AM (13 m, 44 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28070424
Default Alt Text
D54863.id170409.diff (2 KB)

Event Timeline