diff options
Diffstat (limited to 'Library/Formula/macvim.rb')
| -rw-r--r-- | Library/Formula/macvim.rb | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/Library/Formula/macvim.rb b/Library/Formula/macvim.rb index 4c6a732fe..5303e0e25 100644 --- a/Library/Formula/macvim.rb +++ b/Library/Formula/macvim.rb @@ -50,9 +50,17 @@ 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" + if ARGV.include? "--with-envycoder" + # Font download location has changed. + # This is fixed in MacVim trunk, but not in the stable tarball. + inreplace "src/MacVim/icons/Makefile", + "http://download.damieng.com/latest/EnvyCodeR", + "http://download.damieng.com/fonts/original/EnvyCodeR-PR7.zip" + else + # Remove the font from the build dependencies + 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" |
