aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/lout.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/lout.rb b/Library/Formula/lout.rb
new file mode 100644
index 000000000..4a29a4c72
--- /dev/null
+++ b/Library/Formula/lout.rb
@@ -0,0 +1,20 @@
+require 'formula'
+
+class Lout <Formula
+ url 'ftp://ftp.cs.usyd.edu.au/jeff/lout/lout-3.38.tar.gz'
+ homepage 'http://sourceforge.net/apps/mediawiki/lout/index.php'
+ md5 '388ed456cfcb493ca706677688ec5dde'
+
+ def install
+ inreplace "makefile" do |s|
+ s.change_make_var! "PREFIX", prefix
+ s.change_make_var! "LOUTLIBDIR", lib
+ s.change_make_var! "LOUTDOCDIR", doc
+ s.change_make_var! "MANDIR", man
+ end
+ bin.mkpath
+ man.mkpath
+ (doc + 'lout').mkpath
+ system "make allinstall"
+ end
+end