From nobody Thu Feb 3 19:38:09 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8E83B19A1DF3; Thu, 3 Feb 2022 19:38:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JqTV93ZcMz4vQ0; Thu, 3 Feb 2022 19:38:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643917089; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4QWq7fsUDluOG8tpZ098y7ZobLp5BtYAbgHLKFS5gsI=; b=ent90c3duDIMyHDLHcJBAfGgkosePbNsskLiSD6q1njj3trz9IUlMxvpT8VmjF5dxL3VoW Xxyv4gylvXbVDW5VZWvHaPOpsmaSS9rbNjLGbjAF31SzgbsRpiTFKQLcRibUCXsYwvk6e2 d/17Rl872M63Quu1y+Xygk4nUHnDokDYmy7YRgIOib1c2HuuXDKM+RzKd6gyriAfV6vv9I TP9vN/Jk7Mf3XePayAzT3j5Umju8QodR+7Zv3k+m4DTVHwlwvcaw4d1ZW/pqB0cAmD7gJt 3CXbpL5UZ8NPkJIuSKhqQamDTLDGOSfmDBJP+13XUTiFkCpemwqzgJqHy6MhXQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5B58F1DA61; Thu, 3 Feb 2022 19:38:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 213Jc94t041853; Thu, 3 Feb 2022 19:38:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 213Jc9b9041852; Thu, 3 Feb 2022 19:38:09 GMT (envelope-from git) Date: Thu, 3 Feb 2022 19:38:09 GMT Message-Id: <202202031938.213Jc9b9041852@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Lewis Cook Subject: git: ae84243f7438 - main - sysutils/smug: Add new port: Session manager and task runner for tmux List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lcook X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ae84243f743832495d405957f312df764b5367e2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643917089; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4QWq7fsUDluOG8tpZ098y7ZobLp5BtYAbgHLKFS5gsI=; b=m0duqHjzhNTZbPTti2RSTC2bTzoZRMK+5uLTC7UGTxcnquSM2y8AcpIHNxvyGJ+8AwTBny D0CZdi6zfE4wjvk6DuyAs/aPpG5cJoia/ZDuNK5kSZrtSJFPcOlSWZKhAXuSbboLuUaac7 uh62ZSigBr3gBH4ojxnGGgLird5gHjKMaURoaEZfNDULA5iMcaPKEXQpB2QWJgZ+4UDUcl /3jzwVoMixmswq/rgGC7F1T6eTW9tQ+zhRi1Pe57euJrzcKelb20owPqx6BtUoWItYwW+b IZ04QmpYs2rfpAuEku6tksZZpYW70nrsxo1aMlIqjS0z1lxS/Uygk2OPykRuOg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643917089; a=rsa-sha256; cv=none; b=HDPfwYfYxvwPdA6Q7GJ9FMzmjjD6Z1+rsVT/XIs0WUkWVdrpOH7yyLc3OpJtnySY4UqzYi LrWGcnDfq0Cll5RyEFRj0ppBhJeDpjY2XipIdbAbDM5IPbkPckkiWhPW86ATiUeuykQX6I zabb+vwYbx3zWaw1f+3UXR+yEkbx6imNl/N0ciAn61Va2lkqO9RXE5ku9T3paykWF0S+bd zcWnG3EO5MQFbb0/RnANFnbeTbP8b+X1tMCCUoLwZTZGT8MX/y8Ciq+TKVtJmCcejpLHfT PGC6Jdg+hZON8zfe//YF+ey2SWiKfgNhoRXAq+Btsvu3czZ+w7Zur1dQq0xytA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by lcook: URL: https://cgit.FreeBSD.org/ports/commit/?id=ae84243f743832495d405957f312df764b5367e2 commit ae84243f743832495d405957f312df764b5367e2 Author: Lewis Cook AuthorDate: 2022-02-03 19:35:18 +0000 Commit: Lewis Cook 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 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