blob: 6f2cd1c68d5b7ce47abb63facbf3329caede4fb1 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jpf/jpf-1.5.1.ebuild,v 1.2 2008/10/12 09:23:52 caster Exp $
EAPI=1
inherit java-pkg-2 java-ant-2
DESCRIPTION="Java Plugin Framework - a runtime engine that dynamically discovers and loads plugins."
HOMEPAGE="http://${PN}.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.zip"
LICENSE="LGPL-2.1"
SLOT="1.5"
KEYWORDS="~amd64 ~x86"
IUSE=""
S="${WORKDIR}"
COMMON_DEP="dev-java/commons-logging:0
dev-java/ant-core"
DEPEND="app-arch/unzip
>=virtual/jdk-1.5
${COMMON_DEP}"
RDEPEND=">=virtual/jre-1.5
${COMMON_DEP}"
src_unpack() {
unpack ${A}
cd "${S}"
java-ant_rewrite-classpath
rm -fv lib/*.jar || die
# needs some not yet packaged jxp dep, will add only on demand
rm -rfv source-tools/org/java/plugin/tools/{docgen,ant/DocTask.java} || die
}
# doc target is name="-javadoc" and would need a patch, on demand
EANT_GENTOO_CLASSPATH="commons-logging,ant-core"
src_install() {
java-pkg_dojar build/lib/jpf*.jar
java-pkg_register-ant-task
newdoc README.txt README || die
dodoc changelog.txt || die
}
|