maintainers {breun.nl:nils @breun} openmaintainer
description Groovy -- a Java-based scripting language
long_description Groovy... \
* is an agile and dynamic language for the Java Virtual Machine \
* builds upon the strengths of Java but has additional power \
features inspired by languages like Python, Ruby and Smalltalk \
* makes modern programming features available to Java developers \
with almost-zero learning curve \
* provides the ability to statically type check and statically \
compile your code for robustness and performance \
* supports Domain-Specific Languages and other compact syntax so \
your code becomes easy to read and maintain \
* makes writing shell and build scripts easy with its powerful \
processing primitives, OO abilities and an Ant DSL \
* increases developer productivity by reducing scaffolding code \
when developing web, GUI, database or console applications \
* simplifies testing by supporting unit testing and mocking \
* seamlessly integrates with all existing Java classes and \
* compiles straight to Java bytecode so you can use it anywhere \
homepage http://groovy-lang.org/
master_sites https://dl.bintray.com/${name}/maven/
distname apache-${name}-binary-${version}
checksums rmd160 2df28ec5e7c917570827578bda24b8e3a063ad4b \
sha256 49fb14b98f9fed1744781e4383cf8bff76440032f58eb5fabdc9e67a5daa8742 \
worksrcdir ${name}-${version}
set target ${destroot}${prefix}/share/java/${name}
# Create the target java directory
xinstall -m 755 -d ${target}
# Copy over the needed elements of our directory tree
foreach d { bin conf grooid indy lib } {
copy ${worksrcpath}/${d} ${target}
# Remove extraneous bat files
foreach f [glob -directory ${target}/bin *.bat] {