summaryrefslogtreecommitdiff
blob: 152e0980ba78c758e0daff9b17a1fb3bdc085b40 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/joe/joe-2.9.5.ebuild,v 1.13 2003/10/01 11:39:33 aliz Exp $

IUSE=""

S=${WORKDIR}/${P}
DESCRIPTION="A free ASCII-Text Screen Editor for UNIX"
SRC_URI="mirror://sourceforge/joe-editor/${P}.tgz"
HOMEPAGE="http://sourceforge.net/projects/joe-editor/"

SLOT="0"
KEYWORDS="x86 ppc sparc "
LICENSE="GPL-1"

DEPEND=">=sys-libs/ncurses-5.2-r2"

PROVIDE="virtual/editor"

src_compile() {
	sed -i -e "s:-O2:${CFLAGS}:" Makefile
	make joe termidx || die
}

src_install() {
	into /usr
	dobin joe
	doman joe.1
	dolib joerc
	for i in jmacs jstar jpico rjoe
	do
		dosym joe /usr/bin/$i
		dosym joe.1.gz /usr/share/man/man1/$i.1.gz
		dolib ${i}rc
	done

	dodoc copying INFO LIST README TODO VERSION
}