/[gentoo-x86]/dev-vcs/colorcvs/colorcvs-1.4-r1.ebuild
Gentoo

Contents of /dev-vcs/colorcvs/colorcvs-1.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Jan 6 21:23:09 2011 UTC (3 years, 7 months ago) by jlec
Branch: MAIN
Changes since 1.3: +6 -5 lines
Some Clean up

(Portage version: 2.2.0_alpha13/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/colorcvs/colorcvs-1.4-r1.ebuild,v 1.3 2010/06/19 00:46:10 abcd Exp $
4
5 EAPI=3
6 inherit eutils prefix
7
8 DESCRIPTION="A tool based on colorgcc to beautify cvs output"
9 HOMEPAGE="http://www.hakubi.us/colorcvs/"
10 SRC_URI="http://www.hakubi.us/${PN}/${P}.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
15 IUSE=""
16
17 DEPEND=""
18 RDEPEND="
19 dev-lang/perl
20 dev-vcs/cvs"
21
22 src_prepare() {
23 # fix typo
24 sed -i -e 's:compiler_pid:cvs_pid:' ${PN} || die "sed failed"
25 epatch "${FILESDIR}"/${P}-prefix.patch
26 eprefixify colorcvs
27 }
28
29 src_install() {
30 insinto /etc/profile.d
31 doins "${FILESDIR}/${PN}-profile.sh" || die "doins failed"
32
33 dobin colorcvs || die "dobin failed"
34 dodoc colorcvsrc-sample || die "dodoc failed"
35 }
36
37 pkg_postinst() {
38 echo
39 einfo "An alias to colorcvs was installed for the cvs command."
40 einfo "In order to immediately activate it do:"
41 einfo "\tsource /etc/profile"
42 echo
43 }

  ViewVC Help
Powered by ViewVC 1.1.20