summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-11 16:32:19 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-11 16:32:19 +0000
commita6520b2fd194580d7c489a804afc3aa6a9f4b5a5 (patch)
tree5b57e700a373331058714544049fc361e8dc63a9
parentgames-emulation/dboxfe needs dosbox (diff)
downloadgentoo-2-a6520b2fd194580d7c489a804afc3aa6a9f4b5a5.tar.gz
gentoo-2-a6520b2fd194580d7c489a804afc3aa6a9f4b5a5.tar.bz2
gentoo-2-a6520b2fd194580d7c489a804afc3aa6a9f4b5a5.zip
Migrate to splitted ant.
(Portage version: 2.1.2.3)
-rw-r--r--dev-java/fop/ChangeLog5
-rw-r--r--dev-java/fop/fop-0.20.5-r7.ebuild15
2 files changed, 12 insertions, 8 deletions
diff --git a/dev-java/fop/ChangeLog b/dev-java/fop/ChangeLog
index c97683787dcb..cafa0b7d9260 100644
--- a/dev-java/fop/ChangeLog
+++ b/dev-java/fop/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/fop
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/fop/ChangeLog,v 1.35 2007/02/13 08:48:45 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/fop/ChangeLog,v 1.36 2007/04/11 16:32:19 betelgeuse Exp $
+
+ 11 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> fop-0.20.5-r7.ebuild:
+ Migrate to splitted ant.
13 Feb 2007; Markus Rothe <corsair@gentoo.org> fop-0.20.5-r7.ebuild:
Added ~ppc64; bug #153229
diff --git a/dev-java/fop/fop-0.20.5-r7.ebuild b/dev-java/fop/fop-0.20.5-r7.ebuild
index 965341a9281e..b74f761cfc34 100644
--- a/dev-java/fop/fop-0.20.5-r7.ebuild
+++ b/dev-java/fop/fop-0.20.5-r7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/fop/fop-0.20.5-r7.ebuild,v 1.4 2007/02/13 08:48:45 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/fop/fop-0.20.5-r7.ebuild,v 1.5 2007/04/11 16:32:19 betelgeuse Exp $
inherit eutils java-pkg-2 java-ant-2
@@ -26,18 +26,19 @@ RDEPEND="=virtual/jre-1.4*
${COMMON_DEP}"
DEPEND="=virtual/jdk-1.4*
${COMMON_DEP}
- >=dev-java/ant-1.5.4"
+ || ( dev-java/ant-trax dev-java/ant-tasks )
+ >=dev-java/ant-core-1.5.4"
S=${WORKDIR}/${P/_/}
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
epatch ${FILESDIR}/${PV}-no-autodetection.patch
- cd ${S}/lib
- rm -f *.jar
+ cd "${S}/lib"
+ rm -v *.jar || die
java-pkg_jar-from ant-core ant.jar
java-pkg_jar-from avalon-framework-4.1
java-pkg_jar-from batik-1.5 batik-all.jar batik.jar
@@ -55,7 +56,7 @@ src_compile() {
use jai && jaip="-Djai.present=true"
use jimi && jimip="-Djimi.present=true"
- eant ${jaip} ${jimip} package $(use_doc javadocs)
+ ANT_TASKS="ant-trax" eant ${jaip} ${jimip} package $(use_doc javadocs)
}
src_install() {
@@ -65,8 +66,8 @@ src_install() {
echo 'FOP_HOME=/usr/share/fop/' > ${D}/etc/env.d/java/22fop
java-pkg_dolauncher ${PN} --main org.apache.fop.apps.Fop
+ dodoc CHANGES STATUS README || die
if use doc; then
- dodoc CHANGES STATUS README
java-pkg_dohtml -r ReleaseNotes.html build/javadocs/*
fi