summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-07-30 11:42:29 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-07-30 11:42:29 +0000
commita39b673a2a540ce8713b823fbca94fdd8724802d (patch)
treedcac1dd36708d4cee71afbac097f1bee1778a444 /dev-java/jfreechart/jfreechart-0.9.19.ebuild
parentnitial import, depend of jfreechart (Manifest recommit) (diff)
downloadgentoo-2-a39b673a2a540ce8713b823fbca94fdd8724802d.tar.gz
gentoo-2-a39b673a2a540ce8713b823fbca94fdd8724802d.tar.bz2
gentoo-2-a39b673a2a540ce8713b823fbca94fdd8724802d.zip
Initial import, 48316
Diffstat (limited to 'dev-java/jfreechart/jfreechart-0.9.19.ebuild')
-rw-r--r--dev-java/jfreechart/jfreechart-0.9.19.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-java/jfreechart/jfreechart-0.9.19.ebuild b/dev-java/jfreechart/jfreechart-0.9.19.ebuild
new file mode 100644
index 000000000000..e009912053dc
--- /dev/null
+++ b/dev-java/jfreechart/jfreechart-0.9.19.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jfreechart/jfreechart-0.9.19.ebuild,v 1.1 2004/07/30 11:42:29 axxo Exp $
+
+inherit java-pkg
+
+DESCRIPTION="JFreeChart is a free Java class library for generating charts"
+HOMEPAGE="http://www.jfree.org"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc jikes"
+DEPEND=">=virtual/jdk-1.3
+ dev-java/ant
+ dev-java/jcommon
+ =dev-java/servletapi-2.3*
+ dev-java/gnu-jaxp
+ jikes? ( dev-java/jikes )"
+RDEPEND=">=virtual/jdk-1.3"
+
+src_compile() {
+ rm -f junit/*
+ rm -f lib/*
+ local antflags="compile -Djcommon.jar=$(java-config -p jcommon) -Dservlet.jar=$(java-config -p servletapi-2.3) -Dgnujaxp.jar=$(java-config -p 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() {
+ java-pkg_dojar ${P}.jar
+ dodoc README.txt CHANGELOG.txt
+ use doc && dohtml -r javadoc/
+}
+