Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 460952 | Differences between
and this patch

Collapse All | Expand All

(-)dev-java/jfreechart/jfreechart-1.0.14.ebuild (-7 / +14 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2013 Gentoo Foundation
1
# Copyright 1999-2013 Gentoo Foundation
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/dev-java/jfreechart/jfreechart-1.0.14.ebuild,v 1.1 2013/05/22 13:10:16 tomwij Exp $
3
# $Header: $
4
4
5
EAPI="5"
5
EAPI="5"
6
6
Lines 16-26 Link Here
16
SLOT="1.0"
16
SLOT="1.0"
17
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
17
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
18
18
19
IUSE="+servlet test"
19
IUSE="examples +servlet test"
20
20
21
COMMON_DEPEND="
21
COMMON_DEPEND=">=dev-java/jcommon-1.0.17:1.0
22
	>=dev-java/itext-2.1.5:0
23
	>=dev-java/jcommon-1.0.17:1.0
24
	servlet? ( java-virtuals/servlet-api:2.3 )"
22
	servlet? ( java-virtuals/servlet-api:2.3 )"
25
23
26
DEPEND=">=virtual/jdk-1.4
24
DEPEND=">=virtual/jdk-1.4
Lines 28-33 Link Here
28
	test? ( dev-java/ant-junit:0 )"
26
	test? ( dev-java/ant-junit:0 )"
29
27
30
RDEPEND=">=virtual/jdk-1.4
28
RDEPEND=">=virtual/jdk-1.4
29
	examples? ( >=dev-java/itext-2.1.5:0 )
31
	${COMMON_DEPEND}"
30
	${COMMON_DEPEND}"
32
31
33
JAVA_PKG_FILTER_COMPILER="jikes"
32
JAVA_PKG_FILTER_COMPILER="jikes"
Lines 39-45 Link Here
39
	# http://sourceforge.net/p/jfreechart/bugs/1100/
38
	# http://sourceforge.net/p/jfreechart/bugs/1100/
40
	epatch "${FILESDIR}/${P}-fix-TimeSeriesCollectionTests.patch"
39
	epatch "${FILESDIR}/${P}-fix-TimeSeriesCollectionTests.patch"
41
40
42
	rm -v *.jar lib/*.jar || die
41
	rm -v lib/*.jar || die
42
43
	if ! use examples; then
44
		rm -v "${P}-demo.jar" || die
45
	fi
43
46
44
	if ! use servlet; then
47
	if ! use servlet; then
45
		rm -rf source/org/jfree/chart/servlet || die
48
		rm -rf source/org/jfree/chart/servlet || die
Lines 66-77 Link Here
66
	dodoc README.txt ChangeLog NEWS
69
	dodoc README.txt ChangeLog NEWS
67
70
68
	use doc && java-pkg_dojavadoc javadoc
71
	use doc && java-pkg_dojavadoc javadoc
72
73
	if use examples; then
74
		java-pkg_newjar ${P}-demo.jar ${PN}-demo.jar
75
	fi
76
69
	use source && java-pkg_dosrc source/org
77
	use source && java-pkg_dosrc source/org
70
}
78
}
71
79
72
get_jars() {
80
get_jars() {
73
	local antflags="
81
	local antflags="
74
		-Ditext.jar=$(java-pkg_getjar itext iText.jar) \
75
		-Djcommon.jar=$(java-pkg_getjar jcommon-1.0 jcommon.jar)"
82
		-Djcommon.jar=$(java-pkg_getjar jcommon-1.0 jcommon.jar)"
76
83
77
	use servlet && antflags="${antflags} \
84
	use servlet && antflags="${antflags} \

Return to bug 460952