SUMMARY="XML::LibXML clone of XML::Simple::XMLin()" DESCRIPTION="This module is a blunt rewrite of XML::Simple (by Grant McLean) to use the \ XML::LibXML parser for XML structures, where the original uses plain Perl or SAX parsers." HOMEPAGE="https://metacpan.org/pod/XML::LibXML::Simple" COPYRIGHT="2008-2020 by Mark Overmeer" LICENSE="Artistic" REVISION="2" SOURCE_URI="https://cpan.metacpan.org/authors/id/M/MA/MARKOV/XML-LibXML-Simple-$portVersion.tar.gz" CHECKSUM_SHA256="cd98c8104b70d7672bfa26b4513b78adf2b4b9220e586aa8beb1a508500365a6" SOURCE_DIR="XML-LibXML-Simple-$portVersion" ARCHITECTURES="any" PROVIDES=" xml_libxml_simple = $portVersion " REQUIRES=" haiku vendor_perl xml_libxml " BUILD_REQUIRES=" haiku_devel " BUILD_PREREQUIRES=" cmd:make cmd:perl " TEST_REQUIRES=" xml_libxml " 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 }