aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/macvim.rb
diff options
context:
space:
mode:
authorMichael Shapiro2010-12-29 16:03:13 -0500
committerMike McQuaid2010-12-30 16:30:55 +0000
commit6f65661bf68349e603292d97474f41e92694837b (patch)
treec2d55e6729e5f24b642da813ed7294577c1cf8e8 /Library/Formula/macvim.rb
parentfff7e1ca18ac36c0b746496ffae6a173a62c7933 (diff)
downloadhomebrew-6f65661bf68349e603292d97474f41e92694837b.tar.bz2
MacVim: Remove the Envy Code R font build step, since the site is apparently down often.
Closes #3736. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/macvim.rb')
-rw-r--r--Library/Formula/macvim.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb
index eb01e9da5..21b5d11bb 100644
--- a/Library/Formula/macvim.rb
+++ b/Library/Formula/macvim.rb
@@ -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"