diff --git a/dev-perl/html_tagset/html_tagset-3.24.recipe b/dev-perl/html_tagset/html_tagset-3.24.recipe new file mode 100644 index 000000000..928afa560 --- /dev/null +++ b/dev-perl/html_tagset/html_tagset-3.24.recipe @@ -0,0 +1,53 @@ +SUMMARY="Data tables useful in parsing HTML" +DESCRIPTION="This module contains several data tables useful in various kinds of HTML parsing \ +operations. + +Note that all tag names used are lowercase." +HOMEPAGE="https://metacpan.org/pod/HTML::Tagset" +COPYRIGHT="1995-2000 Gisle Aas. + 2000-2005 Sean M. Burke. + 2005-2024 Andy Lester" +LICENSE="Artistic v2.0" +REVISION="1" +SOURCE_URI="https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/HTML-Tagset-$portVersion.tar.gz" +CHECKSUM_SHA256="eb89e145a608ed1f8f141a57472ee5f69e67592a432dcd2e8b1dbb445f2b230b" +SOURCE_DIR="HTML-Tagset-$portVersion" + +ARCHITECTURES="any" + +PROVIDES=" + html_tagset = $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 +}