summaryrefslogtreecommitdiff
blob: 8f5718fafaec9d65d73c7c34e39765f1a98d1966 (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
37
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Author: Spider <spider@gentoo.org>
# Maintainer: Spider <spider@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-editors/vi/vi-3.7-r1.ebuild,v 1.1 2002/06/22 16:38:30 naz 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

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
}