summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2015-11-03 16:01:52 +0100
committerLars Wendler <polynomial-c@gentoo.org>2015-11-03 16:06:20 +0100
commit4c0ee9189668b744694e29143da1d8931752d472 (patch)
tree60391cb93d2db4ccabcf931ec01bb783d8f22add /app-misc
parentapp-admin/sudo: x86 stable wrt bug #564774 (diff)
downloadgentoo-4c0ee9189668b744694e29143da1d8931752d472.tar.gz
gentoo-4c0ee9189668b744694e29143da1d8931752d472.tar.bz2
gentoo-4c0ee9189668b744694e29143da1d8931752d472.zip
app-misc/colordiff: Bump to version 1.0.16
Package-Manager: portage-2.2.23 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/colordiff/Manifest1
-rw-r--r--app-misc/colordiff/colordiff-1.0.16.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/app-misc/colordiff/Manifest b/app-misc/colordiff/Manifest
index 63576d40744c..38429aa1c9bf 100644
--- a/app-misc/colordiff/Manifest
+++ b/app-misc/colordiff/Manifest
@@ -1,2 +1,3 @@
DIST colordiff-1.0.13.tar.gz 19960 SHA256 ce2805a130c81545711df94bc00a93545da3f323d835cc38b452d3396ef86c2a SHA512 8a47ea9e0c703d6b577a01e9a63df58233f752d4e72bb7f8213fcc076efcc52869df5e694126abbdc8a63816010786a577fa37ed3e175162dece3f17bd79fdda WHIRLPOOL 355d7ee12f37c19cf243bedff3d883ccd188da0e68c1531be932cec2d19055e67028cc5ca069f0bfe71d2c26538721989f13d1557d359338b534343b3c3faa4c
DIST colordiff-1.0.15.tar.gz 21228 SHA256 595ee4e9796ba02fad0b181e21df3ee34ae71d1611e301e146c0bf00c5269d45 SHA512 8e7396b5c1a0be7f1a9a73af2cecc44dff3f808fae7e43b452ad9c9d9337e1c67942a14685b4100b0190bae99174102f8e4c233c980af6b8a63f23db02bae59e WHIRLPOOL 75f5e3ed00f7723b554c7b681c3e4e95f4be8cede70d759b5636f99bac4d68063d0d271bf9b9db066e859a21f1644e518128b3f8ff83e9560ae87c2f062aa242
+DIST colordiff-1.0.16.tar.gz 21542 SHA256 eaf1cfe17dd0e820d38a0b24b0a402eba68b32e9bf9e7791ca2d1831029f138b SHA512 41b4eb0c90b19f358b6d9154158ece51fe5169fc24e2ea9a4c50ac98218a173fc054b76a69e3c63967f98a0e5d50b7eb29b706780bcfbb3f17a4f45cce1d6d4a WHIRLPOOL 26e9fd2e005a03053cc4c63aaa63f0bfae8d19efc834f77592e6b33d1490c1adf5c771637b2db74fbe5c66d323dd853ac06a1fa1dd6076a948cb1e7ad51df68e
diff --git a/app-misc/colordiff/colordiff-1.0.16.ebuild b/app-misc/colordiff/colordiff-1.0.16.ebuild
new file mode 100644
index 000000000000..14c69a78a1b6
--- /dev/null
+++ b/app-misc/colordiff/colordiff-1.0.16.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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 ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="
+ dev-lang/perl
+ sys-apps/diffutils"
+
+src_prepare() {
+ # 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
+}