From owner-svn-ports-head@freebsd.org Fri May 11 16:13:51 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F63DFDD4CD; Fri, 11 May 2018 16:13:51 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F377C6D705; Fri, 11 May 2018 16:13:50 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D480011E29; Fri, 11 May 2018 16:13:50 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4BGDof7016374; Fri, 11 May 2018 16:13:50 GMT (envelope-from krion@FreeBSD.org) Received: (from krion@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4BGDnlw016368; Fri, 11 May 2018 16:13:49 GMT (envelope-from krion@FreeBSD.org) Message-Id: <201805111613.w4BGDnlw016368@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: krion set sender to krion@FreeBSD.org using -f From: Kirill Ponomarev Date: Fri, 11 May 2018 16:13:49 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: krion X-SVN-Commit-Paths: in head/sysutils: . mtm mtm/files X-SVN-Commit-Revision: 469648 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2018 16:13:51 -0000 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 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 + #else + #define NCURSESW_INCLUDE_H +@@ -50,6 +50,8 @@ + #ifndef FORKPTY_INCLUDE_H + #if defined(__APPLE__) || (defined(BSD) && !defined(__linux__)) + #define FORKPTY_INCLUDE_H ++ #elif defined(__FreeBSD__) ++ #define FORKPTY_INCLUDE_H + #else + #define FORKPTY_INCLUDE_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