MacVim: Remove the Envy Code R font build step, since the site is apparently down often.

Closes Homebrew/homebrew#3736.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
master
Michael Shapiro 2010-12-29 16:03:13 -05:00 committed by Mike McQuaid
parent ebe8f5fe8a
commit 6e79c97819
1 changed files with 7 additions and 1 deletions

View File

@ -11,7 +11,8 @@ class Macvim <Formula
[
# Building custom icons fails for many users, so off by default.
["--custom-icons", "Try to generate custom document icons."],
["--with-cscope", "Build with Cscope support."]
["--with-cscope", "Build with Cscope support."],
["--with-envycoder", "Build with Envy Code R Bold font."]
]
end
@ -48,6 +49,11 @@ class Macvim <Formula
inreplace "src/MacVim/icons/make_icons.py", "dont_create = False", "dont_create = True"
end
unless ARGV.include? "--with-envycoder"
inreplace "src/MacVim/icons/Makefile", '$(OUTDIR)/MacVim-generic.icns: make_icons.py vim-noshadow-512.png loadfont.so Envy\ Code\ R\ Bold.ttf',
"$(OUTDIR)/MacVim-generic.icns: make_icons.py vim-noshadow-512.png loadfont.so"
end
system "make"
prefix.install "src/MacVim/build/Release/MacVim.app"