summaryrefslogtreecommitdiff
blob: fcb15412645ebab71ee7b0d2248811572f7a9499 (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-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/vi/vi-3.7-r1.ebuild,v 1.3 2002/07/16 02:43:19 owen Exp $

MY_P=ex-020403
S=${WORKDIR}/${MY_P}

DESCRIPTION="The original VI package"
SRC_URI="http://download.berlios.de/ex-vi/${MY_P}.tar.gz"
HOMEPAGE="http://ex-vi.berlios.de/"
LICENSE="Caldera"
DEPEND="virtual/glibc sys-libs/ncurses"
SLOT="0"
RDEPEND=$DEPEND
KEYWORDS="x86 ppc"

src_compile() {

	addpredict /dev/ptys/*

	make DESTDIR=/usr \
		TERMLIB=ncurses \
		PRESERVEDIR=/var/preserve || die "failed compilation"
}

src_install () {
	dodir /var/preserve
	dodir /usr/share/man
	make INSTALL=/usr/bin/install \
		DESTDIR=${D}/usr \
		MANDIR=/share/man \
		PRESERVEDIR=${D}/var/preserve \
		TERMLIB=ncurses \
		install || die
	dodoc Changes LICENSE README TODO
}