git: 191ada7a5463 - main - sysutils/viddy: Add port: Modern watch command
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Dec 2021 18:27:48 UTC
The branch main has been updated by lcook: URL: https://cgit.FreeBSD.org/ports/commit/?id=191ada7a5463617e57358161b0bc4abf2491751d commit 191ada7a5463617e57358161b0bc4abf2491751d Author: Lewis Cook <lcook@FreeBSD.org> AuthorDate: 2021-12-03 18:24:11 +0000 Commit: Lewis Cook <lcook@FreeBSD.org> CommitDate: 2021-12-03 18:26:24 +0000 sysutils/viddy: Add port: Modern watch command WWW: https://github.com/sachaos/viddy --- sysutils/Makefile | 1 + sysutils/viddy/Makefile | 30 ++++++++++++++++++++++++++++++ sysutils/viddy/distinfo | 5 +++++ sysutils/viddy/pkg-descr | 8 ++++++++ 4 files changed, 44 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 8465410fd936..060404e44d19 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1485,6 +1485,7 @@ SUBDIR += vchanger SUBDIR += vcp SUBDIR += vector + SUBDIR += viddy SUBDIR += videogen SUBDIR += vii SUBDIR += vils diff --git a/sysutils/viddy/Makefile b/sysutils/viddy/Makefile new file mode 100644 index 000000000000..dad058f42b2b --- /dev/null +++ b/sysutils/viddy/Makefile @@ -0,0 +1,30 @@ +PORTNAME= viddy +DISTVERSIONPREFIX= v +DISTVERSION= 0.3.4 +CATEGORIES= sysutils +MASTER_SITES= + +MAINTAINER= lcook@FreeBSD.org +COMMENT= Modern watch command + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +GO_MODULE= github.com/sachaos/${PORTNAME} +GO_BUILDFLAGS= -ldflags "\ + -s -w \ + -X main.version=${DISTVERSION}" + +PLIST_FILES= bin/${PORTNAME} +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} \ + ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/sysutils/viddy/distinfo b/sysutils/viddy/distinfo new file mode 100644 index 000000000000..7c458c47240f --- /dev/null +++ b/sysutils/viddy/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1638554962 +SHA256 (go/sysutils_viddy/viddy-v0.3.4/v0.3.4.mod) = 57eda418de9737c7204bc415b6a721ae64b2628b184a94d191dcab9dd127f963 +SIZE (go/sysutils_viddy/viddy-v0.3.4/v0.3.4.mod) = 1955 +SHA256 (go/sysutils_viddy/viddy-v0.3.4/v0.3.4.zip) = f8953fe10d9ceddd95e0061fdd5c38a19759edae7238bf1a85ff2b5c99888b2e +SIZE (go/sysutils_viddy/viddy-v0.3.4/v0.3.4.zip) = 9412677 diff --git a/sysutils/viddy/pkg-descr b/sysutils/viddy/pkg-descr new file mode 100644 index 000000000000..2270c47de687 --- /dev/null +++ b/sysutils/viddy/pkg-descr @@ -0,0 +1,8 @@ +Modern watch command. It can run a command periodically, +displaying the result, highlighting diffs in output. It +also has a time machine mode which allows rewinding output +over time like video, moving backwards and forwards in time. +viddy also allows for searching text, has vim like keymaps, +as well as the ability to suspend and restart execution. + +WWW: https://github.com/sachaos/viddy