blob: dd336619a6f5065c9874495aa9c3bd266f4cb286 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/jove/jove-4.16.0.73.ebuild,v 1.4 2010/09/14 17:07:05 fauli Exp $
inherit eutils toolchain-funcs
DESCRIPTION="Jonathan's Own Version of Emacs - a light emacs-like editor without LISP bindings"
HOMEPAGE="ftp://ftp.cs.toronto.edu/cs/ftp/pub/hugh/jove-dev/"
SRC_URI="ftp://ftp.cs.toronto.edu/cs/ftp/pub/hugh/jove-dev/${PN}${PV}.tgz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="doc"
RDEPEND="sys-libs/ncurses"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN}${PV}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${PN}-4.16.0.70.3.1-getline.patch"
epatch "${FILESDIR}/${P}-build.patch"
epatch "${FILESDIR}/${P}-sendmail.patch"
epatch "${FILESDIR}/${P}-doc.patch"
}
src_compile() {
tc-export CC
emake OPTFLAGS="${CFLAGS}" SYSDEFS="-DSYSVR4 -D_XOPEN_SOURCE=500" || die
if use doc; then
# Full manual (*not* man page)
emake doc/jove.man || die
fi
}
src_install() {
emake DESTDIR="${D}" install || die
keepdir /var/lib/jove/preserve
dodoc README
if use doc; then
dodoc doc/jove.man || die
fi
}
|