aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMarcelino Llano2010-11-12 00:31:37 +0100
committerAdam Vandenberg2011-03-21 21:40:53 -0700
commitcfbb8897e1e253b2092303901e5754c23afc074f (patch)
tree86ee00606f3af48bf0ae23cb56068a311697e8a5 /Library
parentbb779ddc65eb9053385c17bbc7af822294142668 (diff)
downloadhomebrew-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.rb19
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