From nobody Mon Feb 27 22:49:41 2023 X-Original-To: dev-commits-ports-main@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 4PQbKf5kBRz3tGmQ; Mon, 27 Feb 2023 22:49:42 +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 4PQbKf4kN3z3rC5; Mon, 27 Feb 2023 22:49:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677538182; 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=4zC9v4Q90fHFNslDkGBlfmsJPgsu0xaUqk0nK1txezA=; b=iSzZ+EA535st/EbcX8SzzLThVHEwO4GhLSnqjQNQKGbB/iy0vj7g0DLa0u7pG8Q1VTyslb ENrCYjF6gZZJ0ydxTksah7NFkxFk37sr6RspQ8zffl5Hi0x8f9sokXwvFi5DskbRjDgfUF cYEEmHJGhcp0EmgBl44viaH21Cc946LMyRjokMV5lQACYTm9V8RrM2OgICgwXNzEzpyb9W viaFoE6r6Hlx4gE4+13pyYp+BeZ7rtEf1bJfeHV+n/KHyb5S2yyoSygBk00vATGtW4/oj8 /POEcZaNv0xfqnAI8c3g0qrZRqX6uGxOp2c5uwrPigakmiRfEH8OUcMmqJSWIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677538182; 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=4zC9v4Q90fHFNslDkGBlfmsJPgsu0xaUqk0nK1txezA=; b=hqE+pwnNK9AOMbIAAsw79XBT5lqrlaOlpYDs8LDK3eJvtVag8jr2y5MC3mrLthEapvPeF7 sbWadcFFZocSPZR6NpqhHjIAYXrOuPhBob8SApNVLwkcCAXYLHhCsFM3As181WgVTluLw/ rsPMZFXJ8S9D2BvQ7/H+PuK9jSNzieQZDOWHO04EhlRdlS5WEnVaIU5+MtLyIDmmy1Gs0q 8RoZMmjiVp6Pre7eaz3a3Dtd8rk1chB2qIBUgzRlIs2+JZmcgrZVQQJu80wg9DbYfFyZ49 q0pisOH83B7CuDvdlLBk3CKmiFka8X99s1HkuSm2ejV3D/qSty7aEbgb4oiFvw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677538182; a=rsa-sha256; cv=none; b=o+7yKI2khQmjnPAxixm/2ntutTlu8G9YrnLzmh9lAWdu4adGiDHMZcTlSOoIS+x3lAYReB vkS8ETLnDr7FghnqLGI7HH8KZAjeh18cnIHn3MrkoybdglJJDI+VrmH39idQfUbyr/M7ds AnrkMPMO0TObEzRTznNsV48kGfBIFjWIVYe8qjjvqh+cLD5bvdVXx2PslFVkAWbns4lM7w NEwX93YthWR8uwb6P11dloSWcPr5BzTkZ76DGwqD979C9GPV3xOCsWLggPcJe4N3AwPKQb h1CJmy2o2d4tnI91C7qqbYTy7mhOKxfyhRb1sD2XqT+t4uaIoz0z6B23odj/6Q== 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 4PQbKf3Kx4zkSr; Mon, 27 Feb 2023 22:49:42 +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 31RMnfLN078235; Mon, 27 Feb 2023 22:49:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31RMnfOJ078234; Mon, 27 Feb 2023 22:49:41 GMT (envelope-from git) Date: Mon, 27 Feb 2023 22:49:41 GMT Message-Id: <202302272249.31RMnfOJ078234@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: dd998c7e12c3 - main - sysutils/tmux-xpanes: new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dd998c7e12c3e4a7d31bf9a5cbb6c7d473db9b61 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=dd998c7e12c3e4a7d31bf9a5cbb6c7d473db9b61 commit dd998c7e12c3e4a7d31bf9a5cbb6c7d473db9b61 Author: Vidar Karlsen AuthorDate: 2023-01-22 19:12:03 +0000 Commit: Robert Clausecker CommitDate: 2023-02-27 22:48:18 +0000 sysutils/tmux-xpanes: new port Ultimate terminal divider powered by tmux Features: - Split tmux window into multiple panes * Construct command lines & execute them on the panes - Runnable from outside of tmux session - Runnable from inside of tmux session - Record operation log - Flexible layout arrangement for panes * Select layout presets * Set columns or rows as you like - Display pane title on each pane - Generate command lines from standard input (Pipe mode) WWW: https://github.com/greymd/tmux-xpanes Maintainer becomes submitter. Already submitter of other ports. PR: 269102 Approved by: flo (mentor) Differential Revision: https://reviews.freebsd.org/D38780 --- sysutils/Makefile | 1 + sysutils/tmux-xpanes/Makefile | 45 ++++++++++++++++++++++++++++++++++++++++++ sysutils/tmux-xpanes/distinfo | 3 +++ sysutils/tmux-xpanes/pkg-descr | 12 +++++++++++ sysutils/tmux-xpanes/pkg-plist | 4 ++++ 5 files changed, 65 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 27286768d7fb..cc50c24396e7 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1430,6 +1430,7 @@ SUBDIR += tmpwatch SUBDIR += tmux SUBDIR += tmux-mem-cpu-load + SUBDIR += tmux-xpanes SUBDIR += tmux23 SUBDIR += topgrade SUBDIR += topless diff --git a/sysutils/tmux-xpanes/Makefile b/sysutils/tmux-xpanes/Makefile new file mode 100644 index 000000000000..8f7049d020ce --- /dev/null +++ b/sysutils/tmux-xpanes/Makefile @@ -0,0 +1,45 @@ +PORTNAME= tmux-xpanes +DISTVERSIONPREFIX= v +DISTVERSION= 4.1.3 +CATEGORIES= sysutils + +MAINTAINER= vidar@karlsen.tech +COMMENT= Ultimate terminal divider powered by tmux +WWW= https://github.com/greymd/tmux-xpanes + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= bash>0:shells/bash tmux>0:sysutils/tmux +TEST_DEPENDS= shunit2>0:devel/shunit2 + +USES= shebangfix +USE_GITHUB= yes +GH_ACCOUNT= greymd +SHEBANG_FILES= ${WRKSRC}/bin/xpanes + +NO_ARCH= yes +NO_BUILD= yes + +OPTIONS_DEFINE= DOCS + +do-configure: + ${REINPLACE_CMD} 's|XP_SHELL="/usr/bin/env bash"|XP_SHELL="${bash_CMD}"|' \ + ${WRKSRC}/bin/xpanes + +do-install: + cd ${WRKSRC} && ${INSTALL_SCRIPT} bin/xpanes ${STAGEDIR}${PREFIX}/bin + cd ${WRKSRC} && ${INSTALL_MAN} man/xpanes.1 ${STAGEDIR}${MANPREFIX}/man/man1 + cd ${WRKSRC} && ${INSTALL_DATA} completion/zsh/_xpanes \ + ${STAGEDIR}${PREFIX}/share/zsh/site-functions + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_MAN} README.md ${STAGEDIR}${DOCSDIR} + +do-test: + ${REINPLACE_CMD} 's|$${THIS_DIR}/shunit2|${LOCALBASE}/bin|' \ + ${WRKSRC}/test/cases_smoke.sh + cd ${WRKSRC}/test && ./cases_smoke.sh + +.include diff --git a/sysutils/tmux-xpanes/distinfo b/sysutils/tmux-xpanes/distinfo new file mode 100644 index 000000000000..261cf9545b70 --- /dev/null +++ b/sysutils/tmux-xpanes/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1677272549 +SHA256 (greymd-tmux-xpanes-v4.1.3_GH0.tar.gz) = d6c6ce10bb1a487c6455474fe2274eb56ff0a8a87ee9d5cae7dae676d13c19b2 +SIZE (greymd-tmux-xpanes-v4.1.3_GH0.tar.gz) = 64101 diff --git a/sysutils/tmux-xpanes/pkg-descr b/sysutils/tmux-xpanes/pkg-descr new file mode 100644 index 000000000000..b06c849924a8 --- /dev/null +++ b/sysutils/tmux-xpanes/pkg-descr @@ -0,0 +1,12 @@ +Ultimate terminal divider powered by tmux + +- Split tmux window into multiple panes +- * Construct command lines & execute them on the panes +- Runnable from outside of tmux session +- Runnable from inside of tmux session +- Record operation log +- Flexible layout arrangement for panes +- * Select layout presets +- * Set columns or rows as you like +- Display pane title on each pane +- Generate command lines from standard input (Pipe mode) diff --git a/sysutils/tmux-xpanes/pkg-plist b/sysutils/tmux-xpanes/pkg-plist new file mode 100644 index 000000000000..327706c98cac --- /dev/null +++ b/sysutils/tmux-xpanes/pkg-plist @@ -0,0 +1,4 @@ +bin/xpanes +man/man1/xpanes.1.gz +share/zsh/site-functions/_xpanes +%%PORTDOCS%%%%DOCSDIR%%/README.md