From: | "Tim Harder (radhermit)" <radhermit@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-vim/dirdiff: metadata.xml ChangeLog dirdiff-1.1.4.ebuild |
Date: | Mon, 05 Sep 2011 03:32:57 |
Message-Id: | 20110905033248.052112004C@flycatcher.gentoo.org |
1 | radhermit 11/09/05 03:32:48 |
2 | |
3 | Added: metadata.xml ChangeLog dirdiff-1.1.4.ebuild |
4 | Log: |
5 | Initial import. |
6 | |
7 | (Portage version: 2.2.0_alpha51/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-vim/dirdiff/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/dirdiff/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/dirdiff/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>vim</herd> |
21 | </pkgmetadata> |
22 | |
23 | |
24 | |
25 | 1.1 app-vim/dirdiff/ChangeLog |
26 | |
27 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/dirdiff/ChangeLog?rev=1.1&view=markup |
28 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/dirdiff/ChangeLog?rev=1.1&content-type=text/plain |
29 | |
30 | Index: ChangeLog |
31 | =================================================================== |
32 | # ChangeLog for app-vim/dirdiff |
33 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
34 | # $Header: /var/cvsroot/gentoo-x86/app-vim/dirdiff/ChangeLog,v 1.1 2011/09/05 03:32:47 radhermit Exp $ |
35 | |
36 | *dirdiff-1.1.4 (05 Sep 2011) |
37 | |
38 | 05 Sep 2011; Tim Harder <radhermit@g.o> +dirdiff-1.1.4.ebuild, |
39 | +metadata.xml: |
40 | Initial import. |
41 | |
42 | |
43 | |
44 | |
45 | 1.1 app-vim/dirdiff/dirdiff-1.1.4.ebuild |
46 | |
47 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/dirdiff/dirdiff-1.1.4.ebuild?rev=1.1&view=markup |
48 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/dirdiff/dirdiff-1.1.4.ebuild?rev=1.1&content-type=text/plain |
49 | |
50 | Index: dirdiff-1.1.4.ebuild |
51 | =================================================================== |
52 | # Copyright 1999-2011 Gentoo Foundation |
53 | # Distributed under the terms of the GNU General Public License v2 |
54 | # $Header: /var/cvsroot/gentoo-x86/app-vim/dirdiff/dirdiff-1.1.4.ebuild,v 1.1 2011/09/05 03:32:47 radhermit Exp $ |
55 | |
56 | EAPI="4" |
57 | |
58 | inherit vim-plugin |
59 | |
60 | MY_PN="DirDiff.vim" |
61 | DESCRIPTION="vim plugin: diff and merge two directories recursively" |
62 | HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=102" |
63 | SRC_URI="https://github.com/vim-scripts/${MY_PN}/tarball/${PV} -> ${P}.tar.gz" |
64 | LICENSE="BSD" |
65 | KEYWORDS="~amd64 ~x86" |
66 | IUSE="" |
67 | |
68 | VIM_PLUGIN_HELPFILES="DirDiff.txt" |
69 | |
70 | RDEPEND="sys-apps/diffutils" |
71 | |
72 | src_unpack() { |
73 | unpack ${A} |
74 | mv *-${MY_PN}-* "${S}" |
75 | } |
76 | |
77 | src_prepare() { |
78 | # There's good documentation included with the script, but it's not |
79 | # in a helpfile. Since there's rather too much information to include |
80 | # in a VIM_PLUGIN_HELPTEXT, we'll sed ourselves a help doc. |
81 | mkdir "${S}"/doc |
82 | sed -e '0,/" -\*- vim -\*-$/d' -e '/" 0.7 Initial Release$/,9999d' -e 's/^" \?//' \ |
83 | -e 's/\(FILE: \)".\+\.vim"/\1*DirDiff.txt*/' \ |
84 | plugin/DirDiff.vim \ |
85 | > doc/DirDiff.txt |
86 | |
87 | rm -f README |
88 | } |