SUMMARY="A tool to produce simple manual pages"
DESCRIPTION="help2man is a tool for automatically generating simple manual \
pages from program output. The program is intended to provide an easy way for \
software authors to include a manual page in their distribution without \
having to maintain that document.
Given a program which produces reasonably standard ‘--help’ and ‘--version’ \
outputs, help2man can re-arrange that output into something which resembles a \
manual page."
HOMEPAGE="http://www.gnu.org/software/help2man/"
COPYRIGHT="1997-2017 Free Software Foundation"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="http://ftpmirror.gnu.org/help2man/help2man-$portVersion.tar.xz"
CHECKSUM_SHA256="8361ff3c643fbd391064e97e5f54592ca28b880eaffbf566a68e0ad800d1a8ac"

ARCHITECTURES="all"

PROVIDES="
	help2man = $portVersion
	cmd:help2man = $portVersion
	"
REQUIRES="
	haiku
	cmd:perl
	"

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

BUILD()
{
	runConfigure ./configure
	make
}

INSTALL()
{
	make install
}
