diff options
| author | Marcelino Llano | 2010-11-12 00:31:37 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-21 21:40:53 -0700 |
| commit | cfbb8897e1e253b2092303901e5754c23afc074f (patch) | |
| tree | 86ee00606f3af48bf0ae23cb56068a311697e8a5 /Library | |
| parent | bb779ddc65eb9053385c17bbc7af822294142668 (diff) | |
| download | homebrew-cfbb8897e1e253b2092303901e5754c23afc074f.tar.bz2 | |
Frink, language to make physical calculations.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/frink.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/frink.rb b/Library/Formula/frink.rb new file mode 100644 index 000000000..174a317a3 --- /dev/null +++ b/Library/Formula/frink.rb @@ -0,0 +1,19 @@ +require 'formula' + +class Frink <Formula + head 'http://futureboy.us/frinkjar/frink.jar' + homepage 'http://futureboy.us/frinkdocs/index.html' + md5 'dd6b317544234beee0c0039480304759' + + 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
\ No newline at end of file |
