summaryrefslogtreecommitdiff
blob: f5b6e8ff2ef7b7ac605a757c10f0b9d741cad8db (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-2002 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.8 2002/10/18 21:15:09 aliz Exp $

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/"

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

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

src_unpack() {

	unpack ${A}
	cd ${S}
	cp Makefile Makefile.orig
	sed -e "s/-O2/${CFLAGS}/" Makefile.orig > Makefile

}

src_compile() {                           

	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
}