From: | "Alex Alexander (wired)" <wired@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-misc/mc: ChangeLog mc-4.7.5.1.ebuild |
Date: | Sun, 06 Feb 2011 13:24:14 |
Message-Id: | 20110206132401.6ADDA20054@flycatcher.gentoo.org |
1 | wired 11/02/06 13:24:01 |
2 | |
3 | Modified: ChangeLog |
4 | Added: mc-4.7.5.1.ebuild |
5 | Log: |
6 | version bump |
7 | |
8 | (Portage version: 2.2.0_alpha20/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.214 app-misc/mc/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/ChangeLog?rev=1.214&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/ChangeLog?rev=1.214&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/ChangeLog?r1=1.213&r2=1.214 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v |
20 | retrieving revision 1.213 |
21 | retrieving revision 1.214 |
22 | diff -u -r1.213 -r1.214 |
23 | --- ChangeLog 1 Feb 2011 07:50:29 -0000 1.213 |
24 | +++ ChangeLog 6 Feb 2011 13:24:01 -0000 1.214 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for app-misc/mc |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.213 2011/02/01 07:50:29 wired Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.214 2011/02/06 13:24:01 wired Exp $ |
30 | + |
31 | +*mc-4.7.5.1 (06 Feb 2011) |
32 | + |
33 | + 06 Feb 2011; Alex Alexander <wired@g.o> +mc-4.7.5.1.ebuild: |
34 | + version bump |
35 | |
36 | *mc-4.7.5 (01 Feb 2011) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 app-misc/mc/mc-4.7.5.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/mc-4.7.5.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/mc-4.7.5.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: mc-4.7.5.1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.7.5.1.ebuild,v 1.1 2011/02/06 13:24:01 wired Exp $ |
51 | |
52 | EAPI=4 |
53 | |
54 | inherit base |
55 | |
56 | MY_P=${P/_/-} |
57 | |
58 | DESCRIPTION="GNU Midnight Commander is a text based file manager" |
59 | HOMEPAGE="http://www.midnight-commander.org" |
60 | SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.bz2" |
61 | |
62 | LICENSE="GPL-2" |
63 | SLOT="0" |
64 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" |
65 | IUSE="+edit gpm +ncurses nls samba slang X" |
66 | |
67 | REQUIRED_USE="^^ ( ncurses slang )" |
68 | |
69 | RDEPEND=">=dev-libs/glib-2.8:2 |
70 | gpm? ( sys-libs/gpm ) |
71 | kernel_linux? ( sys-fs/e2fsprogs ) |
72 | ncurses? ( sys-libs/ncurses ) |
73 | samba? ( net-fs/samba ) |
74 | slang? ( >=sys-libs/slang-2 ) |
75 | X? ( x11-libs/libX11 |
76 | x11-libs/libICE |
77 | x11-libs/libXau |
78 | x11-libs/libXdmcp |
79 | x11-libs/libSM )" |
80 | DEPEND="${RDEPEND} |
81 | dev-util/pkgconfig |
82 | nls? ( sys-devel/gettext )" |
83 | |
84 | S=${WORKDIR}/${MY_P} |
85 | |
86 | src_configure() { |
87 | local myscreen=ncurses |
88 | use slang && myscreen=slang |
89 | |
90 | econf \ |
91 | --disable-dependency-tracking \ |
92 | $(use_enable nls) \ |
93 | --enable-vfs \ |
94 | $(use_enable kernel_linux vfs-undelfs) \ |
95 | --enable-charset \ |
96 | $(use_with X x) \ |
97 | $(use_enable samba vfs-smb) \ |
98 | $(use_with gpm gpm-mouse) \ |
99 | --with-screen=${myscreen} \ |
100 | $(use_with edit) |
101 | } |
102 | |
103 | src_install() { |
104 | emake DESTDIR="${D}" install || die |
105 | dodoc AUTHORS README |
106 | |
107 | # fix bug #334383 |
108 | if [[ ${EUID} == 0 ]] ; then |
109 | fowners root:tty /usr/libexec/mc/cons.saver || |
110 | die "setting cons.saver's owner failed" |
111 | fperms g+s /usr/libexec/mc/cons.saver || |
112 | die "setting cons.saver's permissions failed" |
113 | fi |
114 | } |
115 | |
116 | pkg_postinst() { |
117 | elog "To enable exiting to latest working directory," |
118 | elog "put this into your ~/.bashrc:" |
119 | elog ". ${EPREFIX}/usr/libexec/mc/mc.sh" |
120 | } |