diff options
Diffstat (limited to 'app-editors/bvi/bvi-1.3.2.ebuild')
-rw-r--r-- | app-editors/bvi/bvi-1.3.2.ebuild | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/app-editors/bvi/bvi-1.3.2.ebuild b/app-editors/bvi/bvi-1.3.2.ebuild index 60c4455abe83..679d2372f9ad 100644 --- a/app-editors/bvi/bvi-1.3.2.ebuild +++ b/app-editors/bvi/bvi-1.3.2.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/bvi/bvi-1.3.2.ebuild,v 1.9 2008/01/26 15:41:46 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/bvi/bvi-1.3.2.ebuild,v 1.10 2010/04/05 03:59:08 abcd Exp $ + +EAPI=3 inherit multilib @@ -11,28 +13,24 @@ SRC_URI="mirror://sourceforge/bvi/${P}.src.tar.gz" LICENSE="GPL-2" SLOT="0" IUSE="" -KEYWORDS="amd64 ppc x86" +KEYWORDS="amd64 ppc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" DEPEND="sys-libs/ncurses" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { sed -i -e 's:(INSTALL_PROGRAM) -s:(INSTALL_PROGRAM):g' \ Makefile.in || die "sed failed in Makefile.in" } -src_compile() { - econf --with-ncurses=/usr || die "econf failed" +src_configure() { + econf --with-ncurses="${EPREFIX}"/usr sed -i -e 's:ncurses/term.h:term.h:g' bmore.h || die "sed failed in bmore.h" - - emake || die "emake failed" } src_install() { einstall || die "make install failed" - rm -rf "${D}"/usr/$(get_libdir)/bmore.help + rm -rf "${ED}"/usr/$(get_libdir)/bmore.help dodoc README CHANGES CREDITS bmore.help dohtml -r html/* } |