homebrew-core/Formula/frink.rb
Benson Kalahar f134c46c16 Frink: Update MD5 sum
Closes Homebrew/homebrew#7787.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-23 16:17:12 -07:00

19 lines
433 B
Ruby

require 'formula'
class Frink < Formula
head 'http://futureboy.us/frinkjar/frink.jar'
homepage 'http://futureboy.us/frinkdocs/index.html'
md5 '8326620340fa374b1a95390220da909c'
depends_on 'rlwrap'
def install
prefix.install 'frink.jar'
# Add an executable shell-script
(bin + "frink").write <<-EOF.undent
#!/bin/sh
rlwrap java -cp #{prefix}/frink.jar frink.parser.Frink \"$@\"
EOF
end
end