summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2010-04-23 14:17:46 +0000
committerJeremy Olexa <darkside@gentoo.org>2010-04-23 14:17:46 +0000
commita8fe989663d367593b5b41608ac65e8e73088e57 (patch)
tree0b5b3146d66af20122e5f284f5f85f35c709824b /dev-vcs
parentversion bump (diff)
downloadgentoo-2-a8fe989663d367593b5b41608ac65e8e73088e57.tar.gz
gentoo-2-a8fe989663d367593b5b41608ac65e8e73088e57.tar.bz2
gentoo-2-a8fe989663d367593b5b41608ac65e8e73088e57.zip
Migrate to EAPI3, add keywords/patch as testing in the prefix overlay
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/colorcvs/ChangeLog6
-rw-r--r--dev-vcs/colorcvs/colorcvs-1.4-r1.ebuild16
-rw-r--r--dev-vcs/colorcvs/files/colorcvs-1.4-prefix.patch20
3 files changed, 34 insertions, 8 deletions
diff --git a/dev-vcs/colorcvs/ChangeLog b/dev-vcs/colorcvs/ChangeLog
index 99eb17da875a..3e777fc38c0f 100644
--- a/dev-vcs/colorcvs/ChangeLog
+++ b/dev-vcs/colorcvs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-vcs/colorcvs
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/colorcvs/ChangeLog,v 1.3 2010/04/14 17:27:19 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/colorcvs/ChangeLog,v 1.4 2010/04/23 14:17:46 darkside Exp $
+
+ 23 Apr 2010; Jeremy Olexa <darkside@gentoo.org> colorcvs-1.4-r1.ebuild,
+ +files/colorcvs-1.4-prefix.patch:
+ Migrate to EAPI3, add keywords/patch as testing in the prefix overlay
14 Apr 2010; Christian Ruppert <idl0r@gentoo.org> -colorcvs-1.4.ebuild:
Remove old ebuild.
diff --git a/dev-vcs/colorcvs/colorcvs-1.4-r1.ebuild b/dev-vcs/colorcvs/colorcvs-1.4-r1.ebuild
index f12c5071852b..db4d046142cd 100644
--- a/dev-vcs/colorcvs/colorcvs-1.4-r1.ebuild
+++ b/dev-vcs/colorcvs/colorcvs-1.4-r1.ebuild
@@ -1,6 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/colorcvs/colorcvs-1.4-r1.ebuild,v 1.1 2010/03/06 13:32:09 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/colorcvs/colorcvs-1.4-r1.ebuild,v 1.2 2010/04/23 14:17:46 darkside Exp $
+
+EAPI=3
+inherit eutils prefix
DESCRIPTION="A tool based on colorgcc to beautify cvs output"
HOMEPAGE="http://www.hakubi.us/colorcvs/"
@@ -8,19 +11,18 @@ SRC_URI="http://www.hakubi.us/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ppc x86 ~x86-fbsd"
+KEYWORDS="amd64 ppc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
DEPEND=""
RDEPEND="dev-lang/perl
dev-util/cvs"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
# fix typo
sed -i -e 's:compiler_pid:cvs_pid:' ${PN} || die "sed failed"
+ epatch "${FILESDIR}"/${P}-prefix.patch
+ eprefixify colorcvs
}
src_install() {
diff --git a/dev-vcs/colorcvs/files/colorcvs-1.4-prefix.patch b/dev-vcs/colorcvs/files/colorcvs-1.4-prefix.patch
new file mode 100644
index 000000000000..0a93b49eba0b
--- /dev/null
+++ b/dev-vcs/colorcvs/files/colorcvs-1.4-prefix.patch
@@ -0,0 +1,20 @@
+--- colorcvs.orig 2008-01-26 20:04:54 +0100
++++ colorcvs 2008-01-26 20:05:56 +0100
+@@ -54,7 +54,7 @@
+
+ sub initDefaults
+ {
+- $cvsPath = "/usr/bin/cvs";
++ $cvsPath = "@GENTOO_PORTAGE_EPREFIX@/usr/bin/cvs";
+
+ $nocolor{"dumb"} = "true";
+
+@@ -118,7 +118,7 @@
+ initDefaults();
+
+ # Read the configuration files.
+-for my $configFile ('/etc/colorcvsrc', "$ENV{HOME}/.colorcvsrc") {
++for my $configFile ('@GENTOO_PORTAGE_EPREFIX@/etc/colorcvsrc', "$ENV{HOME}/.colorcvsrc") {
+ if (-f $configFile)
+ {
+ loadPreferences($configFile);