Date: Fri, 11 May 2018 16:13:49 +0000 (UTC) From: Kirill Ponomarev <krion@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469648 - in head/sysutils: . mtm mtm/files Message-ID: <201805111613.w4BGDnlw016368@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: krion Date: Fri May 11 16:13:49 2018 New Revision: 469648 URL: https://svnweb.freebsd.org/changeset/ports/469648 Log: Add sysutils/mtm: mtm is the Micro Terminal Multiplexer, a terminal multiplexer. It has four major features/princples: - Simplicity: there are three commands (change focus, split, close). There are no modes, no dozens of commands, no crazy feature list. - Compatibility: mtm emulates a classic ANSI text terminal. That means it should work out of the box on essentially all terminfo/termcap-based systems (even pretty old ones), without needing to install a new termcap entry. - Size mtm is small. The entire project is around 1000 lines of code. - Stability: mtm is "finished" as it is now. You don't need to worry about it changing on you unexpectedly. The only changes that can happen at this point are: - Bug fixes. - Translation improvements. - Accessibility improvements. - Fixes to keep it working on modern OSes. WWW: https://github.com/deadpixi/mtm PR: 228152 Submitted by: 0mp@FreeBSD.org Reviewed by: tobik Added: head/sysutils/mtm/ head/sysutils/mtm/Makefile (contents, props changed) head/sysutils/mtm/distinfo (contents, props changed) head/sysutils/mtm/files/ head/sysutils/mtm/files/patch-Makefile (contents, props changed) head/sysutils/mtm/files/patch-config.def.h (contents, props changed) head/sysutils/mtm/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Fri May 11 16:03:44 2018 (r469647) +++ head/sysutils/Makefile Fri May 11 16:13:49 2018 (r469648) @@ -711,6 +711,7 @@ SUBDIR += msiklm SUBDIR += msktutil SUBDIR += msyslog + SUBDIR += mtm SUBDIR += mtpfs SUBDIR += mtxorbd SUBDIR += multitail Added: head/sysutils/mtm/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/mtm/Makefile Fri May 11 16:13:49 2018 (r469648) @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= mtm +DISTVERSION= g20180507 +CATEGORIES= sysutils + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Terminal multiplexer focued on simplicity, compatibility and stability + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/README.rst + +USES= ncurses + +USE_GITHUB= yes +GH_ACCOUNT= deadpixi +GH_TAGNAME= b861104 + +PLIST_FILES= bin/mtm \ + man/man1/mtm.1.gz + +MAKE_ARGS+= LIBS='-lutil -lncursesw' + +PORTDATA= mtm.ti + +post-install: + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/mtm.ti ${STAGEDIR}${DATADIR}/mtm.ti + +.include <bsd.port.mk> Added: head/sysutils/mtm/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/mtm/distinfo Fri May 11 16:13:49 2018 (r469648) @@ -0,0 +1,3 @@ +TIMESTAMP = 1526029385 +SHA256 (deadpixi-mtm-g20180507-b861104_GH0.tar.gz) = f6685a9d309760f044c8de041d848fa97aafbc43e28127da63ef9fcd31fc9bd5 +SIZE (deadpixi-mtm-g20180507-b861104_GH0.tar.gz) = 281687 Added: head/sysutils/mtm/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/mtm/files/patch-Makefile Fri May 11 16:13:49 2018 (r469648) @@ -0,0 +1,13 @@ +--- Makefile.orig 2018-05-07 14:54:13 UTC ++++ Makefile +@@ -16,8 +16,8 @@ config.h: config.def.h + cp -i config.def.h config.h + + install: mtm +- cp mtm $(DESTDIR)/bin +- cp mtm.1 $(DESTDIR)/share/man/man1 ++ ${BSD_INSTALL_PROGRAM} mtm $(DESTDIR)$(PREFIX)/bin ++ ${BSD_INSTALL_MAN} mtm.1 $(DESTDIR)$(PREFIX)/man/man1 + + install-terminfo: mtm.ti + tic -s -x mtm.ti Added: head/sysutils/mtm/files/patch-config.def.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/mtm/files/patch-config.def.h Fri May 11 16:13:49 2018 (r469648) @@ -0,0 +1,20 @@ +--- config.def.h.orig 2018-05-07 14:54:13 UTC ++++ config.def.h +@@ -38,7 +38,7 @@ + + /* The path for the wide-character curses library. */ + #ifndef NCURSESW_INCLUDE_H +- #if defined(__APPLE__) || (defined(BSD) && !defined(__linux__)) ++ #if defined(__APPLE__) || (defined(BSD) && !defined(__linux__)) || defined(__FreeBSD__) + #define NCURSESW_INCLUDE_H <curses.h> + #else + #define NCURSESW_INCLUDE_H <ncursesw/curses.h> +@@ -50,6 +50,8 @@ + #ifndef FORKPTY_INCLUDE_H + #if defined(__APPLE__) || (defined(BSD) && !defined(__linux__)) + #define FORKPTY_INCLUDE_H <util.h> ++ #elif defined(__FreeBSD__) ++ #define FORKPTY_INCLUDE_H <libutil.h> + #else + #define FORKPTY_INCLUDE_H <pty.h> + #endif Added: head/sysutils/mtm/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/mtm/pkg-descr Fri May 11 16:13:49 2018 (r469648) @@ -0,0 +1,18 @@ +mtm is the Micro Terminal Multiplexer, a terminal multiplexer. + +It has four major features/princples: + - Simplicity: there are three commands (change focus, split, close). There are + no modes, no dozens of commands, no crazy feature list. + - Compatibility: mtm emulates a classic ANSI text terminal. That means it + should work out of the box on essentially all terminfo/termcap-based systems + (even pretty old ones), without needing to install a new termcap entry. + - Size mtm is small. The entire project is around 1000 lines of code. + - Stability: mtm is "finished" as it is now. You don't need to worry about it + changing on you unexpectedly. The only changes that can happen at this point + are: + - Bug fixes. + - Translation improvements. + - Accessibility improvements. + - Fixes to keep it working on modern OSes. + +WWW: https://github.com/deadpixi/mtm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805111613.w4BGDnlw016368>