SUMMARY="Editor for programmers"
DESCRIPTION="
Jed is a small, fast and powerful text editor.\
It is completely customizable with prepared emulation modes for Emacs, \
CUA (similar to Openoffice), Borland-IDE, Brief, and EDT using the S-Lang \
scripting language (with a syntax resembling C).
"
HOMEPAGE="http://www.jedsoft.org/jed/"
SRC_URI="ftp://space.mit.edu/pub/davis/jed/v0.99/jed-0.99-19.tar.bz2"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="ncurses >= 5.7
	slang >= 2.2.2"
CHECKSUM_MD5="c9b2f58a3defc6f61faa1ce7d6d629ea"
BUILD()
{
	cd jed-0.99-19
	cd autoconf
	cp /boot/common/share/libtool/config/config.guess .
	cd ..
	./configure --prefix=`finddir B_COMMON_DIRECTORY` LIBS="-lnetwork" JED_ROOT=`finddir B_COMMON_LIB_DIRECTORY`/jed
	make clean
	make
}

INSTALL()
{
	cd jed-0.99-19
	touch src/objs/xjed
	make install DESTDIR=${DESTDIR}
	rm ${DESTDIR}/`finddir B_COMMON_DIRECTORY`/bin/xjed
}
LICENSE="GNU GPL v2"
COPYRIGHT="1992, 1998-2009 John E. Davis"

