homebrew-core/Formula/lout.rb

21 lines
533 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Lout < Formula
homepage 'http://sourceforge.net/apps/mediawiki/lout/index.php'
2013-01-29 05:09:05 +00:00
url 'ftp://ftp.cs.usyd.edu.au/jeff/lout/lout-3.38.tar.gz'
sha1 '2c4aec500dc27a00298f8265b9249d74d97e5466'
def install
inreplace "makefile" do |s|
s.change_make_var! "PREFIX", prefix
s.change_make_var! "LOUTLIBDIR", lib
s.change_make_var! "LOUTDOCDIR", doc
2010-03-03 18:46:33 +00:00
s.change_make_var! "MANDIR", man1
end
bin.mkpath
2010-03-03 18:46:33 +00:00
man1.mkpath
2013-01-29 05:09:05 +00:00
(doc/'lout').mkpath
system "make allinstall"
end
end