description An open-source web application framework that leverages the Groovy language
long_description Grails aims to bring the "coding by convention" paradigm to Groovy. \
It's an open-source web application framework that leverages the Groovy \
language and complements Java Web development. \
You can use Grails as a standalone development environment that hides all \
configuration details or integrate your Java business logic. \
Grails aims to make development as simple as possible and hence \
should appeal to a wide range of developers not just those from the Java community.
homepage http://www.grails.org/
distname ${name}-${version}
master_sites http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/
checksums md5 9edbfe19b50a59872653d5322e424fa5 \
sha1 b77a86b5ae36e73dd20acc0996cd04db5390a994 \
rmd160 184a2ef989c43911d45f71e9913a8da5a197bfe9
worksrcdir ${name}-${version}
build.env JAVA_HOME=/Library/Java/Home
# Remove extraneous bat files
foreach f [glob -directory ${worksrcpath}${workTarget}/bin *.bat] {
# Create the target java directory
xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}
# Copy over the needed elements of our directory tree
file copy ${worksrcpath}/bin \
${worksrcpath}/build.properties \
${destroot}${prefix}/share/java/${name}
# Symlink grails into the bin directory
system "cd ${destroot}${prefix}/bin && ln -s ${prefix}/share/java/${name}/bin/grails"
system "cd ${destroot}${prefix}/bin && ln -s ${prefix}/share/java/${name}/bin/startGrails"