1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="A tool based on colorgcc to beautify cvs output"
10 HOMEPAGE="http://packages.gentoo.org/package/dev-vcs/colorcvs"
11 SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.bz2"
15 KEYWORDS="amd64 ppc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
25 sed -i -e 's:compiler_pid:cvs_pid:' ${PN} || die "sed failed"
26 epatch "${FILESDIR}"/${P}-prefix.patch
31 insinto /etc/profile.d
32 doins "${FILESDIR}/${PN}-profile.sh" || die "doins failed"
34 dobin colorcvs || die "dobin failed"
35 dodoc colorcvsrc-sample || die "dodoc failed"
40 einfo "An alias to colorcvs was installed for the cvs command."
41 einfo "In order to immediately activate it do:"
42 einfo "\tsource /etc/profile"