View | Details | Raw Unified
Collapse All | Expand All

(-) bvi-1.3.2.ebuild (-4 / +10 lines)
 Lines 1-6    Link Here 
# Copyright 1999-2005 Gentoo Foundation
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# 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.3 2005/09/20 17:33:54 kito Exp $
# $Header: $
DESCRIPTION="display-oriented editor for binary files, based on the vi texteditor"
DESCRIPTION="display-oriented editor for binary files, based on the vi texteditor"
HOMEPAGE="http://bvi.sourceforge.net/"
HOMEPAGE="http://bvi.sourceforge.net/"
 Lines 13-30    Link Here 
DEPEND="sys-libs/ncurses"
DEPEND="sys-libs/ncurses"
src_unpack() {
	unpack ${A}
	cd "${S}"
	sed -i -e 's:(INSTALL_PROGRAM) -s:(INSTALL_PROGRAM):g' \
		Makefile.in || die "sed failed in Makefile.in"
}
src_compile() {
src_compile() {
	econf --with-ncurses=/usr || die "econf failed"
	econf --with-ncurses=/usr || die "econf failed"
	cp bmore.h bmore.h.old
	sed -i -e 's:ncurses/term.h:term.h:g' bmore.h || die "sed failed in bmore.h"
	sed -e 's:ncurses/term.h:term.h:g' bmore.h.old > bmore.h
	emake || die "emake failed"
	emake || die "emake failed"
}
}
src_install() {
src_install() {
	einstall || die "make install failed"
	einstall || die "make install failed"
	rm -rf ${D}/usr/share/bmore.help
	rm -rf "${D}"/usr/lib/bmore.help
	dodoc README CHANGES CREDITS bmore.help
	dodoc README CHANGES CREDITS bmore.help
	dohtml -r html/*
	dohtml -r html/*
}
}