Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145215778
D54863.id170460.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D54863.id170460.diff
View Options
diff --git a/sysutils/Makefile b/sysutils/Makefile
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1588,6 +1588,7 @@
SUBDIR += waitforssh
SUBDIR += walk
SUBDIR += watchfolder
+ SUBDIR += watchcat
SUBDIR += watchman
SUBDIR += watchmen
SUBDIR += waynergy
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:ef0629a71853b145def2b8b27300d3d02b228739:pipes/dps/pipes \
+ norayr:strutils:2a450a1ef94a431787e258e262d053377ac9275c:strutils/dps/strutils \
+ norayr:time:8f4d8612518cd69f91e85fa224c85bfe5d506028:time/dps/time
+
+PLIST_FILES= bin/watchcat
+
+pre-build:
+ ${MKDIR} ${WRKSRC}/build/
+
+do-build:
+ (cd ${WRKSRC}/build && \
+ ${SETENVI} ${MAKE_ENV} 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
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 18, 5:02 AM (9 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28837819
Default Alt Text
D54863.id170460.diff (2 KB)
Attached To
Mode
D54863: sysutils/watchcat: new port
Attached
Detach File
Event Timeline
Log In to Comment