Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2023 16:17:56 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3ab5fcc4895c - main - devel/gum: A tool for glamorous shell scripts
Message-ID:  <202304281617.33SGHu4T044487@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3ab5fcc4895c753db12b08425e5cdac6cb0ebdae

commit 3ab5fcc4895c753db12b08425e5cdac6cb0ebdae
Author:     Dave Turner <dave@bitboss.ca>
AuthorDate: 2023-04-26 23:41:18 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-04-28 16:13:40 +0000

    devel/gum: A tool for glamorous shell scripts
    
    Gum provides highly configurable, ready-to-use utilities to help you write
    useful shell scripts and dotfiles aliases with just a few lines of code. Gum
    is designed to be embedded in scripts and supports all sorts of use cases.
    Components are configurable and customizable to fit your theme and use case.
    
    WWW: https://github.com/charmbracelet/gum
    
    PR:             271028
---
 devel/Makefile      |  1 +
 devel/gum/Makefile  | 33 +++++++++++++++++++++++++++++++++
 devel/gum/distinfo  |  5 +++++
 devel/gum/pkg-descr |  4 ++++
 4 files changed, 43 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 9d340249aec3..a5b2490692e7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -929,6 +929,7 @@
     SUBDIR += gtranslator
     SUBDIR += guichan
     SUBDIR += guile-lib
+    SUBDIR += gum
     SUBDIR += gumbo
     SUBDIR += gvfs
     SUBDIR += gvp
diff --git a/devel/gum/Makefile b/devel/gum/Makefile
new file mode 100644
index 000000000000..d4547e8f2c45
--- /dev/null
+++ b/devel/gum/Makefile
@@ -0,0 +1,33 @@
+PORTNAME=	gum
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.10.0
+CATEGORIES=	devel
+
+MAINTAINER=	dave@bitboss.ca
+COMMENT=	Tool for glamorous shell scripts
+WWW=		https://github.com/charmbracelet/gum
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:modules
+GO_MODULE=	github.com/charmbracelet/gum
+
+PLIST_FILES=	bin/gum \
+		etc/bash_completion.d/gum \
+		man/man1/gum.1.gz \
+		share/zsh/site-functions/_gum
+
+post-build:
+	${MKDIR} ${WRKDIR}/manpages
+	${WRKDIR}/bin/gum man > ${WRKDIR}/manpages/gum.1
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKDIR}/bin/gum ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKDIR}/manpages/gum.1 ${STAGEDIR}${PREFIX}/man/man1/
+	${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
+	${WRKDIR}/bin/gum completion bash > ${STAGEDIR}${PREFIX}/etc/bash_completion.d/gum
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
+	${WRKDIR}/bin/gum completion zsh > ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_gum
+
+.include <bsd.port.mk>
diff --git a/devel/gum/distinfo b/devel/gum/distinfo
new file mode 100644
index 000000000000..9cccd6c80793
--- /dev/null
+++ b/devel/gum/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1682549928
+SHA256 (go/devel_gum/gum-v0.10.0/v0.10.0.mod) = a825c87317e8915fad3add7ec3ec859e1df35df284151cffa288392dc72e739c
+SIZE (go/devel_gum/gum-v0.10.0/v0.10.0.mod) = 1799
+SHA256 (go/devel_gum/gum-v0.10.0/v0.10.0.zip) = cfdcf0b13a60c11de110f4eb49b6e7acd94fb220e80514f116b2d2c491604089
+SIZE (go/devel_gum/gum-v0.10.0/v0.10.0.zip) = 84034
diff --git a/devel/gum/pkg-descr b/devel/gum/pkg-descr
new file mode 100644
index 000000000000..2aebb3ef612d
--- /dev/null
+++ b/devel/gum/pkg-descr
@@ -0,0 +1,4 @@
+Gum provides highly configurable, ready-to-use utilities to help you write
+useful shell scripts and dotfiles aliases with just a few lines of code. Gum
+is designed to be embedded in scripts and supports all sorts of use cases.
+Components are configurable and customizable to fit your theme and use case.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304281617.33SGHu4T044487>