SUMMARY="Screen oriented version of ed"
DESCRIPTION="se (Screen Editor) is a screen oriented version of the classic \
UNIX text editor ed. It’s similar to vi as both are modal editors with curses \
interfaces. However, it differs from vi in that it has the same command \
syntax as ed."
HOMEPAGE="http://se-editor.org/"
COPYRIGHT="2013 Thomas Cort"
LICENSE="Public Domain"
REVISION="2"
SOURCE_URI="http://se-editor.org/dist/se-$portVersion.tar.gz"
CHECKSUM_SHA256="e20d1c4d73dee45d319a086ccb54157f1bd94029af9d60c785f651246e209486"

ARCHITECTURES="all"

PROVIDES="
	se
	cmd:scriptse
	cmd:se
	"
REQUIRES="
	haiku
	lib:libncurses
	"

BUILD_REQUIRES="
	haiku_devel
	devel:libncurses
	"
BUILD_PREREQUIRES="
	cmd:aclocal
	cmd:autoconf
	cmd:awk
	cmd:gcc
	cmd:make
	cmd:pkg_config
	"

BUILD()
{
	autoreconf -vfi
	runConfigure ./configure
	make $jobArgs
}

INSTALL()
{
	make install
}
