Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/cflow: ChangeLog cflow-1.2-r2.ebuild
Date: Mon, 02 Feb 2009 20:45:37
Message-Id: E1LU5fk-0005uK-2h@stork.gentoo.org
1 ulm 09/02/02 20:45:36
2
3 Modified: ChangeLog
4 Added: cflow-1.2-r2.ebuild
5 Log:
6 Fix direntry in Info file, bug 249171.
7 (Portage version: 2.2_rc23/cvs/Linux i686)
8
9 Revision Changes Path
10 1.9 dev-util/cflow/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cflow/ChangeLog?rev=1.9&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cflow/ChangeLog?rev=1.9&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cflow/ChangeLog?r1=1.8&r2=1.9
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/cflow/ChangeLog,v
19 retrieving revision 1.8
20 retrieving revision 1.9
21 diff -u -r1.8 -r1.9
22 --- ChangeLog 10 Mar 2008 17:20:05 -0000 1.8
23 +++ ChangeLog 2 Feb 2009 20:45:35 -0000 1.9
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-util/cflow
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cflow/ChangeLog,v 1.8 2008/03/10 17:20:05 nixnut Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cflow/ChangeLog,v 1.9 2009/02/02 20:45:35 ulm Exp $
30 +
31 +*cflow-1.2-r2 (02 Feb 2009)
32 +
33 + 02 Feb 2009; Ulrich Mueller <ulm@g.o>
34 + +files/cflow-1.2-info-direntry.patch, +cflow-1.2-r2.ebuild:
35 + Fix direntry in Info file, bug 249171.
36
37 10 Mar 2008; nixnut <nixnut@g.o> cflow-1.2-r1.ebuild:
38 Added ~ppc wrt bug 212440
39
40
41
42 1.1 dev-util/cflow/cflow-1.2-r2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cflow/cflow-1.2-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cflow/cflow-1.2-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: cflow-1.2-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-util/cflow/cflow-1.2-r2.ebuild,v 1.1 2009/02/02 20:45:35 ulm Exp $
52
53 inherit elisp-common eutils
54
55 DESCRIPTION="C function call hierarchy analyzer"
56 HOMEPAGE="http://www.gnu.org/software/cflow/"
57 SRC_URI="ftp://download.gnu.org.ua/pub/release/cflow/${P}.tar.bz2"
58
59 LICENSE="GPL-3"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE="debug emacs nls"
63
64 DEPEND="nls? ( sys-devel/gettext )
65 emacs? ( virtual/emacs )"
66 RDEPEND="${DEPEND}"
67
68 SITEFILE="50${PN}-gentoo.el"
69
70 src_unpack() {
71 unpack ${A}
72 cd "${S}"
73 epatch "${FILESDIR}/${P}-info-direntry.patch"
74 }
75
76 src_compile() {
77 econf \
78 $(use_enable nls) \
79 $(use_enable debug) \
80 EMACS=no \
81 || die "econf failed"
82 emake || die "emake failed"
83
84 if use emacs; then
85 elisp-compile elisp/cflow-mode.el || die
86 fi
87 }
88
89 src_install() {
90 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
91 doinfo doc/cflow.info
92 emake DESTDIR="${D}" install || die "emake install failed"
93
94 if use emacs; then
95 elisp-install ${PN} elisp/cflow-mode.{el,elc} || die
96 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
97 fi
98 }
99
100 pkg_postinst() {
101 use emacs && elisp-site-regen
102 }
103
104 pkg_postrm() {
105 use emacs && elisp-site-regen
106 }