P=beaver-0.2.3 S=${WORKDIR}/${P} LICENSE="GPL-2" KEYWORDS="x86" SLOT="0" DESCRIPTION="An Early AdVanced EditoR" SRC_URI="http://eturquin.free.fr/beaver/dloads/${P}.tar.gz" HOMEPAGE="http://eturquin.free.fr/beaver/index.htm" DEPEND=">=x11-libs/gtk+-1.2.10-r8" src_unpack() { unpack ${P}.tar.gz cd ${S}/src cp Makefile Makefile.orig sed -e "s:DESTDIR = /usr/local:DESTDIR = /usr:" \ -e "s:OPTI = -O3 -funroll-loops -fomit-frame-pointer #-mpentium:OPTI = ${CFLAGS} -funroll-loops -fomit-frame-pointer:" Makefile.orig > Makefile } src_compile() { cd ${S}/src emake || die } src_install() { cd src make DESTDIR=${D}/usr \ MANDIR=/share/man \ install || die }