Gentoo Archives: gentoo-commits

From: "Mike Pagano (mpagano)" <mpagano@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/global: ChangeLog global-5.7.4.ebuild
Date: Tue, 13 Jan 2009 19:12:44
Message-Id: E1LMogr-0001fs-9T@stork.gentoo.org
1 mpagano 09/01/13 19:12:41
2
3 Modified: ChangeLog
4 Added: global-5.7.4.ebuild
5 Log:
6 Version bump as per bug #254408
7 (Portage version: 2.2_rc21/cvs/Linux 2.6.28-gentoo i686)
8
9 Revision Changes Path
10 1.33 dev-util/global/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/global/ChangeLog?rev=1.33&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/global/ChangeLog?rev=1.33&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/global/ChangeLog?r1=1.32&r2=1.33
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/global/ChangeLog,v
19 retrieving revision 1.32
20 retrieving revision 1.33
21 diff -u -r1.32 -r1.33
22 --- ChangeLog 27 Nov 2008 21:53:41 -0000 1.32
23 +++ ChangeLog 13 Jan 2009 19:12:41 -0000 1.33
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-util/global
26 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/global/ChangeLog,v 1.32 2008/11/27 21:53:41 jer Exp $
28 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/global/ChangeLog,v 1.33 2009/01/13 19:12:41 mpagano Exp $
30 +
31 +*global-5.7.4 (13 Jan 2009)
32 +
33 + 13 Jan 2009; Mike Pagano <mpagano@g.o> +global-5.7.4.ebuild:
34 + Version bump as per bug #254408
35
36 *global-5.7.3 (27 Nov 2008)
37
38
39
40
41 1.1 dev-util/global/global-5.7.4.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/global/global-5.7.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/global/global-5.7.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: global-5.7.4.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-util/global/global-5.7.4.ebuild,v 1.1 2009/01/13 19:12:41 mpagano Exp $
51
52 inherit elisp-common
53
54 DESCRIPTION="GNU Global is a tag system to find the locations of a specified object in various sources."
55 HOMEPAGE="http://www.gnu.org/software/global/global.html"
56 SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.gz"
57 LICENSE="GPL-3"
58
59 SLOT="0"
60 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
61 IUSE="doc vim emacs"
62
63 RDEPEND="vim? ( || ( app-editors/vim app-editors/gvim ) )
64 emacs? ( virtual/emacs )"
65 DEPEND="${DEPEND}
66 doc? ( sys-apps/texinfo )"
67
68 SITEFILE=50gtags-gentoo.el
69
70 src_compile() {
71 econf || die "econf failed"
72
73 if use doc; then
74 texi2pdf -q -o doc/global.pdf doc/global.txi
75 texi2html -o doc/global.html doc/global.txi
76 fi
77
78 if use emacs; then
79 elisp-compile *.el || die "elisp-compile failed"
80 fi
81
82 emake || die "emake failed"
83 }
84
85 src_install() {
86 emake DESTDIR="${D}" install || die "emake install failed"
87 if use doc; then
88 dohtml doc/global.html
89 dodoc doc/global.pdf
90 fi
91 dodoc AUTHORS FAQ NEWS README THANKS
92
93 insinto /etc
94 doins gtags.conf
95 insinto /usr/share/${PN}
96 doins gtags.pl globash.rc
97
98 if use vim; then
99 insinto /usr/share/vim/vimfiles/plugin
100 doins gtags.vim
101 fi
102
103 if use emacs; then
104 elisp-install gtags *.{el,elc}
105 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
106 fi
107 }
108
109 pkg_postinst() {
110 use emacs && elisp-site-regen
111 }
112
113 pkg_postrm() {
114 use emacs && elisp-site-regen
115 }