Gentoo Archives: gentoo-commits

From: "Vlastimil Babka (caster)" <caster@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/jcharts: ChangeLog jcharts-0.7.5-r1.ebuild
Date: Fri, 05 Jun 2009 14:27:06
Message-Id: E1MCaNq-0002wL-Ts@stork.gentoo.org
1 caster 09/06/05 14:27:02
2
3 Modified: ChangeLog
4 Added: jcharts-0.7.5-r1.ebuild
5 Log:
6 Revbump to use batik-1.7
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.5 dev-java/jcharts/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jcharts/ChangeLog?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jcharts/ChangeLog?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jcharts/ChangeLog?r1=1.4&r2=1.5
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-java/jcharts/ChangeLog,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- ChangeLog 26 Apr 2008 12:09:06 -0000 1.4
23 +++ ChangeLog 5 Jun 2009 14:27:02 -0000 1.5
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-java/jcharts
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jcharts/ChangeLog,v 1.4 2008/04/26 12:09:06 betelgeuse Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jcharts/ChangeLog,v 1.5 2009/06/05 14:27:02 caster Exp $
30 +
31 +*jcharts-0.7.5-r1 (05 Jun 2009)
32 +
33 + 05 Jun 2009; Vlastimil Babka <caster@g.o> +jcharts-0.7.5-r1.ebuild:
34 + Revbump to use batik-1.7
35
36 26 Apr 2008; Petteri Räty <betelgeuse@g.o> jcharts-0.7.5.ebuild:
37 Switch to slot deps and use java-pkg_doexamples.
38
39
40
41 1.1 dev-java/jcharts/jcharts-0.7.5-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jcharts/jcharts-0.7.5-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jcharts/jcharts-0.7.5-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: jcharts-0.7.5-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-java/jcharts/jcharts-0.7.5-r1.ebuild,v 1.1 2009/06/05 14:27:02 caster Exp $
51
52 EAPI="1"
53 JAVA_PKG_IUSE="doc examples source"
54
55 inherit java-pkg-2 java-ant-2
56
57 MY_P="jCharts-${PV}"
58 DESCRIPTION="jCharts is a 100% Java based charting utility that outputs a variety of charts"
59 HOMEPAGE="http://jcharts.sourceforge.net/"
60 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
61
62 LICENSE="BSD"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65
66 IUSE=""
67
68 COMMON_DEP="dev-java/batik:1.7
69 dev-java/servletapi:2.4"
70
71 RDEPEND=">=virtual/jre-1.4
72 ${COMMON_DEP}"
73
74 DEPEND=">=virtual/jdk-1.4
75 ${COMMON_DEP}
76 app-arch/unzip"
77
78 S="${WORKDIR}/${MY_P}"
79
80 src_unpack() {
81 unpack ${A}
82 cd "${S}"
83 rm -v *.{jar,war} lib/*.jar
84 }
85
86 _eant() {
87 cd build
88 local servletcp="$(java-pkg_getjars servletapi-2.4)"
89 eant ${1} \
90 -Dbatik.classpath="$(java-pkg_getjars batik-1.7):${servletcp}"
91 }
92
93 src_compile() {
94 # zip file includes javadocs and 1.6 fails to generate them so we just use
95 # the bundled ones
96 _eant jar
97 }
98
99 RESTRICT=test
100 # tests need X11
101 #src_test() {
102 # _eant test
103 #}
104
105 src_install() {
106 java-pkg_newjar build/*.jar
107 dohtml docs/*.html
108 use doc && java-pkg_dojavadoc javadocs
109 use source && java-pkg_dosrc src/org
110 use examples && java-pkg_doexamples demo
111 }