description GroovyServ makes Groovy startup time quicker, by pre-invoking groovy as a TCP/IP server.
long_description In the case of scripting in dynamic-type languages, quick response about \
invocation is very important. Try-and-run cycles is repeated frequently \
than static-type languages, so sometimes 2 seconds or even a second might \
GroovyServ reduces the startup time of JVM and Groovy runtime significantly.
homepage http://kobo.github.com/groovyserv/index.html
distname ${name}-${version}-macosx-x86_64-bin
master_sites https://github.com/downloads/kobo/groovyserv
checksums md5 99dc7505ba03fe4ed22353e492e20121 \
sha1 8c3ee10527af0f390a15a3d75b5199b1fa05c90e \
rmd160 24482827f878985361f8147b60901843a4f37d4b
worksrcdir ${name}-${version}
# Remove extraneous bat files
foreach f [glob -directory ${worksrcpath}${workTarget}/bin *.bat] {
# Create the target java directory
xinstall -m 755 -d ${destroot}${prefix}/share/devel/${name}
# Copy over the needed elements of our directory tree
file copy ${worksrcpath}/lib \
${destroot}${prefix}/share/devel/${name}
# Symlink groovyserv into the bin directory
system "cd ${destroot}${prefix}/bin && ln -s ${prefix}/share/devel/${name}/bin/groovyserver"
system "cd ${destroot}${prefix}/bin && ln -s ${prefix}/share/devel/${name}/bin/groovyclient"