# 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.2 2007/06/08 20:38:47 betelgeuse Exp $ JAVA_PKG_IUSE="doc source" inherit versionator java-pkg-2 java-ant-2 DESCRIPTION="Web Services Description Language for Java Toolkit (WSDL4J)" HOMEPAGE="http://wsdl4j.sourceforge.net" TCK="jwsdltck" TCK_V="1.2" SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.zip test? ( mirror://sourceforge/${TCK}/${TCK}-bin-${TCK_V}zip" LICENSE="CPL-1.0" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" DEPEND=">=virtual/jdk-1.4 app-arch/unzip" RDEPEND=">=virtual/jre-1.4" EANT_BUILD_TARGET="compile" EANT_DOC_TARGET="javadocs" S="${WORKDIR}/${PN}-$(replace_all_version_separators _)" src_test() { mkdir test ANT_TASKS="ant-junit" eant test } src_install() { java-pkg_dojar build/lib/*.jar dohtml doc/*.html || die dodoc doc/spec/* || die use doc && java-pkg_dojavadoc build/javadocs/ use source && java-pkg_dosrc src/* }