SUMMARY="Test strings and data structures and show differences if not ok" DESCRIPTION="When the code you're testing returns multiple lines, records or data structures and \ they're just plain wrong, an equivalent to the Unix diff utility may be just what's needed." HOMEPAGE="https://metacpan.org/pod/Test::Differeces" COPYRIGHT="Barrie Slaymaker, Curtis \"Ovid\" Poe, and David Cantrell" LICENSE="Artistic" REVISION="1" SOURCE_URI="https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/Test-Differences-$portVersion.tar.gz" CHECKSUM_SHA256="648844b9dcb7dae6f9b5a15c9359d0f09de247a624b65c4620ebff249558f913" SOURCE_DIR="Test-Differences-$portVersion" ARCHITECTURES="any" PROVIDES=" test_differences = $portVersion " REQUIRES=" haiku text_diff vendor_perl " BUILD_REQUIRES=" haiku_devel " BUILD_PREREQUIRES=" cmd:make cmd:perl " TEST_REQUIRES=" capture_tiny text_diff " BUILD() { perl Makefile.PL PREFIX=$prefix make } INSTALL() { make pure_install # remove architecture-specific files cd $prefix rm -r $(perl -V:vendorarch | cut -d\' -f2 | cut -d/ -f5-) # cut extracts the quoted string and strips the prefix (which is perl's and not ours) } TEST() { make test }