blob: 60580d9bcf5f3717c1a933499e5ea343c93d55e5 (
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
51
52
53
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-editors/joe/joe-2.8-r1.ebuild,v 1.7 2000/09/15 20:08:45 drobbins Exp $
P=joe-2.8
A=joe2.8.tar.Z
S=${WORKDIR}/joe
DESCRIPTION="A free ASCII-Text Screen Editor for UNIX"
SRC_URI="ftp://ftp.std.com/src/editors/${A}
ftp://ftp.visi.com/disk3/unix/editors/${A}"
src_compile() {
try make
try make termidx
}
src_unpack() {
unpack ${A}
cd ${S}
patch -p0 < ${O}/files/joe2.8.dif
cp Makefile Makefile.orig
sed -e "s/-O2/${CFLAGS}/" Makefile.orig > Makefile
}
src_install() {
into /usr
dobin joe
doman joe.1
for i in jmacs jstar jpico rjoe
do
dosym /usr/bin/joe /usr/bin/$i
dosym /usr/man/man1/joe.1.gz /usr/man/man1/$i.1.gz
done
dobin termidx
dolib joerc
dolib jmacsrc
dolib jstarrc
dolib rjoerc
dolib jpicorc
insinto /etc
doins termcap
dodoc copying INFO LIST README TODO VERSION
}
|