From owner-svn-ports-head@FreeBSD.ORG Mon Mar 3 09:13:40 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DCE6A80C; Mon, 3 Mar 2014 09:13:40 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BDC60D75; Mon, 3 Mar 2014 09:13:40 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s239De2F022597; Mon, 3 Mar 2014 09:13:40 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s239DevN022595; Mon, 3 Mar 2014 09:13:40 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201403030913.s239DevN022595@svn.freebsd.org> From: Pietro Cerutti Date: Mon, 3 Mar 2014 09:13:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346869 - in head/sysutils/tmux: . files X-SVN-Group: ports-head 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.17 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: Mon, 03 Mar 2014 09:13:40 -0000 Author: gahr Date: Mon Mar 3 09:13:39 2014 New Revision: 346869 URL: http://svnweb.freebsd.org/changeset/ports/346869 QAT: https://qat.redports.org/buildarchive/r346869/ Log: - Update to 1.9a PR: 187210 (based on) Submitted by: adamw Deleted: head/sysutils/tmux/files/patch-tty.c Modified: head/sysutils/tmux/Makefile head/sysutils/tmux/distinfo Modified: head/sysutils/tmux/Makefile ============================================================================== --- head/sysutils/tmux/Makefile Mon Mar 3 09:08:08 2014 (r346868) +++ head/sysutils/tmux/Makefile Mon Mar 3 09:13:39 2014 (r346869) @@ -2,15 +2,14 @@ # $FreeBSD$ PORTNAME= tmux -PORTVERSION= 1.8 -PORTREVISION= 1 +DISTVERSION= 1.9a CATEGORIES= sysutils -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:R} MAINTAINER= gahr@FreeBSD.org -COMMENT= A Terminal Multiplexer +COMMENT= Terminal Multiplexer -LICENSE= BSD +LICENSE= BSD2CLAUSE GNU_CONFIGURE= yes USES= pkgconfig shebangfix @@ -25,7 +24,7 @@ PLIST_DIRSTRY= etc/bash_completion.d PORTDOCS= CHANGES FAQ README TODO PORTEXAMPLES= * -OPTIONS_DEFINE= LIBEVENT2 LIBEVENT_STATIC BACKSPACE +OPTIONS_DEFINE= DOCS LIBEVENT2 LIBEVENT_STATIC BACKSPACE LIBEVENT2_DESC= Use libevent version 2 LIBEVENT_STATIC_DESC= Build with static libevent @@ -33,55 +32,40 @@ BACKSPACE_DESC= Build with tty/keys patc CFLAGS+= -Wno-pointer-sign -.include - -.if ${PORT_OPTIONS:MLIBEVENT2} -CONFIGURE_ENV+= LIBEVENT_CFLAGS="-I${LOCALBASE}/include/event2/compat" \ - LIBEVENT_LIBS="-L${LOCALBASE}/lib/event2 -levent" -. if ${PORT_OPTIONS:MLIBEVENT_STATIC} -BUILD_DEPENDS+= ${LOCALBASE}/lib/event2/libevent.a:${PORTSDIR}/devel/libevent2 -LESTATIC= ${LOCALBASE}/lib/event2/libevent.a -. else -LIB_DEPENDS= libevent-2.0.so:${PORTSDIR}/devel/libevent2 -. endif -.else -CONFIGURE_ENV+= LIBEVENT_CFLAGS="-I${LOCALBASE}/include" \ - LIBEVENT_LIBS="-L${LOCALBASE}/lib -levent" -. if ${PORT_OPTIONS:MLIBEVENT_STATIC} -BUILD_DEPENDS+= ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent -LESTATIC= ${LOCALBASE}/lib/libevent.a -. else -LIB_DEPENDS= libevent-1.4.so:${PORTSDIR}/devel/libevent -. endif -.endif +BACKSPACE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-tty-keys.c +LIBEVENT2_CONFIGURE_ENV= LIBEVENT_CFLAGS="-I${LOCALBASE}/include/event2/compat" \ + LIBEVENT_LIBS="-L${LOCALBASE}/lib/event2 -levent" +LIBEVENT2_CONFIGURE_ENV_OFF= LIBEVENT_CFLAGS="-I${LOCALBASE}/include" \ + LIBEVENT_LIBS="-L${LOCALBASE}/lib -levent" +LIBEVENT2_LIB_DEPENDS= libevent-2.0.so:${PORTSDIR}/devel/libevent2 +LIBEVENT2_LIB_DEPENDS_OFF= libevent-1.4.so:${PORTSDIR}/devel/libevent -.if ${PORT_OPTIONS:MBACKSPACE} -EXTRA_PATCHES= ${PATCHDIR}/extra-patch-tty-keys.c -.endif +.include post-patch: @${REINPLACE_CMD} -e 's|/etc/tmux.conf|${PREFIX}/etc/tmux.conf|g' \ ${WRKSRC}/tmux.1 ${WRKSRC}/tmux.h ${WRKSRC}/CHANGES @${REINPLACE_CMD} -e '/LIBS=/s/-lrt//' ${WRKSRC}/${CONFIGURE_SCRIPT} +.if ${PORT_OPTIONS:MLIBEVENT_STATIC} +.if ${PORT_OPTIONS:MLIBEVENT2} +LESTATIC= ${LOCALBASE}/lib/event2/libevent.a +.else +LESTATIC= ${LOCALBASE}/lib/libevent.a +.endif post-configure: -.if defined(WITH_LIBEVENT_STATIC) ${REINPLACE_CMD} -e '/LIBS/s|-levent[^[:blank:]]*|${LESTATIC}|' \ ${WRKSRC}/${MAKEFILE} .endif do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/tmux ${STAGEDIR}${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/tmux.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/tmux ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/tmux.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d - @${INSTALL_DATA} ${WRKSRC}/examples/bash_completion_tmux.sh ${STAGEDIR}${PREFIX}/etc/bash_completion.d/tmux -.if ${PORT_OPTIONS:MDOCS} + ${INSTALL_DATA} ${WRKSRC}/examples/bash_completion_tmux.sh ${STAGEDIR}${PREFIX}/etc/bash_completion.d/tmux @${MKDIR} ${STAGEDIR}${DOCSDIR} - @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} -.endif + ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include Modified: head/sysutils/tmux/distinfo ============================================================================== --- head/sysutils/tmux/distinfo Mon Mar 3 09:08:08 2014 (r346868) +++ head/sysutils/tmux/distinfo Mon Mar 3 09:13:39 2014 (r346869) @@ -1,2 +1,2 @@ -SHA256 (tmux-1.8.tar.gz) = f265401ca890f8223e09149fcea5abcd6dfe75d597ab106e172b01e9d0c9cd44 -SIZE (tmux-1.8.tar.gz) = 417537 +SHA256 (tmux-1.9a.tar.gz) = c5e3b22b901cf109b20dab54a4a651f0471abd1f79f6039d79b250d21c2733f5 +SIZE (tmux-1.9a.tar.gz) = 447938