-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pascal Abresch
committed
Feb 23, 2023
1 parent
3650d63
commit 02d21b6
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 o+x $binDir/diff-so-fancy | ||
} |