Gentoo Archives: gentoo-commits

From: "Kevin McCarthy (signals)" <signals@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/biew: metadata.xml ChangeLog biew-6.1.0-r1.ebuild
Date: Wed, 23 Feb 2011 16:27:58
Message-Id: 20110223162748.57B5720054@flycatcher.gentoo.org
1 signals 11/02/23 16:27:48
2
3 Modified: metadata.xml ChangeLog
4 Added: biew-6.1.0-r1.ebuild
5 Log:
6 Fix #351534. gpm USE fix. Ebuild rewrite. New maintainer.
7
8 (Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.3 dev-util/biew/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/biew/metadata.xml?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/biew/metadata.xml?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/biew/metadata.xml?r1=1.2&r2=1.3
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/biew/metadata.xml,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- metadata.xml 5 Oct 2008 12:00:47 -0000 1.2
24 +++ metadata.xml 23 Feb 2011 16:27:48 -0000 1.3
25 @@ -3,6 +3,7 @@
26 <pkgmetadata>
27 <herd>no-herd</herd>
28 <maintainer>
29 - <email>maintainer-needed@g.o</email>
30 + <email>signals@g.o</email>
31 + <name>Kevin McCarthy</name>
32 </maintainer>
33 </pkgmetadata>
34
35
36
37 1.27 dev-util/biew/ChangeLog
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/biew/ChangeLog?rev=1.27&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/biew/ChangeLog?rev=1.27&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/biew/ChangeLog?r1=1.26&r2=1.27
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/dev-util/biew/ChangeLog,v
46 retrieving revision 1.26
47 retrieving revision 1.27
48 diff -u -r1.26 -r1.27
49 --- ChangeLog 21 Feb 2010 09:46:24 -0000 1.26
50 +++ ChangeLog 23 Feb 2011 16:27:48 -0000 1.27
51 @@ -1,6 +1,13 @@
52 # ChangeLog for dev-util/biew
53 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
54 -# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/ChangeLog,v 1.26 2010/02/21 09:46:24 patrick Exp $
55 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
56 +# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/ChangeLog,v 1.27 2011/02/23 16:27:48 signals Exp $
57 +
58 +*biew-6.1.0-r1 (23 Feb 2011)
59 +
60 + 23 Feb 2011; Kevin McCarthy <signals@g.o> +biew-6.1.0-r1.ebuild,
61 + metadata.xml:
62 + Fix installation layout problems (bug #351534). Fix "gpm" USE flag. Clean up
63 + ebuild and bump to EAPI=4. Added myself to metadata as maintainer.
64
65 *biew-6.1.0 (21 Feb 2010)
66
67
68
69
70 1.1 dev-util/biew/biew-6.1.0-r1.ebuild
71
72 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/biew/biew-6.1.0-r1.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/biew/biew-6.1.0-r1.ebuild?rev=1.1&content-type=text/plain
74
75 Index: biew-6.1.0-r1.ebuild
76 ===================================================================
77 # Copyright 1999-2011 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/dev-util/biew/biew-6.1.0-r1.ebuild,v 1.1 2011/02/23 16:27:48 signals Exp $
80
81 EAPI=4
82 inherit flag-o-matic toolchain-funcs versionator
83
84 MY_P=${PN}-$(replace_all_version_separators "")
85
86 DESCRIPTION="A portable viewer of binary files, hexadecimal and disassembler modes."
87 HOMEPAGE="http://beye.sourceforge.net/"
88 SRC_URI="mirror://sourceforge/beye/${PV}/${MY_P}-src.tar.bz2"
89 S=${WORKDIR}/${MY_P}
90
91 LICENSE="GPL-2"
92 SLOT="0"
93 KEYWORDS="~amd64 ~x86"
94 IUSE="gpm"
95
96 RDEPEND="gpm? ( sys-libs/gpm )"
97 DEPEND="${RDEPEND}"
98
99 src_prepare() {
100 sed -i -e 's^man/man1/biew.1^share/man/man1/biew.1^' makefile || die "Failed to edit makefile."
101 }
102
103 src_configure() {
104 if use gpm; then
105 append-flags -DHAVE_MOUSE
106 else
107 append-flags -UHAVE_MOUSE
108 fi
109 ./configure --datadir=/usr/share/${PN} \
110 --prefix=/usr \
111 --cc="$(tc-getCC)" \
112 --ld="$(tc-getCC)" \
113 --as="$(tc-getAS)" \
114 --ranlib="$(tc-getRANLIB)" || die "configure failed."
115 }
116
117 src_compile() {
118 emake LDFLAGS="${LDFLAGS}"
119 }
120
121 src_install() {
122 emake DESTDIR="${D}" install
123 dodoc doc/{biew_en,release,unix}.txt
124 }
125
126 pkg_postinst() {
127 elog
128 elog "Note: if you are upgrading from <=dev-util/biew-6.1.0 you will need"
129 elog "to change the paths in the setup dialog (F9) from /usr/share/ to"
130 elog "/usr/share/biew/ Alternatively, you can delete ~/.biewrc and it will"
131 elog "automatically determine the correct locations on the next run."
132 elog
133 }