summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/colorcvs')
-rw-r--r--dev-vcs/colorcvs/colorcvs-1.4-r2.ebuild (renamed from dev-vcs/colorcvs/colorcvs-1.4-r1.ebuild)18
-rw-r--r--dev-vcs/colorcvs/files/colorcvs-1.4-prefix.patch4
2 files changed, 12 insertions, 10 deletions
diff --git a/dev-vcs/colorcvs/colorcvs-1.4-r1.ebuild b/dev-vcs/colorcvs/colorcvs-1.4-r2.ebuild
index d3c5b132c2e0..2f2076b0e8dc 100644
--- a/dev-vcs/colorcvs/colorcvs-1.4-r1.ebuild
+++ b/dev-vcs/colorcvs/colorcvs-1.4-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=3
+EAPI=6
-inherit eutils prefix
+inherit prefix
DESCRIPTION="A tool based on colorgcc to beautify cvs output"
HOMEPAGE="https://packages.gentoo.org/package/dev-vcs/colorcvs"
@@ -17,21 +17,23 @@ IUSE=""
DEPEND=""
RDEPEND="
dev-lang/perl
- dev-vcs/cvs"
+ dev-vcs/cvs
+"
src_prepare() {
# fix typo
sed -i -e 's:compiler_pid:cvs_pid:' ${PN} || die "sed failed"
- epatch "${FILESDIR}"/${P}-prefix.patch
+ eapply "${FILESDIR}"/${P}-prefix.patch
eprefixify colorcvs
+ default
}
src_install() {
insinto /etc/profile.d
- doins "${FILESDIR}/${PN}-profile.sh" || die "doins failed"
+ doins "${FILESDIR}/${PN}-profile.sh"
- dobin colorcvs || die "dobin failed"
- dodoc colorcvsrc-sample || die "dodoc failed"
+ dobin colorcvs
+ dodoc colorcvsrc-sample
}
pkg_postinst() {
diff --git a/dev-vcs/colorcvs/files/colorcvs-1.4-prefix.patch b/dev-vcs/colorcvs/files/colorcvs-1.4-prefix.patch
index 0a93b49eba0b..acc96c42bf65 100644
--- a/dev-vcs/colorcvs/files/colorcvs-1.4-prefix.patch
+++ b/dev-vcs/colorcvs/files/colorcvs-1.4-prefix.patch
@@ -1,5 +1,5 @@
---- colorcvs.orig 2008-01-26 20:04:54 +0100
-+++ colorcvs 2008-01-26 20:05:56 +0100
+--- a/colorcvs 2008-01-26 20:04:54 +0100
++++ b/colorcvs 2008-01-26 20:05:56 +0100
@@ -54,7 +54,7 @@
sub initDefaults