summaryrefslogtreecommitdiff
blob: b98e48d0ab5893358568e4aaa5bd565fbf83a9e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/reed/reed-5.4.ebuild,v 1.8 2007/07/12 04:37:47 mr_bones_ Exp $

DESCRIPTION="This is a text pager (text file viewer), used to display etexts."
HOMEPAGE="http://www.sacredchao.net/software/reed/index.shtml"
SRC_URI=http://www.sacredchao.net/software/reed/${P}.tar.gz

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""

DEPEND="sys-libs/ncurses"

src_unpack() {
	unpack ${P}.tar.gz
	cd ${S}
	sed -i -e "s:-O2:\$(CFLAGS):" Makefile.in
}

src_compile() {
	./configures --prefix=/usr || die
	make || die
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc AUTHORS BUGS NEWS README
}