diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/gum/Makefile | 33 | ||||
-rw-r--r-- | devel/gum/distinfo | 5 | ||||
-rw-r--r-- | devel/gum/pkg-descr | 4 |
4 files changed, 43 insertions, 0 deletions
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. |