git: 7cb2e0f8a00a - main - deskutils/xannotate: New port: Turn static CLI commands into TUIs with ease

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 31 Dec 2022 10:22:07 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7cb2e0f8a00ad42d7c30b89096886086440177d4

commit 7cb2e0f8a00ad42d7c30b89096886086440177d4
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-31 10:08:31 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-31 10:22:02 +0000

    deskutils/xannotate: New port: Turn static CLI commands into TUIs with ease
---
 deskutils/Makefile            |  1 +
 deskutils/xannotate/Makefile  | 26 ++++++++++++++++++++++++++
 deskutils/xannotate/distinfo  |  3 +++
 deskutils/xannotate/pkg-descr |  3 +++
 4 files changed, 33 insertions(+)

diff --git a/deskutils/Makefile b/deskutils/Makefile
index f7cf0dc164b1..cf569434c653 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -267,6 +267,7 @@
     SUBDIR += when
     SUBDIR += wmpinboard
     SUBDIR += x026
+    SUBDIR += xannotate
     SUBDIR += xcalendar
     SUBDIR += xcbautolock
     SUBDIR += xdg-desktop-portal
diff --git a/deskutils/xannotate/Makefile b/deskutils/xannotate/Makefile
new file mode 100644
index 000000000000..bcb3d8d7d31b
--- /dev/null
+++ b/deskutils/xannotate/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	xannotate
+DISTVERSION=	g20220604
+CATEGORIES=	deskutils
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Turn static CLI commands into TUIs with ease
+WWW=		https://github.com/jesseduffield/lazycli
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		gmake localbase xorg
+USE_XORG=	x11 xtst
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	blais
+GH_TAGNAME=	66821cc
+
+GNU_CONFIGURE=	yes
+
+PLIST_FILES=	bin/${PORTNAME}
+
+xpost-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/deskutils/xannotate/distinfo b/deskutils/xannotate/distinfo
new file mode 100644
index 000000000000..29fa05f058dc
--- /dev/null
+++ b/deskutils/xannotate/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1672476797
+SHA256 (blais-xannotate-g20220604-66821cc_GH0.tar.gz) = 6c2ced9fe088e4fe40a5dead0a662e18ff9b425832c8a223fc8d019297d3c19c
+SIZE (blais-xannotate-g20220604-66821cc_GH0.tar.gz) = 129766
diff --git a/deskutils/xannotate/pkg-descr b/deskutils/xannotate/pkg-descr
new file mode 100644
index 000000000000..712316911e62
--- /dev/null
+++ b/deskutils/xannotate/pkg-descr
@@ -0,0 +1,3 @@
+xannotate is a simple program that opens a screen-size window over whatever is
+present and allows you to scribble over it. This is useful when you are doing
+a demo and you need to annotate parts of what is on-screen.