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/"
SRC_URI="http://se-editor.org/dist/se-3.0.tar.gz"
CHECKSUM_MD5="b080a5377b95d989e14ad01b0d25e33a"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="sys-libs/ncurses >= 5.6"

BUILD()
{
	cd se-3.0
	COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
	./configure --prefix=`finddir B_COMMON_DIRECTORY` \
		--datadir=`finddir B_COMMON_DATA_DIRECTORY` \
		--infodir=$COMMON_DOCS/info \
		--mandir=$COMMON_DOCS/man
	make
}

INSTALL()
{
	cd se-3.0
	make install
}

LICENSE="Public Domain"
