diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2020-05-07 11:15:51 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-05-07 11:16:01 +0200 |
commit | ced3b2014fd9e669af709f7e182a1412eed4ad0d (patch) | |
tree | 35c2f7722e498528db2ca27f512e7f0a2fbfe6b4 /app-misc | |
parent | dev-perl/CGI-Session: -r bump for EAPI7 & License fixes (diff) | |
download | gentoo-ced3b2014fd9e669af709f7e182a1412eed4ad0d.tar.gz gentoo-ced3b2014fd9e669af709f7e182a1412eed4ad0d.tar.bz2 gentoo-ced3b2014fd9e669af709f7e182a1412eed4ad0d.zip |
app-misc/colordiff: Bump to version 1.0.19
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/colordiff/Manifest | 1 | ||||
-rw-r--r-- | app-misc/colordiff/colordiff-1.0.19.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/app-misc/colordiff/Manifest b/app-misc/colordiff/Manifest index c79098970f57..7b3aa6f8197f 100644 --- a/app-misc/colordiff/Manifest +++ b/app-misc/colordiff/Manifest @@ -1 +1,2 @@ DIST colordiff-1.0.18.tar.gz 21695 BLAKE2B 034e105d92766240d2f854efd44efe8c68d443803ac994983829be0e02fb4c6d087ffc76a626bf34832d30755c9be5d97c1c0e0629ebc1328d08d3d24002447f SHA512 53eb855b2554ca736146983adb522c8c06e4cfb9eb27bf9acb659c210b2af8101dba76ae392cf14db62fab61e3e5d3b664196c0f6432d47acdfa0846c799aa83 +DIST colordiff-1.0.19.tar.gz 21329 BLAKE2B 3137159aa9bb83d0813c18ef62936cdd7cfaaf9655b077fc7efd0c70b7f88157720f71166d9449dc9840762f09267c9baa81065a3bd7df15d322cba61c48a585 SHA512 2845c4b8229df317984ea93aa9d2e08b3bb39ba67b870a14f09dc19fa1e94b4fc8e4da9a7554d53934591766b3aa1696fdc62765ce95e55f50da219e44dae523 diff --git a/app-misc/colordiff/colordiff-1.0.19.ebuild b/app-misc/colordiff/colordiff-1.0.19.ebuild new file mode 100644 index 000000000000..a611018c9e5c --- /dev/null +++ b/app-misc/colordiff/colordiff-1.0.19.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~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 +} |