mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
New recipe: diff-so-fancy (#7872)
This commit is contained in:
36
app-misc/diff-so-fancy/diff_so_fancy-1.4.3.recipe
Normal file
36
app-misc/diff-so-fancy/diff_so_fancy-1.4.3.recipe
Normal file
@@ -0,0 +1,36 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user