homebrew-core/Formula/redo.rb
Jack Nagel a6f7204c55 Remove redundant version numbers
Max's fix for the libnet version detection in 14d7d03 also fixed several
others.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-14 00:28:08 -06:00

22 lines
542 B
Ruby

require 'formula'
class RedoDocs < Formula
head 'https://github.com/apenwarr/redo.git', {:using => :git, :branch => 'man' }
version 'foo'
end
class Redo < Formula
url "https://github.com/apenwarr/redo/zipball/redo-0.10"
homepage 'https://github.com/apenwarr/redo'
md5 '69b31b105db347968ee9486342fb6c1d'
def install
ENV['PREFIX'] = prefix
system "./redo install"
rm share/:doc/:redo/'README.md' # lets not have two copies
RedoDocs.new('redodocs').brew do |formula|
man1.install Dir['*']
end
end
end