homebrew-core/Formula/tmux.rb
Kyle Fuller 99f5324884 tmux - remove unneeded inreplace
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-09 21:25:34 -08:00

21 lines
435 B
Ruby

require 'formula'
class Tmux <Formula
url 'http://downloads.sourceforge.net/tmux/tmux-1.4.tar.gz'
md5 '0bfc7dd9a5bab192406167589c716a21'
homepage 'http://tmux.sourceforge.net'
depends_on 'libevent'
def install
ENV['PREFIX'] = prefix
system "./configure"
inreplace "GNUmakefile" do |s|
# Put docs in the right place
s.gsub! "man/man1", "share/man/man1"
end
system "make install"
end
end