Gentoo Archives: gentoo-commits

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