/[gentoo-x86]/app-vim/vcscommand/vcscommand-0.1_beta16.ebuild
Gentoo

Contents of /app-vim/vcscommand/vcscommand-0.1_beta16.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jun 20 13:12:16 2008 UTC (10 years, 1 month ago) by hawking
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump. Keyworded ~amd64. Dropped old.
(Portage version: 2.2_pre8/cvs/Linux 2.6.25-gentoo-r1 x86_64)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-vim/vcscommand/vcscommand-0.1_beta16.ebuild,v 1.1 2007/05/08 05:12:50 pioto Exp $
4
5 VIM_PLUGIN_VIM_VERSION="7.0"
6 inherit vim-plugin
7
8 DESCRIPTION="vim plugin: CVS/SVN/SVK integration plugin"
9 HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=90"
10
11 LICENSE="public-domain"
12 KEYWORDS="~x86"
13 IUSE="cvs subversion svk"
14
15 RDEPEND="cvs? ( dev-util/cvs )
16 subversion? ( dev-util/subversion )
17 svk? ( dev-util/svk )
18 !app-vim/cvscommand
19 !app-vim/calendar" # conflict, bug 62677
20
21 VIM_PLUGIN_HELPFILES="vcscommand"
22
23 no_flags_die() {
24 eerror "Please choose at least one VCS system"
25 eerror "to be supported by this plugin."
26 die "No vcs systems set"
27 }
28
29 pkg_setup() {
30 elog "Note: Support for all VCS systems are enabled by use flags."
31 elog " Make sure you've enabled the flags you want."
32
33 use cvs || use subversion || use svk || no_flags_die
34 }
35
36 src_unpack() {
37 unpack ${A}
38 cd "${S}"
39
40 use cvs || rm syntax/CVSAnnotate.vim plugin/vcscvs.vim
41 use subversion || rm syntax/SVNAnnotate.vim plugin/vcssvn.vim
42 use svk || rm syntax/SVKAnnotate.vim plugin/vcssvk.vim
43 }

  ViewVC Help
Powered by ViewVC 1.1.20