summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/wsdl4j')
-rw-r--r--dev-java/wsdl4j/ChangeLog5
-rw-r--r--dev-java/wsdl4j/wsdl4j-1.5.1-r1.ebuild24
2 files changed, 17 insertions, 12 deletions
diff --git a/dev-java/wsdl4j/ChangeLog b/dev-java/wsdl4j/ChangeLog
index 2099ea033f1f..6960440dc0e5 100644
--- a/dev-java/wsdl4j/ChangeLog
+++ b/dev-java/wsdl4j/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/wsdl4j
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/wsdl4j/ChangeLog,v 1.10 2007/02/21 23:46:03 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/wsdl4j/ChangeLog,v 1.11 2007/06/08 20:38:47 betelgeuse Exp $
+
+ 08 Jun 2007; Petteri Räty <betelgeuse@gentoo.org> wsdl4j-1.5.1-r1.ebuild:
+ Use java-pkg_dojavadoc, add src_test and general ebuild cleanup.
21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/dev-java/wsdl4j/wsdl4j-1.5.1-r1.ebuild b/dev-java/wsdl4j/wsdl4j-1.5.1-r1.ebuild
index d13631dc6b9d..e256a30fc232 100644
--- a/dev-java/wsdl4j/wsdl4j-1.5.1-r1.ebuild
+++ b/dev-java/wsdl4j/wsdl4j-1.5.1-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/wsdl4j/wsdl4j-1.5.1-r1.ebuild,v 1.1 2006/09/17 20:13:13 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/wsdl4j/wsdl4j-1.5.1-r1.ebuild,v 1.2 2007/06/08 20:38:47 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
@@ -11,23 +13,23 @@ SRC_URI="mirror://gentoo/${P}-gentoo.tar.bz2"
LICENSE="CPL-1.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc source"
-DEPEND=">=virtual/jdk-1.4
- >=dev-java/ant-core-1.4
- source? ( app-arch/zip )"
+DEPEND=">=virtual/jdk-1.4"
RDEPEND=">=virtual/jre-1.4"
-src_compile() {
- eant compile $(use_doc javadocs)
+EANT_BUILD_TARGET="compile"
+EANT_DOC_TARGET="javadocs"
+
+src_test() {
+ ANT_TASKS="ant-junit" eant test
}
src_install() {
java-pkg_dojar build/lib/*.jar
- dohtml doc/*.html
- dodoc doc/spec/*
+ dohtml doc/*.html || die
+ dodoc doc/spec/* || die
- use doc && java-pkg_dohtml -r build/javadocs/
+ use doc && java-pkg_dojavadoc build/javadocs/
use source && java-pkg_dosrc src/*
}