blob: 49576395629718d82f6a28dececb5a1e88b2988c (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/e3/e3-2.70.ebuild,v 1.1 2007/01/06 00:16:40 masterdriverz Exp $
inherit versionator
MY_PV="2.7.0"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="Very tiny editor in x86 ASM with emacs, pico, and vi keybindings"
HOMEPAGE="http://www.sax.de/~adlibit/"
SRC_URI="http://www.sax.de/~adlibit/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~x86"
IUSE="build"
RESTRICT="nostrip"
DEPEND="dev-lang/nasm"
RDEPEND="sys-apps/sed"
S="${WORKDIR}/${MY_P}"
src_install() {
dodir /usr/bin
dobin e3 || die
dosym e3 /usr/bin/e3vi
dosym e3 /usr/bin/e3em
dosym e3 /usr/bin/e3ws
dosym e3 /usr/bin/e3pi
dosym e3 /usr/bin/e3ne
if use build ; then
# easier-to-remember shell scripts
dobin ${FILESDIR}/vi
# this one is more trouble than its worth --woodchip
# dobin ${FILESDIR}/emacs
dobin ${FILESDIR}/pico
newbin ${FILESDIR}/pico nano
fi
cp e3.man e3.1
doman e3.1
}
|