Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/global: global-5.8.2.ebuild ChangeLog
Date: Sun, 04 Apr 2010 17:20:31
Message-Id: E1NyTUq-0005YI-25@stork.gentoo.org
1 arfrever 10/04/04 17:20:28
2
3 Modified: ChangeLog
4 Added: global-5.8.2.ebuild
5 Log:
6 Version bump (bug #312607).
7 (Portage version: HEAD/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.49 dev-util/global/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/global/ChangeLog?rev=1.49&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/global/ChangeLog?rev=1.49&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/global/ChangeLog?r1=1.48&r2=1.49
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/global/ChangeLog,v
19 retrieving revision 1.48
20 retrieving revision 1.49
21 diff -u -r1.48 -r1.49
22 --- ChangeLog 7 Mar 2010 11:21:55 -0000 1.48
23 +++ ChangeLog 4 Apr 2010 17:20:27 -0000 1.49
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-util/global
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/global/ChangeLog,v 1.48 2010/03/07 11:21:55 arfrever Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/global/ChangeLog,v 1.49 2010/04/04 17:20:27 arfrever Exp $
29 +
30 +*global-5.8.2 (04 Apr 2010)
31 +
32 + 04 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + +global-5.8.2.ebuild:
34 + Version bump (bug #312607).
35
36 *global-5.8.1 (07 Mar 2010)
37
38
39
40
41 1.1 dev-util/global/global-5.8.2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/global/global-5.8.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/global/global-5.8.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: global-5.8.2.ebuild
47 ===================================================================
48 # Copyright 1999-2010 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.8.2.ebuild,v 1.1 2010/04/04 17:20:27 arfrever Exp $
51
52 EAPI="3"
53
54 inherit elisp-common
55
56 DESCRIPTION="GNU Global is a tag system to find the locations of a specified object in various sources."
57 HOMEPAGE="http://www.gnu.org/software/global/global.html"
58 SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.gz"
59 LICENSE="GPL-3"
60
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
63 IUSE="doc vim emacs"
64
65 RDEPEND="vim? ( || ( app-editors/vim app-editors/gvim ) )
66 emacs? ( virtual/emacs )"
67 DEPEND="${DEPEND}
68 doc? ( app-text/texi2html sys-apps/texinfo )"
69
70 SITEFILE="50gtags-gentoo.el"
71
72 src_compile() {
73 if use doc; then
74 texi2pdf -q -o doc/global.pdf doc/global.texi
75 texi2html -o doc/global.html doc/global.texi
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 [[ -f doc/global.pdf ]] && 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 }