summaryrefslogtreecommitdiff
path: root/misc/wemux
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2014-08-25 22:07:28 +0000
committerschmonz <schmonz@pkgsrc.org>2014-08-25 22:07:28 +0000
commit066e15571348d68ef3fd6ab385d732629f9341a2 (patch)
tree1c58026c4b4b039c4239652ed65a087386f5aaed /misc/wemux
parent8bff2dbfcacea881690270b92698bb444652620e (diff)
downloadpkgsrc-066e15571348d68ef3fd6ab385d732629f9341a2.tar.gz
Initial import of wemux.
wemux enhances tmux to make multi-user terminal multiplexing both easier and more powerful. It allows users to host a wemux server and have clients join in either: * Mirror Mode gives clients (another SSH user on your machine) read-only access to the session, allowing them to see you work, or * Pair Mode allows the client and yourself to work in the same terminal (shared cursor) * Rogue Mode allows the client to pair or work independently in another window (separate cursors) in the same tmux session. It features multi-server support as well as user listing and notifications when users attach/detach.
Diffstat (limited to 'misc/wemux')
-rw-r--r--misc/wemux/DESCR13
-rw-r--r--misc/wemux/Makefile36
-rw-r--r--misc/wemux/PLIST4
-rw-r--r--misc/wemux/distinfo5
4 files changed, 58 insertions, 0 deletions
diff --git a/misc/wemux/DESCR b/misc/wemux/DESCR
new file mode 100644
index 00000000000..08837f9cf09
--- /dev/null
+++ b/misc/wemux/DESCR
@@ -0,0 +1,13 @@
+wemux enhances tmux to make multi-user terminal multiplexing both
+easier and more powerful. It allows users to host a wemux server
+and have clients join in either:
+
+* Mirror Mode gives clients (another SSH user on your machine)
+ read-only access to the session, allowing them to see you work, or
+* Pair Mode allows the client and yourself to work in the same
+ terminal (shared cursor)
+* Rogue Mode allows the client to pair or work independently in
+ another window (separate cursors) in the same tmux session.
+
+It features multi-server support as well as user listing and
+notifications when users attach/detach.
diff --git a/misc/wemux/Makefile b/misc/wemux/Makefile
new file mode 100644
index 00000000000..5c71d07e932
--- /dev/null
+++ b/misc/wemux/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2014/08/25 22:07:28 schmonz Exp $
+
+DISTNAME= wemux-3.2.0
+CATEGORIES= misc
+MASTER_SITES= http://www.c-s.li/ports/
+
+MAINTAINER= schmonz@NetBSD.org
+HOMEPAGE= https://github.com/zolrath/wemux
+COMMENT= Easier, more powerful multi-user terminal multiplexing
+LICENSE= mit
+
+DEPENDS+= tmux>=1.6:../../misc/tmux
+
+WRKSRC= ${WRKDIR}/zolrath-wemux-971f8c3
+
+USE_LANGUAGES= # none
+NO_BUILD= yes
+USE_TOOLS+= bash
+REPLACE_BASH+= wemux
+
+SUBST_CLASSES+= paths
+SUBST_STAGE.paths= do-configure
+SUBST_FILES.paths= wemux
+SUBST_SED.paths= -e 's|/usr/local/etc|${PKG_SYSCONFDIR}|g'
+
+EGDIR= share/examples/${PKGBASE}
+CONF_FILES+= ${PREFIX}/${EGDIR}/wemux.conf ${PKG_SYSCONFDIR}/wemux.conf
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${EGDIR}
+
+do-install:
+ cd ${WRKSRC} && \
+ ${INSTALL_SCRIPT} wemux ${DESTDIR}${PREFIX}/bin/ && \
+ ${INSTALL_MAN} man/wemux.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ && \
+ ${INSTALL_DATA} wemux.conf.example ${DESTDIR}${PREFIX}/${EGDIR}/wemux.conf
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/wemux/PLIST b/misc/wemux/PLIST
new file mode 100644
index 00000000000..f8c7fd5703f
--- /dev/null
+++ b/misc/wemux/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2014/08/25 22:07:28 schmonz Exp $
+bin/wemux
+man/man1/wemux.1
+share/examples/wemux/wemux.conf
diff --git a/misc/wemux/distinfo b/misc/wemux/distinfo
new file mode 100644
index 00000000000..41bfca5eeec
--- /dev/null
+++ b/misc/wemux/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/08/25 22:07:28 schmonz Exp $
+
+SHA1 (wemux-3.2.0.tar.gz) = 69dc228c8d35250d81c08d48ef48806817d0fc69
+RMD160 (wemux-3.2.0.tar.gz) = 1605853e4d493522d558a7b59a23f56b0b9ebe33
+Size (wemux-3.2.0.tar.gz) = 13359 bytes