Gentoo Archives: gentoo-commits

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