# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-java/groovy/groovy-1.6.8.ebuild,v 1.6 2014/01/16 17:26:58 jer Exp $ # Groovy's build system is Ant based, but they use Maven for fetching the dependencies. # We just have to remove the fetch dependencies target, and then we can use Ant for this ebuild. # We currently do not build the embeddable jar (which is created using JarJar). # We could provide that via a USE flag. # We also don't use automatic build rewriting as there seems to be already some level of support # in the upstream build system # TODO: Install all 3 documentation packages. Currently only the Groovy GDK documentation is installed # as our java-pkg_dojavadoc function does not support multiple Javadoc installations. # There is also a bug (visible when loading groovyConsole for instance) where asm-1.5 is put on the cp, # this conflicts with the 2.2 version needed by Groovy. EAPI="2" WANT_ANT_TASKS="ant-antlr" JAVA_PKG_IUSE="doc source" inherit versionator java-pkg-2 java-ant-2 MY_PV=${PV/_rc/-RC-} MY_P="${PN}-${MY_PV}" DESCRIPTION="Groovy is a high-level dynamic language for the JVM" HOMEPAGE="http://groovy.codehaus.org/" SRC_URI="http://dist.groovy.codehaus.org/distributions/${PN}-src-${PV}.zip" LICENSE="codehaus-groovy" SLOT="0" KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" IUSE="test" RESTRICT="test" CDEPEND=" dev-java/asm:2.2 dev-java/antlr:0 >=dev-java/xstream-1.3 >=dev-java/junit-3.8.2:0 >=dev-java/jline-0.9.91 >=dev-java/ant-core-1.7.0 >=dev-java/commons-cli-1.2 dev-java/servletapi:2.4 >=dev-java/bsf-2.4 java-virtuals/jmx" RDEPEND=">=virtual/jre-1.5 !