#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="http://search.cpan.org/~gaas/HTML-Parser/"
COPYRIGHT="
	1995-2009 Gisle Aas. All rights reserved.
	1999-2000 Michael A. Chase.  All rights reserved.
"
LICENSE="
	GNU GPL v1
	Artistic
"
SOURCE_URI="https://github.com/gisle/html-parser/archive/$portVersion.tar.gz"
SOURCE_FILENAME="html_parser-$portVersion.tar.gz"
CHECKSUM_SHA256="0ef2ec6ed99f80a344ce3bc93d5eff6dd8613f4a544fa4ffe44a823cfd19b851"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 x86_64"

PROVIDES="
	html_parser = $portVersion
	"
REQUIRES="
	haiku
	perl
	"
BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:gcc
	cmd:make
	cmd:perl
	"

SOURCE_DIR="html-parser-$portVersion"

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

INSTALL()
{
	make install
}
