blob: 25c000abdf6007f2f9233d07e2cad89b8d023fd1 (
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
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/zile/zile-1.7_beta3-r1.ebuild,v 1.6 2005/04/21 18:28:32 blubb Exp $
inherit eutils
MY_P="${P/_beta/-b}"
DESCRIPTION="tiny emacs clone"
HOMEPAGE="http://zile.sourceforge.net/"
SRC_URI="mirror://sourceforge/zile/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 alpha ppc amd64"
IUSE="doc"
RDEPEND=">=sys-libs/ncurses-5.2"
DEPEND=">=dev-util/gperf-2.7.2
>=sys-apps/texinfo-4.3
doc? ( virtual/tetex )"
S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack "${A}"
epatch "${FILESDIR}/${P}-compilefix.diff"
use doc || epatch "${FILESDIR}/${P}-norefcardps.diff"
}
src_compile() {
myconf="--enable-all-modes"
econf ${myconf} || die
make || die
}
src_install() {
dodir /usr/share/man
dodir /usr/share/info
keepdir /var/lib/{exrecover,expreserve}
make INSTALL=/usr/bin/install \
DESTDIR=${D} \
MANDIR=/usr/share/man \
TERMLIB=termlib \
PRESERVEDIR=${D}/var/lib/expreserve \
RECOVER="-DEXRECOVER=\\\"/var/lib/exrecover\\\" \
-DEXPRESERVE=\\\"/var/lib/expreserve\\\"" \
install || die
dodoc AUTHORS HISTORY KNOWNBUGS NEWS README* TODO
}
|