summaryrefslogtreecommitdiff
blob: 64457f7699cfa4da20e9fe7727cd83cd283ea367 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Jerry Alexandratos <jerry@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-editors/vile/vile-9.2-r1.ebuild,v 1.2 2001/05/29 17:28:19 achim Exp $

A=${P}.tgz
S=${WORKDIR}/${P}
DESCRIPTION="VI Like Emacs -- yet another full-featured vi clone"
SRC_URI="ftp://dickey.his.com/vile/${A}"
HOMEPAGE="http://www.clark.net/pub/dickey/vile/vile.html"

DEPEND="virtual/glibc
        sys-devel/flex
        >=sys-libs/ncurses-5.2
        perl? ( sys-devel/perl )"

RDEPEND="virtual/glibc
        >=sys-libs/ncurses-5.2"

src_compile() {
    local myconf
    if [ "`use perl`" ] ; then
      myconf="--with-perl"
    fi
    try ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST} \
        $myconf --with-ncurses
    try make
}

src_install () {

    try make DESTDIR=${D} install
    dodoc CHANGES* MANIFEST README

}