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: mc-4.7.2.ebuild ChangeLog mc-4.7.0.5.ebuild
Date: Wed, 05 May 2010 22:01:18
Message-Id: 20100505220113.2F7992C3FB@corvid.gentoo.org
1 wired 10/05/05 22:01:13
2
3 Modified: ChangeLog
4 Added: mc-4.7.2.ebuild mc-4.7.0.5.ebuild
5 Log:
6 [app-misc/mc] version bumps
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.199 app-misc/mc/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?rev=1.199&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?rev=1.199&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?r1=1.198&r2=1.199
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v
19 retrieving revision 1.198
20 retrieving revision 1.199
21 diff -u -r1.198 -r1.199
22 --- ChangeLog 9 Apr 2010 16:25:02 -0000 1.198
23 +++ ChangeLog 5 May 2010 22:01:13 -0000 1.199
24 @@ -1,6 +1,13 @@
25 # ChangeLog for app-misc/mc
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.198 2010/04/09 16:25:02 reavertm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.199 2010/05/05 22:01:13 wired Exp $
29 +
30 +*mc-4.7.2 (05 May 2010)
31 +*mc-4.7.0.5 (05 May 2010)
32 +
33 + 05 May 2010; Alex Alexander <wired@g.o> +mc-4.7.0.5.ebuild,
34 + +mc-4.7.2.ebuild:
35 + version bumps
36
37 *mc-4.7.1-r2 (09 Apr 2010)
38
39
40
41
42 1.1 app-misc/mc/mc-4.7.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.7.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.7.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mc-4.7.2.ebuild
48 ===================================================================
49 # Copyright 1999-2010 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.2.ebuild,v 1.1 2010/05/05 22:01:13 wired Exp $
52
53 EAPI=3
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 nls samba slang X"
67
68 RDEPEND=">=dev-libs/glib-2.8:2
69 gpm? ( sys-libs/gpm )
70 kernel_linux? ( sys-fs/e2fsprogs )
71 samba? ( net-fs/samba )
72 slang? ( >=sys-libs/slang-2 )
73 !slang? ( sys-libs/ncurses )
74 X? ( x11-libs/libX11
75 x11-libs/libICE
76 x11-libs/libXau
77 x11-libs/libXdmcp
78 x11-libs/libSM )"
79 DEPEND="${RDEPEND}
80 dev-util/pkgconfig
81 nls? ( sys-devel/gettext )"
82
83 S=${WORKDIR}/${MY_P}
84
85 src_configure() {
86 local myscreen=ncurses
87 use slang && myscreen=slang
88
89 econf \
90 --disable-dependency-tracking \
91 $(use_enable nls) \
92 --enable-vfs \
93 $(use_enable kernel_linux vfs-undelfs) \
94 --enable-charset \
95 $(use_with X x) \
96 $(use_with samba) \
97 --with-configdir="${EPREFIX}"/etc/samba \
98 --with-codepagedir="${EPREFIX}"/var/lib/samba/codepages \
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
109 pkg_postinst() {
110 elog "To enable exiting to latest working directory,"
111 elog "put this into your ~/.bashrc:"
112 elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
113 }
114
115
116
117 1.1 app-misc/mc/mc-4.7.0.5.ebuild
118
119 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.7.0.5.ebuild?rev=1.1&view=markup
120 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.7.0.5.ebuild?rev=1.1&content-type=text/plain
121
122 Index: mc-4.7.0.5.ebuild
123 ===================================================================
124 # Copyright 1999-2010 Gentoo Foundation
125 # Distributed under the terms of the GNU General Public License v2
126 # $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.7.0.5.ebuild,v 1.1 2010/05/05 22:01:13 wired Exp $
127
128 EAPI=3
129
130 inherit base
131
132 MY_P=${P/_/-}
133
134 DESCRIPTION="GNU Midnight Commander is a text based file manager"
135 HOMEPAGE="http://www.midnight-commander.org"
136 SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.bz2"
137
138 LICENSE="GPL-2"
139 SLOT="0"
140 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"
141 IUSE="+edit gpm nls samba slang X"
142
143 RDEPEND=">=dev-libs/glib-2.8:2
144 gpm? ( sys-libs/gpm )
145 kernel_linux? ( sys-fs/e2fsprogs )
146 samba? ( net-fs/samba )
147 slang? ( >=sys-libs/slang-2 )
148 !slang? ( sys-libs/ncurses )
149 X? ( x11-libs/libX11
150 x11-libs/libICE
151 x11-libs/libXau
152 x11-libs/libXdmcp
153 x11-libs/libSM )"
154 DEPEND="${RDEPEND}
155 dev-util/pkgconfig
156 nls? ( sys-devel/gettext )"
157
158 S=${WORKDIR}/${MY_P}
159
160 PATCHES=( "${FILESDIR}/${PN}-4.7_mcedit_fix.patch" )
161
162 src_configure() {
163 local myscreen=ncurses
164 use slang && myscreen=slang
165
166 econf \
167 --disable-dependency-tracking \
168 $(use_enable nls) \
169 --enable-vfs \
170 $(use_enable kernel_linux vfs-undelfs) \
171 --enable-charset \
172 $(use_with X x) \
173 $(use_with samba) \
174 --with-configdir="${EPREFIX}"/etc/samba \
175 --with-codepagedir="${EPREFIX}"/var/lib/samba/codepages \
176 $(use_with gpm gpm-mouse) \
177 --with-screen=${myscreen} \
178 $(use_with edit)
179 }
180
181 src_install() {
182 emake DESTDIR="${D}" install || die
183 dodoc AUTHORS README
184 }
185
186 pkg_postinst() {
187 elog "To enable exiting to latest working directory,"
188 elog "put this into your ~/.bashrc:"
189 elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
190 }