SUMMARY="Test program for terminal emulators"
DESCRIPTION="Vttest tests the compatibility (demonstrates the non-compatibility) \
of so-called \"VT100-compatible\" terminals. In conformance of the good old \
hacker traditions, the only documentation of this program is the source code \
itself. To understand it, you also need a copy of the original VT100 manual \
from DEC.

Additional tests (past version 1.7) are provided for analysis of vt220, vt420 \
terminals, as well as variants of xterm."
HOMEPAGE="http://invisible-island.net/vttest/vttest.html"
COPYRIGHT="1983-1985 Per Lindberg
1996-2014 Thomas E. Dickey
"
ARCHITECTURES="x86_gcc2"
REVISION="1"
LICENSE="BSD (3-clause)"

SOURCE_URI="ftp://invisible-island.net/vttest/vttest.tar.gz"
CHECKSUM_SHA256="0168aa34061d4470a68b0dd0781a2a9e2bbfb1493e540c99f615b867a11cbf83"

PROVIDES="
	vttest = $portVersion
	cmd:vttest
"

REQUIRES="
	haiku
"

BUILD_PREREQUIRES="
	haiku_devel
	cmd:gcc
	cmd:make
"

BUILD()
{
	runConfigure --omit-dirs "docDir" ./configure
	make $jobArgs
}

INSTALL()
{
	make install
}
