diff options
Diffstat (limited to 'app-misc/colordiff')
-rw-r--r-- | app-misc/colordiff/Manifest | 3 | ||||
-rw-r--r-- | app-misc/colordiff/colordiff-1.0.18.ebuild | 40 | ||||
-rw-r--r-- | app-misc/colordiff/metadata.xml | 8 |
3 files changed, 51 insertions, 0 deletions
diff --git a/app-misc/colordiff/Manifest b/app-misc/colordiff/Manifest new file mode 100644 index 000000000000..6c931a632b88 --- /dev/null +++ b/app-misc/colordiff/Manifest @@ -0,0 +1,3 @@ +DIST colordiff-1.0.18.tar.gz 21695 BLAKE2B 034e105d92766240d2f854efd44efe8c68d443803ac994983829be0e02fb4c6d087ffc76a626bf34832d30755c9be5d97c1c0e0629ebc1328d08d3d24002447f SHA512 53eb855b2554ca736146983adb522c8c06e4cfb9eb27bf9acb659c210b2af8101dba76ae392cf14db62fab61e3e5d3b664196c0f6432d47acdfa0846c799aa83 +EBUILD colordiff-1.0.18.ebuild 947 BLAKE2B 79867fdd66e1e1f07afe1aa61d1608ece43c3e47716cb2a2c957d3aaace77478f6fb0b189cbc81c0466f6a92c3cf6ddd20ffd64ef8440205764dc87813614409 SHA512 f043511ece20f661ad4021231530317fc6f058421d8e809e54037bad0a5b8dffcda88f3d10a6bdecf42761eaaeb01faa9fca054a2f525c4d53c71aeb9cc22ec2 +MISC metadata.xml 271 BLAKE2B 46146f4bf13e9f4d33435225ec1012dd9bb89b20812963dc50368cab2a60a3c542052cb72f8963cc72074b2c13a5b054c77152de1d108027752601a349bc4ef8 SHA512 3e98f5382cf789992bdfc0f32e6e36eba31944be654c03f2ed9bd00baf56c8b768c256c4f8778d5775d6df38da4afcf8e32b6e6495a1ecfc8e7982c7c8943b1b 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..c09e21e5b17f --- /dev/null +++ b/app-misc/colordiff/colordiff-1.0.18.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit prefix + +DESCRIPTION="Colorizes output of diff" +HOMEPAGE="https://www.colordiff.org/" +SRC_URI="https://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" + +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 +} diff --git a/app-misc/colordiff/metadata.xml b/app-misc/colordiff/metadata.xml new file mode 100644 index 000000000000..3e927f8d7480 --- /dev/null +++ b/app-misc/colordiff/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>shell-tools@gentoo.org</email> + <name>Gentoo Shell Tools Project</name> + </maintainer> +</pkgmetadata> |