pkgsrc-WIP-changes archive

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

tmux-git: add new package for tracking tmux's git version



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Thu Jun 29 16:22:11 2023 +0200
Changeset:	a2e9f027ae2f03533d250f9fd0a3c3359c3c71ea

Modified Files:
	Makefile
Added Files:
	tmux-git/DESCR
	tmux-git/Makefile
	tmux-git/PLIST
	tmux-git/distinfo
	tmux-git/patches/patch-configure.ac

Log Message:
tmux-git: add new package for tracking tmux's git version

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

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

diffstat:
 Makefile                            |  2 +-
 tmux-git/DESCR                      |  7 +++++++
 tmux-git/Makefile                   | 22 ++++++++++++++++++++++
 tmux-git/PLIST                      |  3 +++
 tmux-git/distinfo                   |  3 +++
 tmux-git/patches/patch-configure.ac | 15 +++++++++++++++
 6 files changed, 51 insertions(+), 1 deletion(-)

diffs:
diff --git a/Makefile b/Makefile
index b64f5a8ac2..4ba66567bf 100644
--- a/Makefile
+++ b/Makefile
@@ -4865,7 +4865,6 @@ SUBDIR+=	py-wsgiref
 SUBDIR+=	py-wurlitzer
 SUBDIR+=	py-wurst
 SUBDIR+=	py-wxWidgets
-SUBDIR+=	py-wxWidgets-unicode
 SUBDIR+=	py-xapp
 SUBDIR+=	py-xcal-raman
 SUBDIR+=	py-xcffib
@@ -5538,6 +5537,7 @@ SUBDIR+=	tleenx2
 SUBDIR+=	tleenx3
 SUBDIR+=	tme
 SUBDIR+=	tmuni-ttf
+SUBDIR+=	tmux-git
 SUBDIR+=	tmva
 SUBDIR+=	tmw
 SUBDIR+=	tnt
diff --git a/tmux-git/DESCR b/tmux-git/DESCR
new file mode 100644
index 0000000000..99fcb3e1d9
--- /dev/null
+++ b/tmux-git/DESCR
@@ -0,0 +1,7 @@
+tmux is a terminal multiplexer: it enables a number of terminals
+to be created, accessed, and controlled from a single screen. tmux
+may be detached from a screen and continue running in the background,
+then later reattached.
+
+This release runs on OpenBSD, FreeBSD, NetBSD, Linux, macOS and
+Solaris.
diff --git a/tmux-git/Makefile b/tmux-git/Makefile
new file mode 100644
index 0000000000..7058b5d3ec
--- /dev/null
+++ b/tmux-git/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.18 2015/09/13 07:33:05 thomasklausner Exp $
+
+DISTNAME=	tmux-3.3a
+CATEGORIES=	games
+GIT_REPO=	https://github.com/tmux/tmux.git
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/tmux/tmux
+COMMENT=	Terminal multiplexer
+LICENSE=	public-domain # actually, dwtfywtpl
+
+USE_LANGUAGES=	c
+USE_TOOLS+=	autoconf automake pkg-config
+
+GNU_CONFIGURE=	yes
+
+pre-configure:
+	cd ${WRKSRC} && autoreconf -fiv
+
+.include "../../mk/curses.buildlink3.mk"
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/tmux-git/PLIST b/tmux-git/PLIST
new file mode 100644
index 0000000000..cc2be9bbb7
--- /dev/null
+++ b/tmux-git/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/tmux
+man/man1/tmux.1
diff --git a/tmux-git/distinfo b/tmux-git/distinfo
new file mode 100644
index 0000000000..da76ba2f73
--- /dev/null
+++ b/tmux-git/distinfo
@@ -0,0 +1,3 @@
+$NetBSD$
+
+SHA1 (patch-configure.ac) = f6e0742216d7c61135b523fda3d4810ecd1503b2
diff --git a/tmux-git/patches/patch-configure.ac b/tmux-git/patches/patch-configure.ac
new file mode 100644
index 0000000000..4163b20c26
--- /dev/null
+++ b/tmux-git/patches/patch-configure.ac
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix library name for NetBSD.
+
+--- configure.ac.orig	2023-06-29 14:11:13.000000000 +0000
++++ configure.ac
+@@ -315,7 +315,7 @@ fi
+ if test "x$found_ncurses" = xno; then
+ 	AC_SEARCH_LIBS(
+ 		setupterm,
+-		[tinfo ncurses ncursesw],
++		[tinfo terminfo ncurses ncursesw],
+ 		found_ncurses=yes,
+ 		found_ncurses=no
+ 	)


Home | Main Index | Thread Index | Old Index