Files
haikuports/dev-perl/text_diff/text_diff-1.45.recipe
2023-09-08 16:35:32 +00:00

47 lines
1.3 KiB
Bash

SUMMARY="Perform diffs on files and record sets"
DESCRIPTION="diff() provides a basic set of services akin to the GNU diff utility. It is not \
anywhere near as feature complete as GNU diff, but it is better integrated with Perl and \
available on all platforms. It is often faster than shelling out to a system's diff executable \
for small files, and generally slower on larger files.
Relies on Algorithm::Diff for, well, the algorithm. This may not produce the same exact diff as \
a system's local diff executable, but it will be a valid diff and comprehensible by patch. We \
haven't seen any differences between Algorithm::Diff's logic and GNU diff's, but we have not \
examined them to make sure they are indeed identical."
HOMEPAGE="https://metacpan.org/pod/Text::Diff"
COPYRIGHT="2001-2017 by Adam Kennedy"
LICENSE="Artistic"
REVISION="1"
SOURCE_URI="https://cpan.metacpan.org/authors/id/N/NE/NEILB/Text-Diff-$portVersion.tar.gz"
CHECKSUM_SHA256="e8baa07b1b3f53e00af3636898bbf73aec9a0ff38f94536ede1dbe96ef086f04"
SOURCE_DIR="Text-Diff-$portVersion"
ARCHITECTURES="any"
PROVIDES="
text_diff = $portVersion
"
REQUIRES="
haiku
vendor_perl
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:make
cmd:perl
"
BUILD()
{
perl Makefile.PL PREFIX=$prefix
make
}
INSTALL()
{
make install DESTDIR="${DESTDIR}"
}