diff --git a/Formula/libutf.rb b/Formula/libutf.rb index 76a884df31..7947684a52 100644 --- a/Formula/libutf.rb +++ b/Formula/libutf.rb @@ -1,13 +1,16 @@ require 'formula' class Libutf < Formula - url 'http://swtch.com/plan9port/unix/libutf.tgz' - version '1.0' homepage 'http://swtch.com/plan9port/unix/' + url 'http://swtch.com/plan9port/unix/libutf-20110530.tgz' sha256 '7789326c507fe9c07ade0731e0b0da221385a8f7cd1faa890af92a78a953bf5e' def install - inreplace 'Makefile', 'man/man7', 'share/man/man7' + # Make.Darwin-386 is the only Makefile they have + inreplace 'Makefile' do |f| + f.gsub! 'man/man7', 'share/man/man7' + f.gsub! 'Make.$(SYSNAME)-$(OBJTYPE)', 'Make.Darwin-386' + end system "make", "PREFIX=#{prefix}", "install" end end