mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 13:20:08 +02:00
63 lines
1.6 KiB
Plaintext
63 lines
1.6 KiB
Plaintext
SUMMARY="Several programs for finding differences between files."
|
||
DESCRIPTION="
|
||
You can use the diff command to show differences between two files, or each \
|
||
corresponding file in two directories. diff outputs differences between files \
|
||
line by line in any of several formats, selectable by command line options. \
|
||
This set of differences is often called a ‘diff’ or ‘patch’.
|
||
You can use the cmp command to show the offsets and line numbers where two \
|
||
files differ. cmp can also show all the characters that differ between the two \
|
||
files, side by side.
|
||
You can use the diff3 command to show differences among three files. When two \
|
||
people have made independent changes to a common original, diff3 can report \
|
||
the differences between the original and the two changed versions, and can \
|
||
produce a merged file that contains both persons' changes together with \
|
||
warnings about conflicts.
|
||
You can use the sdiff command to merge two files interactively.
|
||
"
|
||
LICENSE="GNU GPL v3"
|
||
COPYRIGHT="1992-2013 Free Software Foundation, Inc."
|
||
HOMEPAGE="http://www.gnu.org/software/diffutils/"
|
||
SRC_URI="http://ftp.gnu.org/pub/gnu/diffutils/diffutils-3.3.tar.xz"
|
||
CHECKSUM_MD5="99180208ec2a82ce71f55b0d7389f1b3"
|
||
REVISION="2"
|
||
ARCHITECTURES="x86 x86_gcc2"
|
||
|
||
PROVIDES="
|
||
diffutils = $portVersion
|
||
cmd:diff = $portVersion
|
||
cmd:cmp = $portVersion
|
||
cmd:diff3 = $portVersion
|
||
cmd:sdiff = $portVersion
|
||
"
|
||
|
||
REQUIRES="
|
||
haiku >= $haikuVersion
|
||
"
|
||
|
||
BUILD_PREREQUIRES="
|
||
haiku_devel >= $haikuVersion
|
||
cmd:make
|
||
cmd:gcc
|
||
"
|
||
|
||
PATCHES="diffutils-3.3.patchset"
|
||
|
||
|
||
BUILD()
|
||
{
|
||
runConfigure ./configure \
|
||
--disable-gcc-warnings
|
||
make
|
||
}
|
||
|
||
INSTALL()
|
||
{
|
||
make install
|
||
rm $libDir/charset.alias
|
||
}
|
||
|
||
TEST()
|
||
{
|
||
make check
|
||
}
|