summaryrefslogtreecommitdiff
blob: 18daf1ef352eac17ed0934fa2f7419a0725d1bdf (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
31
32
33
34
35
36
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/sys-apps/most/most-4.9.0-r2.ebuild,v 1.3 2001/11/14 22:35:46 achim Exp $

A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="An extremely excellent text file reader"

SRC_URI="ftp://space.mit.edu/pub/davis/most/${A}"

DEPEND=">=sys-libs/slang-1.4.2
        >=sys-libs/ncurses-5.2-r2"

src_compile() {

    try ./configure 	\
	--host=${CHOST} \
	--prefix=/usr \
	--sysconfdir=/etc

	#*possible* (not definite) pmake problems, let's not risk it.
	make SYS_INITFILE="/etc/most.conf" || die
}

src_install() {

	dobin src/objs/most
	doman most.1

	dodoc COPYING COPYRIGHT README changes.txt
	docinto txt 
	dodoc default.rc lesskeys.rc most-fun.txt
}