Gentoo Archives: gentoo-commits

From: "Tiago Cunha (tcunha)" <tcunha@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/tmux: ChangeLog tmux-0.8.ebuild
Date: Wed, 22 Apr 2009 10:36:35
Message-Id: E1LwZoe-0006Ea-UP@stork.gentoo.org
1 tcunha 09/04/22 10:36:32
2
3 Modified: ChangeLog
4 Added: tmux-0.8.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.6.7/cvs/Linux sparc64)
8
9 Revision Changes Path
10 1.13 app-misc/tmux/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tmux/ChangeLog?rev=1.13&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tmux/ChangeLog?rev=1.13&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tmux/ChangeLog?r1=1.12&r2=1.13
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-misc/tmux/ChangeLog,v
19 retrieving revision 1.12
20 retrieving revision 1.13
21 diff -u -r1.12 -r1.13
22 --- ChangeLog 31 Mar 2009 18:43:22 -0000 1.12
23 +++ ChangeLog 22 Apr 2009 10:36:32 -0000 1.13
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-misc/tmux
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/ChangeLog,v 1.12 2009/03/31 18:43:22 tcunha Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/ChangeLog,v 1.13 2009/04/22 10:36:32 tcunha Exp $
29 +
30 +*tmux-0.8 (22 Apr 2009)
31 +
32 + 22 Apr 2009; Tiago Cunha <tcunha@g.o> +tmux-0.8.ebuild:
33 + Version bump.
34
35 31 Mar 2009; Tiago Cunha <tcunha@g.o> -tmux-0.6.ebuild:
36 Remove old.
37
38
39
40 1.1 app-misc/tmux/tmux-0.8.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tmux/tmux-0.8.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tmux/tmux-0.8.ebuild?rev=1.1&content-type=text/plain
44
45 Index: tmux-0.8.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-0.8.ebuild,v 1.1 2009/04/22 10:36:32 tcunha Exp $
50
51 inherit toolchain-funcs
52
53 DESCRIPTION="Terminal multiplexer"
54 HOMEPAGE="http://tmux.sourceforge.net"
55 SRC_URI="mirror://sourceforge/tmux/${P}.tar.gz"
56
57 LICENSE="ISC"
58 SLOT="0"
59 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
60 IUSE="vim-syntax"
61
62 DEPEND=""
63 RDEPEND="vim-syntax? ( || (
64 app-editors/gvim
65 app-editors/vim ) )"
66
67 src_compile() {
68 emake CC="$(tc-getCC)" DEBUG="" FDEBUG="" || die "emake failed"
69 }
70
71 src_install() {
72 dobin tmux || die "dobin failed"
73
74 dodoc CHANGES FAQ NOTES TODO || die "dodoc failed"
75 docinto examples
76 dodoc examples/*.conf || die "dodoc examples failed"
77
78 doman tmux.1 || die "doman failed"
79
80 if use vim-syntax; then
81 insinto /usr/share/vim/vimfiles/syntax
82 doins examples/tmux.vim || die "doins syntax failed"
83
84 insinto /usr/share/vim/vimfiles/ftdetect
85 doins "${FILESDIR}"/tmux.vim || die "doins ftdetect failed"
86 fi
87 }
88
89 pkg_preinst() {
90 has_version "<${CATEGORY}/${PN}-0.6"
91 PREVIOUS_LESS_THAN_0_6=$?
92 }
93
94 pkg_postinst() {
95 if [[ ${PREVIOUS_LESS_THAN_0_6} -eq 0 ]]; then
96 ewarn "The 0.6 release changed some commands and options"
97 ewarn "(such as: mode-keys, remain-by-default, set, setw, and"
98 ewarn "utf8-default), thus it will break current configurations. For"
99 ewarn "more information, please refer to the files located in"
100 ewarn "/usr/share/doc/${PF}."
101 fi
102 }