SUMMARY="Minimal try/catch with proper preservation of \$@" DESCRIPTION="This module provides bare bones try/catch/finally statements that are designed to \ minimize common mistakes with eval blocks, and NOTHING else." HOMEPAGE="https://metacpan.org/pod/Try::Tiny" COPYRIGHT="2009 by יובל קוג'מן (Yuval Kogman)" LICENSE="MIT" REVISION="1" SOURCE_URI="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Try-Tiny-$portVersion.tar.gz" CHECKSUM_SHA256="ef2d6cab0bad18e3ab1c4e6125cc5f695c7e459899f512451c8fa3ef83fa7fc0" SOURCE_DIR="Try-Tiny-$portVersion" ARCHITECTURES="any" PROVIDES=" try_tiny = $portVersion " REQUIRES=" haiku vendor_perl " BUILD_REQUIRES=" haiku_devel " BUILD_PREREQUIRES=" cmd:make cmd:perl " TEST_REQUIRES=" capture_tiny " 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 }