#FIXME: Appending installation info to /packages/html_parser-3.70-1/.self/lib/perl5/5.18.1/BePC-haiku/perllocal.pod
#FIXME: Warning: prerequisite HTML::Tagset 3 not found.
SUMMARY="Encode or decode strings with HTML entities"
DESCRIPTION="The HTML-Parser distribution is is a collection of perl modules \
that parse and extract information from HTML documents."
HOMEPAGE="https://metacpan.org/release/HTML-Parser"
COPYRIGHT="1995-2009 Gisle Aas
	1999-2000 Michael A. Chase"
LICENSE="GNU GPL v1
	Artistic"
REVISION="10"
SOURCE_URI="https://github.com/gisle/html-parser/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="3ac0ef2ed3cf0a7affe46e1e9cffff500d7b22ae59d9b47669dc7efd8ca36d07"
SOURCE_FILENAME="html_parser-$portVersion.tar.gz"
SOURCE_DIR="html-parser-$portVersion"

ARCHITECTURES="all"

PROVIDES="
	html_parser = $portVersion
	"
REQUIRES="
	haiku
	vendor_perl
	"

BUILD_REQUIRES="
	haiku_devel
	cmd:perl
	"
BUILD_PREREQUIRES="
	cmd:gcc
	cmd:make
	"

BUILD()
{
	perl Makefile.PL PREFIX=$prefix
	make
}

INSTALL()
{
	make install
}
