diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-06-03 10:17:48 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-06-03 10:17:48 +0200 |
commit | 0118e2f32b421bd17e0186cc5a7f3c67ee2dacc9 (patch) | |
tree | 62123b68a1d9a5dcb3f13b754fe0d7aaa9584760 /app-misc/colordiff/colordiff-1.0.18.ebuild | |
parent | dev-libs/libbsd: Revbump to not remove *.a files. (diff) | |
download | gentoo-0118e2f32b421bd17e0186cc5a7f3c67ee2dacc9.tar.gz gentoo-0118e2f32b421bd17e0186cc5a7f3c67ee2dacc9.tar.bz2 gentoo-0118e2f32b421bd17e0186cc5a7f3c67ee2dacc9.zip |
app-misc/colordiff: Bump to version 1.0.18. Removed old.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-misc/colordiff/colordiff-1.0.18.ebuild')
-rw-r--r-- | app-misc/colordiff/colordiff-1.0.18.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-misc/colordiff/colordiff-1.0.18.ebuild b/app-misc/colordiff/colordiff-1.0.18.ebuild new file mode 100644 index 000000000000..4088935eb660 --- /dev/null +++ b/app-misc/colordiff/colordiff-1.0.18.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit prefix + +DESCRIPTION="Colorizes output of diff" +HOMEPAGE="http://www.colordiff.org/" +SRC_URI="http://www.colordiff.org/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +RDEPEND=" + dev-lang/perl + sys-apps/diffutils" + +src_prepare() { + default + + # set proper etcdir for Gentoo Prefix + sed \ + -e "s:'/etc:'@GENTOO_PORTAGE_EPREFIX@/etc:" \ + -i "${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 ${PN}{.pl,} + dobin cdiff.sh + insinto /etc + doins colordiffrc{,-lightbg,-gitdiff} + dodoc BUGS CHANGES README + doman {cdiff,colordiff}.1 +} |