# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/xdoclet-bin/xdoclet-bin-1.2.ebuild,v 1.5 2004/10/16 23:11:03 axxo Exp $ inherit java-pkg DESCRIPTION="XDoclet is a code generation engine." SRC_URI="mirror://sourceforge/xdoclet/${P}.tgz" HOMEPAGE="http://xdoclet.sf.net" LICENSE="Apache-1.1" SLOT="0" IUSE="doc" KEYWORDS="x86 ~sparc" RDEPEND=" || ( >=virtual/jre-1.4 >=virtual/jdk-1.4 )" S=${WORKDIR}/${PN%%-bin}-${PV} src_install() { java-pkg_dojar lib/*.jar use doc && java-pkg_dohtml -r docs/* }