Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/ctags: ChangeLog ctags-5.8-r1.ebuild
Date: Fri, 26 Sep 2014 20:11:34
Message-Id: 20140926201129.2331A6598@oystercatcher.gentoo.org
1 radhermit 14/09/26 20:11:29
2
3 Modified: ChangeLog
4 Added: ctags-5.8-r1.ebuild
5 Log:
6 Make app-admin/eselect-ctags an rdep (bug #519834 by Nick Bowler).
7
8 (Portage version: 2.2.13/cvs/Linux x86_64, signed Manifest commit with key 4F064CA3)
9
10 Revision Changes Path
11 1.86 dev-util/ctags/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ctags/ChangeLog?rev=1.86&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ctags/ChangeLog?rev=1.86&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ctags/ChangeLog?r1=1.85&r2=1.86
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/ctags/ChangeLog,v
20 retrieving revision 1.85
21 retrieving revision 1.86
22 diff -u -r1.85 -r1.86
23 --- ChangeLog 6 Jun 2014 05:59:37 -0000 1.85
24 +++ ChangeLog 26 Sep 2014 20:11:29 -0000 1.86
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-util/ctags
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/ctags/ChangeLog,v 1.85 2014/06/06 05:59:37 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/ctags/ChangeLog,v 1.86 2014/09/26 20:11:29 radhermit Exp $
30 +
31 +*ctags-5.8-r1 (26 Sep 2014)
32 +
33 + 26 Sep 2014; Tim Harder <radhermit@g.o> +ctags-5.8-r1.ebuild:
34 + Make app-admin/eselect-ctags an rdep (bug #519834 by Nick Bowler).
35
36 06 Jun 2014; Mike Frysinger <vapier@g.o> ctags-5.8.ebuild:
37 Add arm64 love.
38
39
40
41 1.1 dev-util/ctags/ctags-5.8-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ctags/ctags-5.8-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/ctags/ctags-5.8-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ctags-5.8-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-util/ctags/ctags-5.8-r1.ebuild,v 1.1 2014/09/26 20:11:29 radhermit Exp $
51
52 EAPI="5"
53
54 inherit eutils
55
56 DESCRIPTION="Exuberant Ctags creates tags files for code browsing in editors"
57 HOMEPAGE="http://ctags.sourceforge.net"
58 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
59 ada? ( mirror://sourceforge/gnuada/ctags-ada-mode-4.3.11.tar.bz2 )"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
64 IUSE="ada"
65
66 RDEPEND="app-admin/eselect-ctags"
67
68 src_prepare() {
69 epatch "${FILESDIR}/${PN}-5.6-ebuilds.patch"
70 # Upstream fix for python variables starting with def
71 epatch "${FILESDIR}/${P}-python-vars-starting-with-def.patch"
72
73 # Bug #273697
74 epatch "${FILESDIR}/${P}-f95-pointers.patch"
75
76 # enabling Ada support
77 if use ada ; then
78 cp "${WORKDIR}/${PN}-ada-mode-4.3.11/ada.c" "${S}" || die
79 epatch "${FILESDIR}/${P}-ada.patch"
80 fi
81 }
82
83 src_configure() {
84 econf \
85 --with-posix-regex \
86 --without-readlib \
87 --disable-etags \
88 --enable-tmpdir=/tmp
89 }
90
91 src_install() {
92 emake prefix="${D}"/usr mandir="${D}"/usr/share/man install
93
94 # namepace collision with X/Emacs-provided /usr/bin/ctags -- we
95 # rename ctags to exuberant-ctags (Mandrake does this also).
96 mv "${D}"/usr/bin/{ctags,exuberant-ctags} || die
97 mv "${D}"/usr/share/man/man1/{ctags,exuberant-ctags}.1 || die
98
99 dodoc FAQ NEWS README
100 dohtml EXTENDING.html ctags.html
101 }
102
103 pkg_postinst() {
104 eselect ctags update
105 elog "You can set the version to be started by /usr/bin/ctags through"
106 elog "the ctags eselect module. \"man ctags.eselect\" for details."
107 }
108
109 pkg_postrm() {
110 eselect ctags update
111 }