mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
text_diff, add perl module (#9390)
This commit is contained in:
46
dev-perl/text_diff/text_diff-1.45.recipe
Normal file
46
dev-perl/text_diff/text_diff-1.45.recipe
Normal file
@@ -0,0 +1,46 @@
|
||||
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}"
|
||||
}
|
||||
Reference in New Issue
Block a user