require 'formula' class Texapp < Formula homepage 'http://www.floodgap.com/software/texapp/' url 'http://www.floodgap.com/software/texapp/dist0/0.6.06.txt' sha1 '5dbf1caf40bd70bc1ed121601c384bf9823ee1e4' def install bin.install "#{version}.txt" => "texapp" end def caveats; <<-EOS.undent To take full advantage of readline features you must install readline: brew install readline and the Perl Module Term::ReadLine::TTYtter cpan -i Term::ReadLine::TTYtter Or if you have cpanminus: cpanm Term::ReadLine::TTYtter EOS end end