Date: Thu, 3 Feb 2022 19:38:09 GMT From: Lewis Cook <lcook@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: ae84243f7438 - main - sysutils/smug: Add new port: Session manager and task runner for tmux Message-ID: <202202031938.213Jc9b9041852@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by lcook: URL: https://cgit.FreeBSD.org/ports/commit/?id=ae84243f743832495d405957f312df764b5367e2 commit ae84243f743832495d405957f312df764b5367e2 Author: Lewis Cook <lcook@FreeBSD.org> AuthorDate: 2022-02-03 19:35:18 +0000 Commit: Lewis Cook <lcook@FreeBSD.org> CommitDate: 2022-02-03 19:37:50 +0000 sysutils/smug: Add new port: Session manager and task runner for tmux --- sysutils/Makefile | 1 + sysutils/smug/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ sysutils/smug/distinfo | 5 +++++ sysutils/smug/pkg-descr | 5 +++++ 4 files changed, 56 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 938b77a2529f..5447c4659170 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1297,6 +1297,7 @@ SUBDIR += smartmontools SUBDIR += smenu SUBDIR += smp_utils + SUBDIR += smug SUBDIR += snap SUBDIR += snapraid SUBDIR += snmp_exporter diff --git a/sysutils/smug/Makefile b/sysutils/smug/Makefile new file mode 100644 index 000000000000..8f3acba0fbf3 --- /dev/null +++ b/sysutils/smug/Makefile @@ -0,0 +1,45 @@ +PORTNAME= smug +DISTVERSIONPREFIX= v +DISTVERSION= 0.2.6 +CATEGORIES= sysutils + +MAINTAINER= lcook@FreeBSD.org +COMMENT= Session manager and task runner for tmux + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules +GO_MODULE= github.com/ivaaaan/${PORTNAME} +GO_BUILDFLAGS= -ldflags "\ + -s -w \ + -X main.Version=${DISTVERSIONFULL}" + +PLIST_FILES= bin/${PORTNAME} +PORTDOCS= CODE_OF_CONDUCT.md README.md + +OPTIONS_DEFINE= COMPLETIONS DOCS MANPAGES +OPTIONS_DEFAULT= COMPLETIONS MANPAGES + +COMPLETIONS_DESC= Install bash and fish shell completions + +COMPLETIONS_PLIST_FILES= share/bash-completion/completions/${PORTNAME} \ + share/fish/vendor_completions.d/${PORTNAME}.fish +MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz + +post-install-COMPLETIONS-on: + ${INSTALL_DATA} ${WRKSRC}/completion/${PORTNAME}.bash \ + ${STAGEDIR}${PREFIX}/share/bash-completion/completions/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/completion/${PORTNAME}.fish \ + ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/${PORTNAME}.fish + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} \ + ${STAGEDIR}${DOCSDIR} + +post-install-MANPAGES-on: + ${INSTALL_MAN} ${WRKSRC}/man/man1/${PORTNAME}.1 \ + ${STAGEDIR}${MAN1PREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/sysutils/smug/distinfo b/sysutils/smug/distinfo new file mode 100644 index 000000000000..29e3931be8fc --- /dev/null +++ b/sysutils/smug/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1643916103 +SHA256 (go/sysutils_smug/smug-v0.2.6/v0.2.6.mod) = c87af7b62bfc44b25b125bd9671c4e5ef4fade67ed3f68f29019cfe42bc1943c +SIZE (go/sysutils_smug/smug-v0.2.6/v0.2.6.mod) = 109 +SHA256 (go/sysutils_smug/smug-v0.2.6/v0.2.6.zip) = ce810a2d083ef98694501945af9768f474f7bda8ddfb04ad832f82d81c3cfecd +SIZE (go/sysutils_smug/smug-v0.2.6/v0.2.6.zip) = 23378 diff --git a/sysutils/smug/pkg-descr b/sysutils/smug/pkg-descr new file mode 100644 index 000000000000..cc958f0bba40 --- /dev/null +++ b/sysutils/smug/pkg-descr @@ -0,0 +1,5 @@ +Smug automates your tmux workflow. You can create a single +configuration file, and Smug will create all the required +windows and panes from it. + +WWW: https://github.com/ivaaaan/smug
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202031938.213Jc9b9041852>