Gentoo Archives: gentoo-commits

From: "Mike Gilbert (floppym)" <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/global: global-6.2.4.ebuild ChangeLog
Date: Sat, 02 Jun 2012 20:31:09
Message-Id: 20120602203058.7DD5E2004B@flycatcher.gentoo.org
1 floppym 12/06/02 20:30:58
2
3 Modified: ChangeLog
4 Added: global-6.2.4.ebuild
5 Log:
6 Version bump. Ebuild by Arfrever.
7
8 (Portage version: 2.2.0_alpha109/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.98 dev-util/global/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/global/ChangeLog?rev=1.98&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/global/ChangeLog?rev=1.98&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/global/ChangeLog?r1=1.97&r2=1.98
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/global/ChangeLog,v
20 retrieving revision 1.97
21 retrieving revision 1.98
22 diff -u -r1.97 -r1.98
23 --- ChangeLog 24 Apr 2012 10:03:49 -0000 1.97
24 +++ ChangeLog 2 Jun 2012 20:30:58 -0000 1.98
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-util/global
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/global/ChangeLog,v 1.97 2012/04/24 10:03:49 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/global/ChangeLog,v 1.98 2012/06/02 20:30:58 floppym Exp $
30 +
31 +*global-6.2.4 (02 Jun 2012)
32 +
33 + 02 Jun 2012; Mike Gilbert <floppym@g.o> +global-6.2.4.ebuild:
34 + Version bump. Ebuild by Arfrever.
35
36 24 Apr 2012; Michał Górny <mgorny@g.o> global-5.9.5.ebuild,
37 global-5.9.7.ebuild, global-6.1.ebuild, global-6.2.ebuild,
38
39
40
41 1.1 dev-util/global/global-6.2.4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/global/global-6.2.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/global/global-6.2.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: global-6.2.4.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-util/global/global-6.2.4.ebuild,v 1.1 2012/06/02 20:30:58 floppym Exp $
51
52 EAPI="4"
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="mirror://gnu/${PN}/${P}.tar.gz"
59
60 LICENSE="GPL-3"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
63 IUSE="doc emacs vim"
64
65 RDEPEND="emacs? ( virtual/emacs )
66 vim? ( || ( app-editors/vim app-editors/gvim ) )"
67 DEPEND="${DEPEND}
68 doc? ( app-text/texi2html sys-apps/texinfo )"
69
70 SITEFILE="50gtags-gentoo.el"
71
72 src_configure() {
73 econf "$(use_with emacs lispdir "${SITELISP}/${PN}")"
74 }
75
76 src_compile() {
77 if use doc; then
78 texi2pdf -q -o doc/global.pdf doc/global.texi
79 texi2html -o doc/global.html doc/global.texi
80 fi
81
82 if use emacs; then
83 elisp-compile *.el || die "elisp-compile failed"
84 fi
85
86 emake
87 }
88
89 src_install() {
90 emake DESTDIR="${D}" install
91
92 if use doc; then
93 dohtml doc/global.html
94 [[ -f doc/global.pdf ]] && dodoc doc/global.pdf
95 fi
96
97 dodoc AUTHORS FAQ NEWS README THANKS
98
99 insinto /etc
100 doins gtags.conf
101
102 if use vim; then
103 insinto /usr/share/vim/vimfiles/plugin
104 doins gtags.vim
105 fi
106
107 if use emacs; then
108 elisp-install ${PN} *.{el,elc} || die "elisp-install failed"
109 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die "elisp-site-file-install failed"
110 fi
111 }
112
113 pkg_postinst() {
114 use emacs && elisp-site-regen
115 }
116
117 pkg_postrm() {
118 use emacs && elisp-site-regen
119 }