diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2009-11-24 17:01:58 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2009-11-24 17:01:58 +0000 |
commit | 2aee7d0d4b96ab29d3fd7d0b4db3b54fa77db25f (patch) | |
tree | 19dcca09f9372004e3301812598c9b87672ca22f /app-misc | |
parent | sparc stable wrt #281855 (diff) | |
download | gentoo-2-2aee7d0d4b96ab29d3fd7d0b4db3b54fa77db25f.tar.gz gentoo-2-2aee7d0d4b96ab29d3fd7d0b4db3b54fa77db25f.tar.bz2 gentoo-2-2aee7d0d4b96ab29d3fd7d0b4db3b54fa77db25f.zip |
Port Gentoo Prefix changes to gentoo-x86, minor changes which result in no change for gentoo-x86 users
(Portage version: 2.1.7.4/cvs/Linux x86_64)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/colordiff/ChangeLog | 6 | ||||
-rw-r--r-- | app-misc/colordiff/colordiff-1.0.9.ebuild | 18 |
2 files changed, 18 insertions, 6 deletions
diff --git a/app-misc/colordiff/ChangeLog b/app-misc/colordiff/ChangeLog index f4c42e59da60..7c33a4ab1c36 100644 --- a/app-misc/colordiff/ChangeLog +++ b/app-misc/colordiff/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-misc/colordiff # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/colordiff/ChangeLog,v 1.78 2009/09/07 13:37:12 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/colordiff/ChangeLog,v 1.79 2009/11/24 17:01:58 darkside Exp $ + + 24 Nov 2009; Jeremy Olexa <darkside@gentoo.org> colordiff-1.0.9.ebuild: + Port Gentoo Prefix changes to gentoo-x86, minor changes which result in no + change for gentoo-x86 users 07 Sep 2009; Raúl Porcel <armin76@gentoo.org> colordiff-1.0.9.ebuild: Add ~arm wrt #283103 diff --git a/app-misc/colordiff/colordiff-1.0.9.ebuild b/app-misc/colordiff/colordiff-1.0.9.ebuild index ed3a9be23656..75be7ad6d5f5 100644 --- a/app-misc/colordiff/colordiff-1.0.9.ebuild +++ b/app-misc/colordiff/colordiff-1.0.9.ebuild @@ -1,6 +1,9 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/colordiff/colordiff-1.0.9.ebuild,v 1.5 2009/09/07 13:37:12 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/colordiff/colordiff-1.0.9.ebuild,v 1.6 2009/11/24 17:01:58 darkside Exp $ + +EAPI=2 +inherit prefix DESCRIPTION="Colorizes output of diff" HOMEPAGE="http://colordiff.sourceforge.net/" @@ -10,17 +13,22 @@ SRC_URI="http://${PN}.sourceforge.net/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 ~arm ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" +KEYWORDS="alpha amd64 ~arm ia64 ~mips ppc ppc64 sparc x86 ~ppc-aix ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE="" DEPEND="" RDEPEND="sys-apps/diffutils" -src_compile() { - # This package has a makefile, but we don't want to run it - true +src_prepare() { + # set proper etcdir for Gentoo Prefix + sed -i -e "s:'/etc:'@GENTOO_PORTAGE_EPREFIX@/etc:" "${S}/colordiff.pl" \ + || die "sed etcdir failed" + eprefixify ${S}/colordiff.pl } +# This package has a makefile, but we don't want to run it +src_compile() { :; } + src_install() { newbin colordiff.pl colordiff || die newbin cdiff.sh cdiff || die |