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="2"
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 install DESTDIR="${DESTDIR}"
}
