SUMMARY="Comma-separated values manipulator (using XS or PurePerl)" DESCRIPTION="Text::CSV is a thin wrapper for Text::CSV_XS-compatible modules now. All the backend \ modules provide facilities for the composition and decomposition of comma-separated values. \ Text::CSV uses Text::CSV_XS by default, and when Text::CSV_XS is not available, falls back on \ Text::CSV_PP, which is bundled in the same distribution as this module." HOMEPAGE="https://metacpan.org/pod/Text::CSV" COPYRIGHT="1997 Alan Citterman 2007-2015 Makamaka Hannyaharamitu 2017- Kenichi Ishigaki" LICENSE="Artistic" REVISION="1" SOURCE_URI="https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/Text-CSV-$portVersion.tar.gz" CHECKSUM_SHA256="4f80122e4ea0b05079cad493e386564030f18c8d7b1f9af561df86985a653fe3" SOURCE_DIR="Text-CSV-$portVersion" ARCHITECTURES="any" PROVIDES=" text_csv = $portVersion " REQUIRES=" haiku text_csv_xs 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 }