/[gentoo-x86]/app-vim/cctree/cctree-1.60.ebuild
Gentoo

Contents of /app-vim/cctree/cctree-1.60.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Dec 22 08:16:16 2012 UTC (19 months, 1 week ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
Fix LICENSE, bug 448064.

(Portage version: 2.1.11.38/cvs/Linux x86_64, signed Manifest commit with key E7BE08CA7DC6EA25)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-vim/cctree/cctree-1.60.ebuild,v 1.1 2011/07/15 18:48:09 radhermit Exp $
4
5 EAPI=4
6
7 inherit vim-plugin
8
9 MY_PN="CCTree"
10 DESCRIPTION="vim plugin: Cscope based source-code browser and code flow analysis tool"
11 HOMEPAGE="http://sites.google.com/site/vimcctree/"
12 SRC_URI="https://github.com/vim-scripts/${MY_PN}/tarball/${PV} -> ${P}.tar.gz"
13 LICENSE="bufexplorer.vim"
14 KEYWORDS="~amd64 ~x86"
15 IUSE=""
16
17 VIM_PLUGIN_HELPFILES="cctree.txt"
18
19 RDEPEND="dev-util/cscope"
20
21 src_unpack() {
22 unpack ${A}
23 mv *-${MY_PN}-* "${S}"
24 }
25
26 src_prepare() {
27 # There's good documentation included with the script, but it's not
28 # in a helpfile. Since there's rather too much information to include
29 # in a VIM_PLUGIN_HELPTEXT, we'll sed ourselves a help doc.
30 mkdir doc
31 sed -e '/" Name Of File/,/".\+Community/!d' -e 's/^" \?//' \
32 -e 's/\(Name Of File: \)\([^.]\+\)\.vim/\1*\L\2.txt*/' \
33 ftplugin/cctree.vim > doc/cctree.txt
34
35 rm README
36 }

  ViewVC Help
Powered by ViewVC 1.1.20