summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-05-26 08:54:36 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-05-26 08:54:36 +0000
commitae063643d3346716d997501299f10cf534eaac25 (patch)
treedc83c4506325f7932bbdfae0af1e68980a587a28 /dev-java/xml-commons
parentRemoved old version. (diff)
downloadgentoo-2-ae063643d3346716d997501299f10cf534eaac25.tar.gz
gentoo-2-ae063643d3346716d997501299f10cf534eaac25.tar.bz2
gentoo-2-ae063643d3346716d997501299f10cf534eaac25.zip
Switch to java-pkg_dojavadoc.
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-java/xml-commons')
-rw-r--r--dev-java/xml-commons/ChangeLog6
-rw-r--r--dev-java/xml-commons/metadata.xml4
-rw-r--r--dev-java/xml-commons/xml-commons-1.0_beta2-r1.ebuild20
3 files changed, 17 insertions, 13 deletions
diff --git a/dev-java/xml-commons/ChangeLog b/dev-java/xml-commons/ChangeLog
index a6e7a16284b4..4f40e4248be4 100644
--- a/dev-java/xml-commons/ChangeLog
+++ b/dev-java/xml-commons/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/xml-commons
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-commons/ChangeLog,v 1.16 2007/05/23 17:14:29 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-commons/ChangeLog,v 1.17 2007/05/26 08:54:36 betelgeuse Exp $
+
+ 26 May 2007; Petteri Räty <betelgeuse@gentoo.org>
+ xml-commons-1.0_beta2-r1.ebuild:
+ Switch to java-pkg_dojavadoc.
23 May 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Add ~x86-fbsd keyword. Bug #176906.
diff --git a/dev-java/xml-commons/metadata.xml b/dev-java/xml-commons/metadata.xml
index e70d196a1555..b910167b8e80 100644
--- a/dev-java/xml-commons/metadata.xml
+++ b/dev-java/xml-commons/metadata.xml
@@ -6,11 +6,11 @@
<longdescription>
-These are some of the components that are provided by the Apache XML Commons
+These are some of the components that are provided by the Apache XML Commons
project.
* Resolver - An XML Entity and URI Resolver donated by Norman Walsh.
- * Which - A simple environment checking utility for Apache projects by Shane
+ * Which - A simple environment checking utility for Apache projects by Shane
Curcuru
* External Interfaces (xml-apis) - An Apache-hosted set of externally-defined
standards interfaces, namely DOM, SAX, and JAXP.
diff --git a/dev-java/xml-commons/xml-commons-1.0_beta2-r1.ebuild b/dev-java/xml-commons/xml-commons-1.0_beta2-r1.ebuild
index 91405bd2e07b..bd341fd81eb2 100644
--- a/dev-java/xml-commons/xml-commons-1.0_beta2-r1.ebuild
+++ b/dev-java/xml-commons/xml-commons-1.0_beta2-r1.ebuild
@@ -1,6 +1,8 @@
-# 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/xml-commons/xml-commons-1.0_beta2-r1.ebuild,v 1.3 2006/12/09 09:26:22 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-commons/xml-commons-1.0_beta2-r1.ebuild,v 1.4 2007/05/26 08:54:36 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
inherit eutils java-pkg-2 java-ant-2
@@ -18,20 +20,18 @@ SRC_URI="mirror://apache/xml/commons/${MY_P}.tar.gz"
LICENSE="Apache-1.1 public-domain W3C-document W3C"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
-IUSE="doc source"
+IUSE=""
-DEPEND=">=virtual/jdk-1.4
- dev-java/ant-core
- source? ( app-arch/zip )"
+DEPEND=">=virtual/jdk-1.4"
RDEPEND=">=virtual/jre-1.4"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
- epatch ${FILESDIR}/${PV}-jdk15.patch
+ epatch "${FILESDIR}/${PV}-jdk15.patch"
}
src_compile() {
@@ -48,7 +48,7 @@ src_install() {
java-pkg_dojar java/build/resolver.jar
java-pkg_dojar java/external/build/xml-apis.jar
- dodoc README.html
- use doc && java-pkg_dohtml -r java/build/docs/*
+ dodoc README.html || die
+ use doc && java-pkg_dojavadoc java/build/docs/javadocs
use source && java-pkg_dosrc java/src/org
}