Gentoo Archives: gentoo-commits

From: "Carsten Lohrke (carlo)" <carlo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/global: ChangeLog global-5.6.2.ebuild
Date: Tue, 08 Jan 2008 02:03:10
Message-Id: E1JC3o3-00040Y-Dt@stork.gentoo.org
1 carlo 08/01/08 02:03:07
2
3 Modified: ChangeLog
4 Added: global-5.6.2.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.25 dev-util/global/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/global/ChangeLog?rev=1.25&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/global/ChangeLog?rev=1.25&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/global/ChangeLog?r1=1.24&r2=1.25
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/global/ChangeLog,v
19 retrieving revision 1.24
20 retrieving revision 1.25
21 diff -u -r1.24 -r1.25
22 --- ChangeLog 27 Aug 2007 17:15:47 -0000 1.24
23 +++ ChangeLog 8 Jan 2008 02:03:06 -0000 1.25
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-util/global
26 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/global/ChangeLog,v 1.24 2007/08/27 17:15:47 armin76 Exp $
28 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/global/ChangeLog,v 1.25 2008/01/08 02:03:06 carlo Exp $
30 +
31 +*global-5.6.2 (08 Jan 2008)
32 +
33 + 08 Jan 2008; Carsten Lohrke <carlo@g.o> +global-5.6.2.ebuild:
34 + Version bump.
35
36 *global-5.6.1 (27 Aug 2007)
37
38
39
40
41 1.1 dev-util/global/global-5.6.2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/global/global-5.6.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/global/global-5.6.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: global-5.6.2.ebuild
47 ===================================================================
48 # Copyright 1999-2008 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.6.2.ebuild,v 1.1 2008/01/08 02:03:06 carlo Exp $
51
52 inherit elisp-common
53
54 DESCRIPTION="GNU Global is a tag system to find the locations of a specified object in C, C++, Yacc, Java and assembler 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
64 RDEPEND="virtual/libc
65 vim? ( app-editors/vim )
66 emacs? ( virtual/emacs )"
67 DEPEND="${DEPEND}
68 doc? ( sys-apps/texinfo )"
69
70 SITEFILE=50gtags-gentoo.el
71
72 src_compile() {
73 econf || die "econf failed"
74
75 if use doc; then
76 texi2pdf -q -o doc/global.pdf doc/global.txi
77 texi2html -o doc/global.html doc/global.txi
78 fi
79
80 if use emacs; then
81 elisp-comp *.el || die
82 fi
83
84 emake || die "emake failed"
85 }
86
87 src_install() {
88 emake DESTDIR=${D} install || die
89 if use doc; then
90 dohtml doc/global.html
91 dodoc doc/global.pdf
92 fi
93 dodoc AUTHORS LICENSE FAQ INSTALL NEWS README THANKS
94
95 insinto /etc
96 doins gtags.conf
97 insinto /usr/share/${PN}
98 doins gtags.pl globash.rc
99
100 if use vim; then
101 insinto /usr/share/vim/vimfiles/plugin
102 doins gtags.vim
103 fi
104
105 if use emacs; then
106 elisp-install gtags *.{el,elc}
107 elisp-site-file-install ${FILESDIR}/${SITEFILE}
108 fi
109 }
110
111 pkg_postinst() {
112 use emacs && elisp-site-regen
113 }
114
115 pkg_postrm() {
116 use emacs && elisp-site-regen
117 }
118
119
120
121 --
122 gentoo-commits@l.g.o mailing list