diff options
author | Sam James <sam@gentoo.org> | 2022-12-22 22:31:48 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-12-22 22:31:48 +0000 |
commit | 5d008bb635a3439fd06e229f12ed03a87232ac24 (patch) | |
tree | 109fe648bb73c754c7249aeb6f73952f677d1f42 /app-misc/colordiff | |
parent | app-misc/colordiff: add github upstream metadata (diff) | |
download | gentoo-5d008bb635a3439fd06e229f12ed03a87232ac24.tar.gz gentoo-5d008bb635a3439fd06e229f12ed03a87232ac24.tar.bz2 gentoo-5d008bb635a3439fd06e229f12ed03a87232ac24.zip |
app-misc/colordiff: add 1.0.21
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/colordiff')
-rw-r--r-- | app-misc/colordiff/Manifest | 1 | ||||
-rw-r--r-- | app-misc/colordiff/colordiff-1.0.21.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/app-misc/colordiff/Manifest b/app-misc/colordiff/Manifest index 4ac57a84b114..faea6d816831 100644 --- a/app-misc/colordiff/Manifest +++ b/app-misc/colordiff/Manifest @@ -1 +1,2 @@ DIST colordiff-1.0.19.tar.gz 21329 BLAKE2B 3137159aa9bb83d0813c18ef62936cdd7cfaaf9655b077fc7efd0c70b7f88157720f71166d9449dc9840762f09267c9baa81065a3bd7df15d322cba61c48a585 SHA512 2845c4b8229df317984ea93aa9d2e08b3bb39ba67b870a14f09dc19fa1e94b4fc8e4da9a7554d53934591766b3aa1696fdc62765ce95e55f50da219e44dae523 +DIST colordiff-1.0.21.tar.gz 25677 BLAKE2B 4da02bc3642e2133e5f730703928b0b77dce70125d5dc87c0a3dcbccd37294f4a3e2680e3f5515f8c6bd10fd885f94c087ad504f4c0421cb856f0af5bc34db84 SHA512 e814e38db0db6e0ba420c64bc53815c1c9e74457390bbe45f31eb9539c068efc9354c11dbf1259b1a64bd3cd5b2cc452441f822e030af80d18fe5b5c5f627c9d diff --git a/app-misc/colordiff/colordiff-1.0.21.ebuild b/app-misc/colordiff/colordiff-1.0.21.ebuild new file mode 100644 index 000000000000..08a993f9254d --- /dev/null +++ b/app-misc/colordiff/colordiff-1.0.21.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-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 +} |