Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/cscope: ChangeLog cscope-15.6-r2.ebuild
Date: Fri, 21 Sep 2007 10:19:23
Message-Id: E1IYe9i-0003Sd-GR@stork.gentoo.org
1 ulm 07/09/21 08:46:34
2
3 Modified: ChangeLog
4 Added: cscope-15.6-r2.ebuild
5 Log:
6 Use autoload for Emacs files (#174469). Other minor fixes.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.96 dev-util/cscope/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cscope/ChangeLog?rev=1.96&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cscope/ChangeLog?rev=1.96&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cscope/ChangeLog?r1=1.95&r2=1.96
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/cscope/ChangeLog,v
19 retrieving revision 1.95
20 retrieving revision 1.96
21 diff -u -r1.95 -r1.96
22 --- ChangeLog 15 Feb 2007 10:21:00 -0000 1.95
23 +++ ChangeLog 21 Sep 2007 08:46:34 -0000 1.96
24 @@ -1,6 +1,15 @@
25 # ChangeLog for dev-util/cscope
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cscope/ChangeLog,v 1.95 2007/02/15 10:21:00 opfer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cscope/ChangeLog,v 1.96 2007/09/21 08:46:34 ulm Exp $
29 +
30 +*cscope-15.6-r2 (21 Sep 2007)
31 +
32 + 21 Sep 2007; Ulrich Mueller <ulm@g.o> +files/50cscope-gentoo.el,
33 + +cscope-15.6-r2.ebuild:
34 + Fix Emacs support: Use autoload (bug #174469); install files in standard
35 + location ${SITELISP}/${PN}. Don't install licence and CVS directories with
36 + webcscope documentation. Add GPL-2 to "LICENSE" since it applies to xcscope
37 + and webcscope. Add some quotes and some messages to die commands.
38
39 15 Feb 2007; Christian Faulhammer <opfer@g.o>
40 -cscope-15.5.20060927.ebuild, -cscope-15.5.20060927-r1.ebuild,
41
42
43
44 1.1 dev-util/cscope/cscope-15.6-r2.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cscope/cscope-15.6-r2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cscope/cscope-15.6-r2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: cscope-15.6-r2.ebuild
50 ===================================================================
51 # Copyright 1999-2007 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-util/cscope/cscope-15.6-r2.ebuild,v 1.1 2007/09/21 08:46:34 ulm Exp $
54
55 inherit elisp-common eutils
56
57 DESCRIPTION="Interactively examine a C program"
58 HOMEPAGE="http://cscope.sourceforge.net/"
59 SRC_URI="mirror://sourceforge/cscope/${P}.tar.gz"
60
61 LICENSE="as-is GPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
64 IUSE="emacs"
65
66 RDEPEND=">=sys-libs/ncurses-5.2"
67 DEPEND="${RDEPEND}
68 sys-devel/flex
69 sys-devel/bison
70 >=sys-devel/autoconf-2.60
71 emacs? ( virtual/emacs )"
72
73 SITEFILE=50${PN}-gentoo.el
74
75 src_unpack() {
76 unpack ${A}
77
78 # warn users of insecure web frontend, see bug #158831
79 cd "${S}"
80 epatch "${FILESDIR}/${PN}-158831-warning_webscope.patch"
81 }
82
83 src_compile() {
84 STRIP="no"
85
86 econf || die "econf failed"
87 make clean || die "make clean failed"
88 emake || die "emake failed"
89
90 if use emacs ; then
91 cd "${S}"/contrib/xcscope || die
92 elisp-compile *.el || die "elisp-compile failed"
93 fi
94 }
95
96 src_install() {
97 einstall || die "einstall failed"
98 dodoc AUTHORS ChangeLog NEWS README* TODO || die "dodoc failed"
99
100 if use emacs ; then
101 cd "${S}"/contrib/xcscope || die
102 elisp-install ${PN} *.el *.elc || die "elisp-install failed"
103 elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
104 || die "elisp-site-file-install failed"
105 dobin cscope-indexer || die "dobin failed"
106 fi
107
108 cd "${S}"/contrib/webcscope || die
109 docinto webcscope
110 dodoc INSTALL TODO cgi-lib.pl cscope hilite.c || die "dodoc failed"
111 insinto /usr/share/doc/${PF}/webcscope/icons; doins icons/*.gif
112 }
113
114 pkg_postinst() {
115 use emacs && elisp-site-regen
116 }
117
118 pkg_postrm() {
119 use emacs && elisp-site-regen
120 }
121
122
123
124 --
125 gentoo-commits@g.o mailing list