# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/ant-core-1.6.5-r1.ebuild,v 1.3 2005/08/25 01:38:41 agriffis Exp $ inherit java-pkg eutils toolchain-funcs MY_PN=${PN/-core} MY_PV=${PV/_/} DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files." HOMEPAGE="http://ant.apache.org/" SRC_URI="mirror://apache/ant/source/apache-${MY_PN}-${PV}-src.tar.bz2" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="doc source" DEPEND="virtual/libc >=virtual/jdk-1.4 ! ${D}/etc/env.d/20ant java-pkg_dojar build/lib/ant.jar java-pkg_dojar build/lib/ant-launcher.jar use source && java-pkg_dosrc src/main/* dodoc README WHATSNEW KEYS use doc && dohtml welcome.html use doc && java-pkg_dohtml -r docs/* use doc && java-pkg_dohtml -r dist/docs/manual/api/* }