From a39b673a2a540ce8713b823fbca94fdd8724802d Mon Sep 17 00:00:00 2001 From: Thomas Matthijs Date: Fri, 30 Jul 2004 11:42:29 +0000 Subject: Initial import, 48316 --- dev-java/jfreechart/jfreechart-0.9.19.ebuild | 36 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 dev-java/jfreechart/jfreechart-0.9.19.ebuild (limited to 'dev-java/jfreechart/jfreechart-0.9.19.ebuild') 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/ +} + -- cgit v1.2.3-65-gdbad