mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 00:30:06 +02:00
37 lines
972 B
Bash
37 lines
972 B
Bash
SUMMARY="Pretty diff generator"
|
|
DESCRIPTION="diff-so-fancy strives to make your diffs human readable instead of machine readable. \
|
|
This helps improve code quality and helps you spot defects faster.
|
|
|
|
Configure git to use diff-so-fancy for all diff output:
|
|
|
|
git config --global core.pager \"diff-so-fancy | less --tabs=4 -RFX\"
|
|
git config --global interactive.diffFilter \"diff-so-fancy --patch\""
|
|
HOMEPAGE="https://github.com/so-fancy/diff-so-fancy"
|
|
COPYRIGHT="2016 So Fancy team"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/so-fancy/diff-so-fancy/releases/download/v$portVersion/diff-so-fancy#noarchive"
|
|
CHECKSUM_SHA256="de90659705436cf17d9a8aaad7012c9ed82d7f16eadf1ecee3d6badb0717b73f"
|
|
|
|
DISABLE_SOURCE_PACKAGE="yes"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="?x86"
|
|
|
|
PROVIDES="
|
|
diff_so_fancy = $portVersion
|
|
cmd:diff_so_fancy
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku
|
|
cmd:perl
|
|
"
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $binDir
|
|
cp diff-so-fancy $binDir
|
|
chmod 755 $binDir/diff-so-fancy
|
|
}
|