From c2a5159b2a4c8bb6295cf75408be835295cf3e51 Mon Sep 17 00:00:00 2001 From: Petteri Räty Date: Sat, 27 Jan 2007 23:03:57 +0000 Subject: Ebuild cleanup. (Portage version: 2.1.2-r4) --- dev-java/jfreechart/ChangeLog | 6 +++++- dev-java/jfreechart/jfreechart-0.9.21-r1.ebuild | 21 +++++++-------------- 2 files changed, 12 insertions(+), 15 deletions(-) (limited to 'dev-java/jfreechart') diff --git a/dev-java/jfreechart/ChangeLog b/dev-java/jfreechart/ChangeLog index 2e46604cc51d..e91d0c24fb8b 100644 --- a/dev-java/jfreechart/ChangeLog +++ b/dev-java/jfreechart/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/jfreechart # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jfreechart/ChangeLog,v 1.15 2007/01/06 22:34:46 fordfrog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jfreechart/ChangeLog,v 1.16 2007/01/27 23:03:57 betelgeuse Exp $ + + 27 Jan 2007; Petteri Räty + jfreechart-0.9.21-r1.ebuild: + Ebuild cleanup. 06 Jan 2007; Miroslav Šulc jfreechart-1.0.3.ebuild: Added ~ppc keyword. diff --git a/dev-java/jfreechart/jfreechart-0.9.21-r1.ebuild b/dev-java/jfreechart/jfreechart-0.9.21-r1.ebuild index a71fb16e4a36..644283950653 100644 --- a/dev-java/jfreechart/jfreechart-0.9.21-r1.ebuild +++ b/dev-java/jfreechart/jfreechart-0.9.21-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 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-r1.ebuild,v 1.1 2006/09/11 12:59:25 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jfreechart/jfreechart-0.9.21-r1.ebuild,v 1.2 2007/01/27 23:03:57 betelgeuse Exp $ inherit java-pkg-2 java-ant-2 @@ -20,28 +20,21 @@ DEPEND=">=virtual/jdk-1.4 dev-java/ant-core" src_unpack() { - unpack ${A} - cd ${S} - rm -f lib/* *.jar - + cd "${S}" + rm -v lib/* *.jar } src_compile() { - 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 doc && antflags="${antflags} javadoc" - eant -f ant/build.xml ${antflags} || die "compile failed" - + eant -f ant/build.xml ${antflags} $(use_doc) || die "compile failed" } src_install() { - java-pkg_newjar ${P}.jar ${PN}.jar - dodoc README.txt CHANGELOG.txt - use doc && java-pkg_dohtml -r javadoc/ + dodoc README.txt CHANGELOG.txt || die + use doc && java-pkg_dojavadoc javadoc/ use source && java-pkg_dosrc source/* - } -- cgit v1.2.3-65-gdbad