blob: 46b455e6770c9cd54f77b6d6bc4938f50b7e02fb (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/sidekick/sidekick-0.3.ebuild,v 1.3 2005/02/06 01:40:53 luckyduck Exp $
inherit java-pkg eutils
DESCRIPTION="jedit plugin: The SideKick plugin provides a framework for high-level language-specific features"
HOMEPAGE="http://plugins.jedit.org/plugins/?SideKick"
SRC_URI="mirror://sourceforge/jedit-plugins/SideKick-${PV}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 amd64"
IUSE=""
DEPEND=">=virtual/jdk-1.4
>=app-editors/jedit-4.2
dev-java/errorlist
dev-java/ant"
RDEPEND=">=virtual/jre-1.4"
S=${WORKDIR}/SideKick
src_unpack() {
unpack ${A}
rm -f SideKick.jar
cd ${S}
epatch ${FILESDIR}/build.xml.patch
java-pkg_jar-from errorlist
}
src_compile() {
ant dist -Djedit.install.dir=/usr/share/jedit -Dinstall.dir=. || die "compile failed"
}
src_install() {
java-pkg_dojar SideKick.jar
dodir /usr/share/jedit/jars
dosym /usr/share/${PN}/lib/SideKick.jar /usr/share/jedit/jars/SideKick.jar
}
|