summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-07-12 19:52:13 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-07-12 19:52:13 +0000
commitde372ca8607689fd9bff63bbbf56a4585406e407 (patch)
treed58e5f81cd1c637b9c7f01fd8a802cfef9fa54c0 /dev-java/jfreechart
parentStyle fixes (diff)
downloadgentoo-2-de372ca8607689fd9bff63bbbf56a4585406e407.tar.gz
gentoo-2-de372ca8607689fd9bff63bbbf56a4585406e407.tar.bz2
gentoo-2-de372ca8607689fd9bff63bbbf56a4585406e407.zip
Dep/Style fixes
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/jfreechart')
-rw-r--r--dev-java/jfreechart/ChangeLog5
-rw-r--r--dev-java/jfreechart/jfreechart-0.9.21.ebuild18
2 files changed, 14 insertions, 9 deletions
diff --git a/dev-java/jfreechart/ChangeLog b/dev-java/jfreechart/ChangeLog
index 2e1300092314..7c6ec696c4d5 100644
--- a/dev-java/jfreechart/ChangeLog
+++ b/dev-java/jfreechart/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/jfreechart
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jfreechart/ChangeLog,v 1.7 2005/05/14 20:48:06 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jfreechart/ChangeLog,v 1.8 2005/07/12 19:49:44 axxo Exp $
+
+ 12 Jul 2005; Thomas Matthijs <axxo@gentoo.org> jfreechart-0.9.21.ebuild:
+ Dep/Style fixes
14 May 2005; Jan Brinkmann <luckyduck@gentoo.org>
-jfreechart-0.9.19.ebuild, jfreechart-0.9.21.ebuild:
diff --git a/dev-java/jfreechart/jfreechart-0.9.21.ebuild b/dev-java/jfreechart/jfreechart-0.9.21.ebuild
index fca4c833d763..c9488281582e 100644
--- a/dev-java/jfreechart/jfreechart-0.9.21.ebuild
+++ b/dev-java/jfreechart/jfreechart-0.9.21.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jfreechart/jfreechart-0.9.21.ebuild,v 1.4 2005/05/14 20:48:06 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jfreechart/jfreechart-0.9.21.ebuild,v 1.5 2005/07/12 19:49:44 axxo Exp $
inherit java-pkg
@@ -11,13 +11,14 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="x86 ppc amd64"
IUSE="doc jikes"
-DEPEND=">=virtual/jdk-1.3
- dev-java/ant-core
+RDEPEND=">=virtual/jdk-1.3
dev-java/jcommon
=dev-java/servletapi-2.3*
- dev-java/gnu-jaxp
+ dev-java/gnu-jaxp"
+DEPEND=">=virtual/jdk-1.3
+ ${RDEPEND}
+ dev-java/ant-core
jikes? ( dev-java/jikes )"
-RDEPEND=">=virtual/jdk-1.3"
src_unpack() {
unpack ${A}
@@ -26,15 +27,16 @@ src_unpack() {
}
src_compile() {
- local antflags="compile -Djcommon.jar=$(java-config -p jcommon) -Dservlet.jar=$(java-config -p servletapi-2.3) -Dgnujaxp.jar=$(java-config -p gnu-jaxp)"
+ local antflags="compile -Djcommon.jar=$(java-pkg_getjars jcommon) \
+ -Dservlet.jar=$(java-pkg_getjar servletapi-2.3 servlet.jar) \
+ -Dgnujaxp.jar=$(java-pkg_getjars gnu-jaxp)"
use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
use doc && antflags="${antflags} javadoc"
ant -f ant/build.xml ${antflags} || die "compile failed"
}
src_install() {
- mv ${P}.jar ${PN}.jar
- java-pkg_dojar ${PN}.jar
+ java-pkg_newjar ${P}.jar ${PN}.jar
dodoc README.txt CHANGELOG.txt
use doc && java-pkg_dohtml -r javadoc/
}