diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-05-07 14:18:24 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-05-07 14:18:24 +0000 |
commit | 16bcc031de0818726f6b50443d0f24ed456b3dfc (patch) | |
tree | 4dc56e2a3001476a1f302e13d7c56004e916875a /sysutils/tmux | |
parent | 966636a149eafcfb5660d30f0a1f0f97109de8d4 (diff) | |
download | ports-16bcc031de0818726f6b50443d0f24ed456b3dfc.tar.gz ports-16bcc031de0818726f6b50443d0f24ed456b3dfc.zip |
Update to 2.0.
Now links with libutempter (libulog).
Changes: http://heanet.dl.sourceforge.net/project/tmux/tmux/tmux-2.0/tmux-2.0-readme
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=385629
Diffstat (limited to 'sysutils/tmux')
-rw-r--r-- | sysutils/tmux/Makefile | 16 | ||||
-rw-r--r-- | sysutils/tmux/distinfo | 4 | ||||
-rw-r--r-- | sysutils/tmux/files/extra-patch-tty-keys.c | 6 | ||||
-rw-r--r-- | sysutils/tmux/files/patch-configure | 8 |
4 files changed, 18 insertions, 16 deletions
diff --git a/sysutils/tmux/Makefile b/sysutils/tmux/Makefile index 450d853e2fa8..c367d30fc536 100644 --- a/sysutils/tmux/Makefile +++ b/sysutils/tmux/Makefile @@ -2,15 +2,15 @@ # $FreeBSD$ PORTNAME= tmux -PORTVERSION= 1.9a -PORTREVISION= 1 +PORTVERSION= 2.0 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:S/a$//} MAINTAINER= mat@FreeBSD.org COMMENT= Terminal Multiplexer -LICENSE= BSD2CLAUSE +LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/COPYING USES= pkgconfig shebangfix ncurses SHEBANG_FILES= examples/tmux_backup.sh @@ -25,15 +25,11 @@ PLIST_FILES= bin/tmux \ PORTDOCS= CHANGES FAQ README TODO PORTEXAMPLES= * -PORTSCOUT= skipv:1.9 - OPTIONS_DEFINE= DOCS EXAMPLES LIBEVENT_STATIC BACKSPACE LIBEVENT_STATIC_DESC= Build with static libevent BACKSPACE_DESC= Build with tty/keys patch -CFLAGS+= -Wno-pointer-sign - BACKSPACE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-tty-keys.c LIBEVENT_STATIC_LIB_DEPENDS_OFF= libevent.so:${PORTSDIR}/devel/libevent2 @@ -41,6 +37,12 @@ LIBEVENT_STATIC_BUILD_DEPENDS= ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/lib .include <bsd.port.options.mk> +.if ${OSVERSION} < 900004 +LIB_DEPENDS+= libutempter.so:${PORTSDIR}/sysutils/libutempter +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +.endif + post-patch: @${REINPLACE_CMD} -e 's|/etc/tmux.conf|${PREFIX}/etc/tmux.conf|g' ${WRKSRC}/CHANGES diff --git a/sysutils/tmux/distinfo b/sysutils/tmux/distinfo index b78a2f16c3df..69ea64d8ea4c 100644 --- a/sysutils/tmux/distinfo +++ b/sysutils/tmux/distinfo @@ -1,2 +1,2 @@ -SHA256 (tmux-1.9a.tar.gz) = c5e3b22b901cf109b20dab54a4a651f0471abd1f79f6039d79b250d21c2733f5 -SIZE (tmux-1.9a.tar.gz) = 447938 +SHA256 (tmux-2.0.tar.gz) = 795f4b4446b0ea968b9201c25e8c1ef8a6ade710ebca4657dd879c35916ad362 +SIZE (tmux-2.0.tar.gz) = 455754 diff --git a/sysutils/tmux/files/extra-patch-tty-keys.c b/sysutils/tmux/files/extra-patch-tty-keys.c index df926d8fb9ca..4d68636f3dc9 100644 --- a/sysutils/tmux/files/extra-patch-tty-keys.c +++ b/sysutils/tmux/files/extra-patch-tty-keys.c @@ -1,6 +1,6 @@ ---- tty-keys.c.orig 2013-03-27 14:37:25.000000000 +0100 -+++ tty-keys.c 2013-03-27 14:37:44.000000000 +0100 -@@ -529,8 +529,6 @@ +--- tty-keys.c.orig 2015-05-05 20:21:51 UTC ++++ tty-keys.c +@@ -556,8 +556,6 @@ first_key: * used. termios should have a better idea. */ bspace = tty->tio.c_cc[VERASE]; diff --git a/sysutils/tmux/files/patch-configure b/sysutils/tmux/files/patch-configure index 8d92e5d3e410..1455ad8bf0f5 100644 --- a/sysutils/tmux/files/patch-configure +++ b/sysutils/tmux/files/patch-configure @@ -1,6 +1,6 @@ ---- configure.bak 2014-02-22 15:56:15.000000000 -0500 -+++ configure 2014-09-16 12:14:41.103867989 -0400 -@@ -4975,7 +4975,7 @@ +--- configure.orig 2015-05-06 22:49:42 UTC ++++ configure +@@ -5002,7 +5002,7 @@ return setupterm (); return 0; } _ACEOF @@ -9,7 +9,7 @@ if test -z "$ac_lib"; then ac_res="none required" else -@@ -5692,6 +5692,28 @@ +@@ -5755,6 +5755,28 @@ $as_echo "yes" >&6; } fi fi if test "x$found_strnvis" = xyes; then |