aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Shelton <stuart@shelton.me>2015-01-18 22:10:29 +0000
committerStuart Shelton <stuart@shelton.me>2015-01-18 22:10:29 +0000
commit0005bc3abe29a832f7d6dd2468141fc235b106ba (patch)
treeaa853def8e471867ccad8c3a69032f8ddfe49c28 /app-misc/colordiff
parentAdd sys-fs/lvm2-2.02.109 (diff)
downloadsrcshelton-0005bc3abe29a832f7d6dd2468141fc235b106ba.tar.gz
srcshelton-0005bc3abe29a832f7d6dd2468141fc235b106ba.tar.bz2
srcshelton-0005bc3abe29a832f7d6dd2468141fc235b106ba.zip
Add app-misc/colordiff-1.0.13-r1
Diffstat (limited to 'app-misc/colordiff')
-rw-r--r--app-misc/colordiff/Manifest1
-rw-r--r--app-misc/colordiff/colordiff-1.0.13-r1.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/app-misc/colordiff/Manifest b/app-misc/colordiff/Manifest
index 548d3ddc..9534e537 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
+EBUILD colordiff-1.0.13-r1.ebuild 1129 SHA256 072fed542221bfad779419632510b36e478b04930598b0db43d4b514c3543038 SHA512 bb699f4fd475dd9973368aa41fb6c30ad8e516b437cf94d99813200ca4e56ec7993c9dd008f3f13d219a2637070bde4b94a4d91e6e20d299d576f1503a06db29 WHIRLPOOL c76165350e1fe9bc162838ce15839afb15cd1f67feba21b3c899a89b323c25e21256b1423f8fa49bba004818b074c596b42cab722041bac975e2f252749cdd61
EBUILD colordiff-1.0.13.ebuild 1146 SHA256 3a091986083f831bb5226ca20c6d798670949e1fa3a68a27abc9634c99484603 SHA512 194de0ff3ac5c48e893407b59ba04585bd759f4cfbcd2ec5d8d908d7c72c4a7e2878d8973dcb973fde878f423e970656a0f69c6f0b89471f7b18861bb6787868 WHIRLPOOL 74f9bcb925e7479992150580f0da28d5cb0e3f15685fc88d3ed8004d5582214180019e2c3416d3d7f88a222dd018c2e118a7ea23452801a6a4a0b9d43144b1bf
diff --git a/app-misc/colordiff/colordiff-1.0.13-r1.ebuild b/app-misc/colordiff/colordiff-1.0.13-r1.ebuild
new file mode 100644
index 00000000..316dd953
--- /dev/null
+++ b/app-misc/colordiff/colordiff-1.0.13-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/colordiff/colordiff-1.0.13-r1.ebuild,v 1.4 2015/01/12 08:00:21 jer Exp $
+
+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
+ newdoc colordiffrc-lightbg colordiffrc.lightbg
+ dodoc BUGS CHANGES README
+ doman {cdiff,colordiff}.1
+}