2011-01-16 12:46:22 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class RedoDocs < Formula
|
2011-02-13 12:24:12 +00:00
|
|
|
head 'https://github.com/apenwarr/redo.git', {:using => :git, :branch => 'man' }
|
|
|
|
version 'foo'
|
|
|
|
end
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Redo < Formula
|
2011-02-21 19:02:44 +00:00
|
|
|
version '0.06'
|
2011-01-16 12:46:22 +00:00
|
|
|
url "https://github.com/apenwarr/redo/zipball/redo-#{version}"
|
|
|
|
homepage 'https://github.com/apenwarr/redo'
|
2011-10-03 12:13:44 +00:00
|
|
|
md5 '28c32ca00bb4d884e0d87c89808771a6'
|
2011-01-16 12:46:22 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
ENV['PREFIX'] = prefix
|
|
|
|
system "./redo install"
|
2011-02-13 12:24:12 +00:00
|
|
|
rm share/:doc/:redo/'README.md' # lets not have two copies
|
|
|
|
|
|
|
|
RedoDocs.new('redodocs').brew do |formula|
|
|
|
|
man1.install Dir['*']
|
|
|
|
end
|
2011-01-16 12:46:22 +00:00
|
|
|
end
|
|
|
|
end
|