# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-editors/lpe/lpe-1.2.6.ebuild,v 1.2 2003/10/21 00:28:57 pyrania Exp $ DESCRIPTION="Lightweight Programmers Editor" HOMEPAGE="http://cdsmith.twu.net/professional/opensource/lpe.html" SRC_URI="ftp://ftp.twu.net/users/cdsmith/lpe/${P}.tar.gz" LICENSE="GPL-2" SLOT=0 KEYWORDS="~x86 ~sparc" IUSE="nls" DEPEND="sys-libs/slang" S=${WORKDIR}/${P} src_unpack() { unpack ${A} epatch ${FILESDIR}/${P}-gentoo.patch } src_compile() { econf `use_enable nls` || die emake || die } src_install () { make \ prefix=${D}/usr \ datadir=${D}/usr/share \ mandir=${D}/usr/share/man \ infodir=${D}/usr/share/info \ docdir=${D}/usr/share/doc/${PF} \ exdir=${D}/usr/share/doc/${PF}/examples \ install || die prepalldocs }