aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2009-11-16 17:46:47 -0800
committerAdam Vandenberg2009-11-16 17:47:31 -0800
commit8dc71d790b76826ec7bd2ae8cb6d095e41263671 (patch)
tree99992fa932156981abe5f82f3377aeca2356ed00 /Library/Formula
parent58fe698eb325327ea0e94ace253070f2ed1b919f (diff)
downloadhomebrew-8dc71d790b76826ec7bd2ae8cb6d095e41263671.tar.bz2
In honor of Go, added formula for Algol 68 Genie.
See: http://www.cowlark.com/2009-11-15-go/
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/algol68g.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/algol68g.rb b/Library/Formula/algol68g.rb
new file mode 100644
index 000000000..ddb24b187
--- /dev/null
+++ b/Library/Formula/algol68g.rb
@@ -0,0 +1,21 @@
+require 'formula'
+
+# See: http://www.cowlark.com/2009-11-15-go/
+class Algol68g <Formula
+ url 'http://www.xs4all.nl/~jmvdveer/algol68g-1.18.0.bz2'
+ homepage 'http://www.xs4all.nl/~jmvdveer/algol.html'
+ md5 '949b7eb0c49c327d36f0c7d13e7c8be4'
+
+ def install
+ # These folders need to exist for configure to work. Lame.
+ bin.mkpath
+
+ system "./configure",
+ "-O3", "--threads", "--bindir=#{bin}", "--cc=#{ENV.cc}"
+
+ # Don't make the docs, they appear to be missing.
+ inreplace 'makefile', '@install -m 644 doc/man1/a68g.1 $(man_dir)', ''
+ system "make"
+ system "make install"
+ end
+end