pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mtm: added



Module Name:	pkgsrc-wip
Committed By:	Kevin Bloom <kevin.bloom%posteo.net@localhost>
Pushed By:	nuclearkev
Date:		Tue Jul 2 14:16:18 2024 -0400
Changeset:	af3f715df4b5dbeac212d030ec89cf40d27aac2c

Added Files:
	mtm/COMMIT_MSG
	mtm/DESCR
	mtm/Makefile
	mtm/PLIST
	mtm/distinfo
	mtm/patches/patch-config.def.h

Log Message:
mtm: added

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=af3f715df4b5dbeac212d030ec89cf40d27aac2c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mtm/COMMIT_MSG                 | 14 ++++++++++++++
 mtm/DESCR                      | 12 ++++++++++++
 mtm/Makefile                   | 25 +++++++++++++++++++++++++
 mtm/PLIST                      |  3 +++
 mtm/distinfo                   |  6 ++++++
 mtm/patches/patch-config.def.h | 24 ++++++++++++++++++++++++
 6 files changed, 84 insertions(+)

diffs:
diff --git a/mtm/COMMIT_MSG b/mtm/COMMIT_MSG
new file mode 100644
index 0000000000..9f736a61bd
--- /dev/null
+++ b/mtm/COMMIT_MSG
@@ -0,0 +1,14 @@
+mtm: added 1.2.1
+
+mtm is the Micro Terminal Multiplexer, a terminal multiplexer.
+It has four major features/principles: simplicity,
+compatibility, size, and stability.
+
+There are only a few commands, two of which are hardly ever used.
+There are no modes, no dozens of commands, no crazy feature list.
+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. mtm is small; the entire project is around 1000
+lines of code. mtm is "finished" as it is now.You don't need to
+worry about it changing on you unexpectedly.
diff --git a/mtm/DESCR b/mtm/DESCR
new file mode 100644
index 0000000000..c04cc91e5f
--- /dev/null
+++ b/mtm/DESCR
@@ -0,0 +1,12 @@
+mtm is the Micro Terminal Multiplexer, a terminal multiplexer.
+It has four major features/principles: simplicity,
+compatibility, size, and stability.
+
+There are only a few commands, two of which are hardly ever used.
+There are no modes, no dozens of commands, no crazy feature list.
+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. mtm is small; the entire project is around 1000
+lines of code. mtm is "finished" as it is now.You don't need to
+worry about it changing on you unexpectedly.
diff --git a/mtm/Makefile b/mtm/Makefile
new file mode 100644
index 0000000000..c3b21db7de
--- /dev/null
+++ b/mtm/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD$
+
+DISTNAME=	mtm-1.2.1
+CATEGORIES=	misc
+MASTER_SITES=	${MASTER_SITE_GITHUB:=deadpixi/}
+GITHUB_TAG=	${PKGVERSION_NOREV}
+
+MAINTAINER=	ktnb%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/deadpixi/mtm/
+COMMENT=	The Micro Terminal Multiplexer
+LICENSE=	gnu-gpl-v3
+
+INSTALLATION_DIRS=	bin man/man1
+
+LIB=		${PREFIX}/lib
+
+# upstream makefile doesn't use LDFLAGS
+CFLAGS+=	-R${LIB} -L${LIB}
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/mtm ${DESTDIR}/${PREFIX}/bin && \
+	${INSTALL_MAN} ${WRKSRC}/mtm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mtm/PLIST b/mtm/PLIST
new file mode 100644
index 0000000000..7986cbb414
--- /dev/null
+++ b/mtm/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/mtm
+man/man1/mtm.1
diff --git a/mtm/distinfo b/mtm/distinfo
new file mode 100644
index 0000000000..790d1b3247
--- /dev/null
+++ b/mtm/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (mtm-1.2.1.tar.gz) = 916de695bc4f3a810e1492b01f09ff5ed7e8c7746c6e18cc3beb255afad53c6d
+SHA512 (mtm-1.2.1.tar.gz) = 74e5230c6ea65c87d580516b7b62edeb4f273c1a36662bac84af41ca47e4ce252e393132dfe8c700441d6b74c19d6d560fbc503815c12f9d1cbdda2e19a9a9e2
+Size (mtm-1.2.1.tar.gz) = 383409 bytes
+SHA1 (patch-config.def.h) = 5a07f016163fd8e674eb4602cb51af6e1a068548
diff --git a/mtm/patches/patch-config.def.h b/mtm/patches/patch-config.def.h
new file mode 100644
index 0000000000..d325b43599
--- /dev/null
+++ b/mtm/patches/patch-config.def.h
@@ -0,0 +1,24 @@
+$NetBSD$
+
+NetBSD also uses util.h
+
+--- config.def.h.orig	2021-10-08 20:38:13.000000000 +0000
++++ config.def.h
+@@ -63,6 +63,8 @@
+ #ifndef NCURSESW_INCLUDE_H
+     #if defined(__APPLE__) || !defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+         #define NCURSESW_INCLUDE_H <curses.h>
++    #elif defined(__NetBSD__)
++        #define NCURSESW_INCLUDE_H <ncurses/curses.h>
+     #else
+         #define NCURSESW_INCLUDE_H <ncursesw/curses.h>
+     #endif
+@@ -71,7 +73,7 @@
+ 
+ /* Includes needed to make forkpty(3) work. */
+ #ifndef FORKPTY_INCLUDE_H
+-    #if defined(__APPLE__) || defined(__OpenBSD__)
++    #if defined(__APPLE__) || defined(__OpenBSD__) || defined(__NetBSD__)
+         #define FORKPTY_INCLUDE_H <util.h>
+     #elif defined(__FreeBSD__)
+         #define FORKPTY_INCLUDE_H <libutil.h>


Home | Main Index | Thread Index | Old Index