summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-01-27 23:03:57 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-01-27 23:03:57 +0000
commitc2a5159b2a4c8bb6295cf75408be835295cf3e51 (patch)
treec309362fe60ad25f2026e04e83067f0d2c822f85 /dev-java/jfreechart
parentRemoving older gen 1 package from tree. Only package that deps on this one is... (diff)
downloadgentoo-2-c2a5159b2a4c8bb6295cf75408be835295cf3e51.tar.gz
gentoo-2-c2a5159b2a4c8bb6295cf75408be835295cf3e51.tar.bz2
gentoo-2-c2a5159b2a4c8bb6295cf75408be835295cf3e51.zip
Ebuild cleanup.
(Portage version: 2.1.2-r4)
Diffstat (limited to 'dev-java/jfreechart')
-rw-r--r--dev-java/jfreechart/ChangeLog6
-rw-r--r--dev-java/jfreechart/jfreechart-0.9.21-r1.ebuild21
2 files changed, 12 insertions, 15 deletions
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 <betelgeuse@gentoo.org>
+ jfreechart-0.9.21-r1.ebuild:
+ Ebuild cleanup.
06 Jan 2007; Miroslav Šulc <fordfrog@gentoo.org> 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/*
-
}