Gentoo Archives: gentoo-commits

From: "Torsten Veller (tove)" <tove@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-client/hap: ChangeLog hap-3.7-r1.ebuild hap-3.7.ebuild
Date: Sun, 26 Apr 2009 22:07:45
Message-Id: E1LyCVi-0005SL-Uq@stork.gentoo.org
1 tove 09/04/26 22:07:42
2
3 Modified: ChangeLog hap-3.7-r1.ebuild
4 Removed: hap-3.7.ebuild
5 Log:
6 Fix bugs: 221553, 226579, 241358, 244130
7 (Portage version: 2.2_rc31/cvs/Linux i686)
8
9 Revision Changes Path
10 1.12 mail-client/hap/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/hap/ChangeLog?rev=1.12&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/hap/ChangeLog?rev=1.12&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/hap/ChangeLog?r1=1.11&r2=1.12
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/mail-client/hap/ChangeLog,v
19 retrieving revision 1.11
20 retrieving revision 1.12
21 diff -u -r1.11 -r1.12
22 --- ChangeLog 24 Apr 2007 18:40:58 -0000 1.11
23 +++ ChangeLog 26 Apr 2009 22:07:42 -0000 1.12
24 @@ -1,6 +1,10 @@
25 # ChangeLog for mail-client/hap
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/mail-client/hap/ChangeLog,v 1.11 2007/04/24 18:40:58 dertobi123 Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/mail-client/hap/ChangeLog,v 1.12 2009/04/26 22:07:42 tove Exp $
30 +
31 + 26 Apr 2009; Torsten Veller <tove@g.o> -hap-3.7.ebuild,
32 + hap-3.7-r1.ebuild:
33 + Fix bugs: 221553, 226579, 241358, 244130
34
35 24 Apr 2007; Tobias Scherbaum <dertobi123@g.o> hap-3.7-r1.ebuild:
36 ppc stable, bug #173771
37
38
39
40 1.5 mail-client/hap/hap-3.7-r1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/hap/hap-3.7-r1.ebuild?rev=1.5&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/hap/hap-3.7-r1.ebuild?rev=1.5&content-type=text/plain
44 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/hap/hap-3.7-r1.ebuild?r1=1.4&r2=1.5
45
46 Index: hap-3.7-r1.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/mail-client/hap/hap-3.7-r1.ebuild,v
49 retrieving revision 1.4
50 retrieving revision 1.5
51 diff -u -r1.4 -r1.5
52 --- hap-3.7-r1.ebuild 24 Apr 2007 18:40:58 -0000 1.4
53 +++ hap-3.7-r1.ebuild 26 Apr 2009 22:07:42 -0000 1.5
54 @@ -1,41 +1,39 @@
55 -# Copyright 1999-2007 Gentoo Foundation
56 +# Copyright 1999-2009 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 -# $Header: /var/cvsroot/gentoo-x86/mail-client/hap/hap-3.7-r1.ebuild,v 1.4 2007/04/24 18:40:58 dertobi123 Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/mail-client/hap/hap-3.7-r1.ebuild,v 1.5 2009/04/26 22:07:42 tove Exp $
60
61 -IUSE=""
62 +EAPI=2
63 +
64 +inherit autotools
65
66 DESCRIPTION="A terminal mail notification program (replacement for biff)"
67 HOMEPAGE="http://www.transbay.net/~enf/sw.html"
68 -SRC_URI="http://www.transbay.net/~enf/hap-3.7.tar"
69 +SRC_URI="http://www.transbay.net/~enf/${P}.tar"
70
71 -DEPEND="sys-libs/ncurses
72 - sys-devel/autoconf"
73 +DEPEND="sys-libs/ncurses"
74 +RDEPEND="${DEPEND}"
75
76 -SLOT="0"
77 LICENSE="GPL-2"
78 +SLOT="0"
79 KEYWORDS="alpha ppc x86"
80 +IUSE=""
81
82 -# untars to 'hap/'
83 S="${WORKDIR}/${PN}"
84
85 -src_compile() {
86 +src_prepare() {
87 # Fix configure to use ncurses instead of termcap (bug #103105)
88 sed -i -e '/AC_CHECK_LIB/s~termcap~ncurses~' configure.in
89
90 - # Fix Makefile.in to use our CFLAGS
91 - sed -i -e "/^CFLAGS=-O/s//CFLAGS=${CFLAGS}/" Makefile.in
92 + # Fix Makefile.in to use our CFLAGS and LDFLAGS
93 + sed -i -e "s/^CFLAGS=-O/CFLAGS=${CFLAGS}/" \
94 + -e "s/^LDFLAGS=.*/LDFLAGS=${LDFLAGS}/" Makefile.in
95
96 # Rebuild the compilation framework
97 - autoconf || die "autoconf failed"
98 -
99 - # The configure script doesn't like --mandir etc., so we call it directly
100 - # rather than via econf
101 - ./configure || die "configure failed"
102 -
103 - emake || die "emake failed"
104 + eautoreconf || die "autoconf failed"
105 }
106
107 src_install() {
108 - dobin hap
109 - doman hap.1
110 + dobin hap || die
111 + doman hap.1 || die
112 + dodoc README HISTORY || die
113 }