summaryrefslogtreecommitdiff
blob: a40aab3d76e492293d823235c8230f76c768b3b3 (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
38
39
40
41
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/zile/zile-1.7_alpha6.ebuild,v 1.1 2002/10/21 17:37:26 cybersystem Exp $

DESCRIPTION="Zile is a tiny emacs clone."
HOMEPAGE="http://zile.sourceforge.net/"
SRC_URI="mirror://sourceforge/zile/${P/_alpha/-a}.tar.gz"
LICENSE="BSD"
SLOT="0"

KEYWORDS="~x86 ~ppc"

RDEPEND=">=sys-libs/ncurses-5.2"
DEPEND="${RDEPEND}"

S="${WORKDIR}/${P/_alpha/-a}"

src_compile() {
	./configure --host=${CHOST} \
		--prefix=/usr \
		--infodir=/usr/share/info \
	    --mandir=/usr/share/man || die "./configure failed"
	make || die
}

src_install() {
	dodir /usr/share/man
	keepdir /var/lib/{exrecover,expreserve}
	make INSTALL=/usr/bin/install \
		DESTDIR=${D} \
		infodir=${D}/usr/share/info\
		MANDIR=/usr/share/man \
		TERMLIB=termlib \
		PRESERVEDIR=${D}/var/lib/expreserve \
		RECOVER="-DEXRECOVER=\\\"/var/lib/exrecover\\\" \
			-DEXPRESERVE=\\\"/var/lib/expreserve\\\"" \
		install || die
	
	dodoc COPYRIGHT CREDITS HISTORY KNOWNBUGS NEWS README* TODO LICENSE
}