SUMMARY="A perl module for finding files" DESCRIPTION="File::Next is a lightweight, taint-safe file-finding module." HOMEPAGE="https://metacpan.org/release/File-Next" COPYRIGHT="2005-2019 Andy Lester" LICENSE="Artistic" REVISION="3" SOURCE_URI="https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/File-Next-$portVersion.tar.gz" CHECKSUM_SHA256="f900cb39505eb6e168a9ca51a10b73f1bbde1914b923a09ecd72d9c02e6ec2ef" SOURCE_DIR="File-Next-$portVersion" ARCHITECTURES="any" PROVIDES=" file_next = $portVersion " REQUIRES=" haiku vendor_perl " BUILD_REQUIRES=" haiku_devel " BUILD_PREREQUIRES=" cmd:make cmd:perl " 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 }