SUMMARY="FIGlet ASCII art"
DESCRIPTION="
FIGlet is a program for making large letter ASCII banners \
out of ordinary text. It can generate characters in many different styles \
and it can kern and 'smush' the letters these letters together in \
various ways.
"
HOMEPAGE="http://www.figlet.org/"
SRC_URI="ftp://ftp.figlet.org/pub/figlet/program/unix/figlet222.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="5f84ad52d092d5db4ad5916df767646b"
BUILD()
{
	cd figlet222
	make
}

INSTALL()
{
	cd figlet222
	DISTRODIR=${DESTDIR}
	MANDIR=${DISTRODIR}/`finddir B_APPS_DIRECTORY`/figlet/share/man
	DEFAULTFONTDIR=${DISTRODIR}/`finddir B_APPS_DIRECTORY`/figlet/fonts
	DESTDIR=${DISTRODIR}/`finddir B_APPS_DIRECTORY`/figlet
	mkdir -p ${DESTDIR}/tmp
	mkdir -p ${MANDIR}/man6
	mkdir -p ${DEFAULTFONTDIR}/tmp
	make install DESTDIR=${DESTDIR} MANDIR=${MANDIR} \
		DEFAULTFONTDIR=${DEFAULTFONTDIR}
	chmod 755 ${DESTDIR}/showfigfonts
	chmod 755 ${DESTDIR}/figlist
	rm -rf ${DESTDIR}/tmp
	rm -rf ${DEFAULTFONTDIR}/tmp
}
LICENSE="AFL v2.1"
COPYRIGHT="1991, 1993, 1994 Glenn Chappell and Ian Chai
	1996, 1997, 1998, 1999, 2000, 2001 John Cowan
	2002 Christiaan Keet"

