summaryrefslogtreecommitdiff
blob: 1cef32858c72925651844e1d84e045bfeb000ff9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/capistrano-launcher/capistrano-launcher-1.ebuild,v 1.10 2009/06/13 09:20:17 graaff Exp $

DESCRIPTION="Launcher script for capistrano"
HOMEPAGE="http://capify.org/"
SRC_URI=""

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ia64 ppc ppc64 x86"
IUSE=""

# Block versions of capistrano that install /usr/bin/cap to avoid file-collision
RDEPEND="!~dev-ruby/capistrano-1.99.1
	!~dev-ruby/capistrano-1.99.3
	!<dev-ruby/capistrano-1.4.1-r1
"

src_install() {
	dobin "${FILESDIR}"/cap
}

pkg_postinst() {
	einfo "The highest installed version of capistrano will be used when"
	einfo "invoking /usr/bin/cap by default."
	einfo "To invoke a different version, invoke it like:"
	einfo "\tcap _1.4.1_"
}