Update spim

This commit is contained in:
Adam Vandenberg 2010-02-15 14:38:55 -08:00
parent f9e60e7cdf
commit 4469465933

View file

@ -11,9 +11,9 @@ class Spim <Formula
Dir.chdir 'spim'
inreplace "Makefile" do |s|
s.change_make_var! "BIN_DIR", "#{prefix}/bin"
s.change_make_var! "EXCEPTION_DIR", "#{prefix}/lib"
s.change_make_var! "MAN_DIR", "#{prefix}/share/man/man1"
s.change_make_var! "BIN_DIR", "#{bin}"
s.change_make_var! "EXCEPTION_DIR", "#{libexec}"
s.change_make_var! "MAN_DIR", "#{man1}"
end
system "make"
@ -21,8 +21,6 @@ class Spim <Formula
system "make install-man"
system "make test"
Dir.chdir "#{prefix}/share/man/man1"
mv 'spim.man', 'spim.1'
mv "#{man1}/spim.man", "#{man1}/spim.1"
end
end