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.1.ebuild ChangeLog mc-4.7.0.3.ebuild
Date: Fri, 26 Feb 2010 17:50:49
Message-Id: E1Nl4Ko-00085h-IM@stork.gentoo.org
1 wired 10/02/26 17:50:42
2
3 Modified: ChangeLog
4 Added: mc-4.7.1.ebuild mc-4.7.0.3.ebuild
5 Log:
6 [app-misc/mc] version bumps - 4.7.1 will stay masked until 4.7.0.3 gets stable
7 (Portage version: 2.2_rc63/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.190 app-misc/mc/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?rev=1.190&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?rev=1.190&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?r1=1.189&r2=1.190
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v
19 retrieving revision 1.189
20 retrieving revision 1.190
21 diff -u -r1.189 -r1.190
22 --- ChangeLog 20 Feb 2010 17:28:22 -0000 1.189
23 +++ ChangeLog 26 Feb 2010 17:50:41 -0000 1.190
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.189 2010/02/20 17:28:22 abcd Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.190 2010/02/26 17:50:41 wired Exp $
29 +
30 +*mc-4.7.1 (26 Feb 2010)
31 +*mc-4.7.0.3 (26 Feb 2010)
32 +
33 + 26 Feb 2010; Alex Alexander <wired@g.o> +mc-4.7.0.3.ebuild,
34 + +mc-4.7.1.ebuild:
35 + version bumps - 4.7.1 will stay masked until 4.7.0.3 gets stable
36
37 20 Feb 2010; Jonathan Callen <abcd@g.o> mc-4.7.0.2-r1.ebuild:
38 Transfer prefix keywords, bump EAPI
39
40
41
42 1.1 app-misc/mc/mc-4.7.1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.7.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.7.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mc-4.7.1.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.1.ebuild,v 1.1 2010/02/26 17:50:41 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.3.ebuild
118
119 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.7.0.3.ebuild?rev=1.1&view=markup
120 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.7.0.3.ebuild?rev=1.1&content-type=text/plain
121
122 Index: mc-4.7.0.3.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.3.ebuild,v 1.1 2010/02/26 17:50:41 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 src_configure() {
161 local myscreen=ncurses
162 use slang && myscreen=slang
163
164 econf \
165 --disable-dependency-tracking \
166 $(use_enable nls) \
167 --enable-vfs \
168 $(use_enable kernel_linux vfs-undelfs) \
169 --enable-charset \
170 $(use_with X x) \
171 $(use_with samba) \
172 --with-configdir="${EPREFIX}"/etc/samba \
173 --with-codepagedir="${EPREFIX}"/var/lib/samba/codepages \
174 $(use_with gpm gpm-mouse) \
175 --with-screen=${myscreen} \
176 $(use_with edit)
177 }
178
179 src_install() {
180 emake DESTDIR="${D}" install || die
181 dodoc AUTHORS README
182 }
183
184 pkg_postinst() {
185 elog "To enable exiting to latest working directory,"
186 elog "put this into your ~/.bashrc:"
187 elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
188 }