blob: 1221d6cc60b6d9a168a24fbb524f1649b8dc765b (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/nedit/nedit-5.2.ebuild,v 1.8 2002/12/09 04:17:40 manson Exp $
S=${WORKDIR}/${P}
DESCRIPTION="NEdit is a multi-purpose text editor for the X Window System"
SRC_URI="ftp://ftp.nedit.org/pub/v5_2/${P}-src.tar.gz"
HOMEPAGE="http://nedit.org/"
DEPEND="virtual/glibc
>=dev-util/yacc-1.9.1
>=x11-libs/openmotif-2.1.30"
RDEPEND="virtual/glibc
>=x11-libs/openmotif-2.1.30"
SLOT="0"
KEYWORDS="x86 ppc sparc "
LICENSE="GPL-2"
src_unpack() {
unpack ${A}
cd ${S}/makefiles
cp Makefile.linux Makefile.orig
sed -e "s:-O:${CFLAGS}:" Makefile.orig > Makefile.linux
}
src_compile() {
make linux || die
}
src_install () {
into /usr
dobin source/nc source/nedit
newman doc/nedit.man nedit.1
newman doc/nc.man nc.1
dodoc README ReleaseNotes doc/faq* doc/nedit.doc doc/README.FAQ doc/NEdit.ad
}
|