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.9.2.ebuild
Date: Wed, 01 Sep 2010 13:40:42
Message-Id: 20100901134039.5733C20051@flycatcher.gentoo.org
1 jer 10/09/01 13:40:39
2
3 Modified: ChangeLog
4 Added: global-5.9.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2_rc72/cvs/Linux i686)
9
10 Revision Changes Path
11 1.64 dev-util/global/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/global/ChangeLog?rev=1.64&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/global/ChangeLog?rev=1.64&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/global/ChangeLog?r1=1.63&r2=1.64
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/global/ChangeLog,v
20 retrieving revision 1.63
21 retrieving revision 1.64
22 diff -u -r1.63 -r1.64
23 --- ChangeLog 19 Aug 2010 16:57:52 -0000 1.63
24 +++ ChangeLog 1 Sep 2010 13:40:39 -0000 1.64
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-util/global
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/global/ChangeLog,v 1.63 2010/08/19 16:57:52 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/global/ChangeLog,v 1.64 2010/09/01 13:40:39 jer Exp $
30 +
31 +*global-5.9.2 (01 Sep 2010)
32 +
33 + 01 Sep 2010; Jeroen Roovers <jer@g.o> +global-5.9.2.ebuild,
34 + +files/global-5.9.2-localstatedir.patch:
35 + Version bump.
36
37 19 Aug 2010; Jeroen Roovers <jer@g.o> metadata.xml:
38 Remove arfrever.
39
40
41
42 1.1 dev-util/global/global-5.9.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/global/global-5.9.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/global/global-5.9.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: global-5.9.2.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-util/global/global-5.9.2.ebuild,v 1.1 2010/09/01 13:40:39 jer Exp $
52
53 EAPI="3"
54
55 inherit autotools elisp-common
56
57 DESCRIPTION="GNU Global is a tag system to find the locations of a specified object in various sources."
58 HOMEPAGE="http://www.gnu.org/software/global/global.html"
59 SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.gz"
60 LICENSE="GPL-3"
61
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
64 IUSE="doc vim emacs"
65
66 RDEPEND="vim? ( || ( app-editors/vim app-editors/gvim ) )
67 emacs? ( virtual/emacs )"
68 DEPEND="${DEPEND}
69 doc? ( app-text/texi2html sys-apps/texinfo )"
70
71 SITEFILE="50gtags-gentoo.el"
72
73 src_prepare() {
74 epatch "${FILESDIR}"/${P}-localstatedir.patch
75 eautoreconf
76 }
77
78 src_compile() {
79 if use doc; then
80 texi2pdf -q -o doc/global.pdf doc/global.texi
81 texi2html -o doc/global.html doc/global.texi
82 fi
83
84 if use emacs; then
85 elisp-compile *.el || die "elisp-compile failed"
86 fi
87
88 emake || die "emake failed"
89 }
90
91 src_install() {
92 emake DESTDIR="${D}" install || die "emake install failed"
93
94 if use doc; then
95 dohtml doc/global.html
96 [[ -f doc/global.pdf ]] && dodoc doc/global.pdf
97 fi
98
99 dodoc AUTHORS FAQ NEWS README THANKS
100
101 insinto /etc
102 doins gtags.conf
103
104 if use vim; then
105 insinto /usr/share/vim/vimfiles/plugin
106 doins gtags.vim
107 fi
108
109 if use emacs; then
110 elisp-install gtags *.{el,elc}
111 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
112 fi
113 }
114
115 pkg_postinst() {
116 use emacs && elisp-site-regen
117 }
118
119 pkg_postrm() {
120 use emacs && elisp-site-regen
121 }