aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAlexis Hildebrandt2010-02-18 22:57:48 +0100
committerDavid Höppner2010-03-03 19:29:38 +0100
commit61626563a64a74fe77ae78d207bd2c92246f9999 (patch)
treec2018cb284195d68cc55346c0bd39f3e23cd3289 /Library/Formula
parent8388c651f3bd1598c761646f4963848ec6f7b081 (diff)
downloadhomebrew-61626563a64a74fe77ae78d207bd2c92246f9999.tar.bz2
Lout 3.38
A high-level language for document formatting. It includes facilities for typesetting complex documents containing floating figures, tables, diagrams, rotated and scaled text or graphics, footnotes, running headers, footers, an index, table of contents and bibliography, cross-references, mathematical equations and statistical graphs. Lout's capabilities can be extended with definitions which are easier to write than similar markup languages. Signed-off-by: David Höppner <0xffea@gmail.com>
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