|
Lines 2-21
Link Here
|
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/jedit-4.2.ebuild,v 1.14 2006/10/05 14:28:18 gustavoz Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/jedit-4.2.ebuild,v 1.14 2006/10/05 14:28:18 gustavoz Exp $ |
| 4 |
|
4 |
|
| 5 |
inherit java-utils |
5 |
inherit java-utils-2 |
| 6 |
|
6 |
|
| 7 |
MY_PV="${PV//./}" |
7 |
MY_PV="${PV//_/}" |
| 8 |
MY_PV="${MY_PV//_/}" |
|
|
| 9 |
|
8 |
|
| 10 |
DESCRIPTION="Programmer's editor written in Java" |
9 |
DESCRIPTION="Programmer's editor written in Java" |
| 11 |
HOMEPAGE="http://www.jedit.org" |
10 |
HOMEPAGE="http://www.jedit.org" |
| 12 |
SRC_URI="mirror://sourceforge/jedit/jedit${MY_PV}source.tar.gz" |
11 |
SRC_URI="mirror://sourceforge/jedit/jedit${MY_PV}source.tar.bz2" |
| 13 |
LICENSE="GPL-2" |
12 |
LICENSE="GPL-2" |
| 14 |
KEYWORDS="x86 ppc amd64" |
13 |
KEYWORDS="~x86 ~ppc ~amd64" |
| 15 |
SLOT="0" |
14 |
SLOT="0" |
| 16 |
IUSE="jikes doc gnome kde" |
15 |
IUSE="jikes doc gnome kde" |
| 17 |
|
16 |
|
| 18 |
RDEPEND=">=virtual/jdk-1.4" |
17 |
RDEPEND=">=virtual/jdk-1.5" |
| 19 |
DEPEND="${RDEPEND} |
18 |
DEPEND="${RDEPEND} |
| 20 |
doc? ( |
19 |
doc? ( |
| 21 |
=app-text/docbook-xml-dtd-4.3* |
20 |
=app-text/docbook-xml-dtd-4.3* |
|
Lines 44-50
Link Here
|
| 44 |
fi |
43 |
fi |
| 45 |
} |
44 |
} |
| 46 |
src_compile() { |
45 |
src_compile() { |
| 47 |
local antflags="dist" |
46 |
local antflags="build" |
| 48 |
|
47 |
|
| 49 |
if use jikes ; then |
48 |
if use jikes ; then |
| 50 |
einfo "Please ignore the following compiler warnings." |
49 |
einfo "Please ignore the following compiler warnings." |
|
Lines 61-67
Link Here
|
| 61 |
dodir /usr/share/jedit |
60 |
dodir /usr/share/jedit |
| 62 |
dodir /usr/bin |
61 |
dodir /usr/bin |
| 63 |
|
62 |
|
| 64 |
cp -R jedit.jar jars doc macros modes properties startup ${D}/usr/share/jedit |
63 |
cp -R build/jedit.jar jars doc macros modes properties startup ${D}/usr/share/jedit |
| 65 |
cd ${D}/usr/share/jedit |
64 |
cd ${D}/usr/share/jedit |
| 66 |
chmod -R u+rw,ug-s,go+u,go-w \ |
65 |
chmod -R u+rw,ug-s,go+u,go-w \ |
| 67 |
jedit.jar jars doc macros modes properties startup |
66 |
jedit.jar jars doc macros modes properties startup |