diff options
| author | Adam Vandenberg | 2011-03-13 12:27:31 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-13 12:34:47 -0700 |
| commit | 68c5b3e33146f241c1c35f8e61e9eefd1faeaed8 (patch) | |
| tree | bcf3de8f8b4e540efbcfd61eaf8b3d0aad390320 | |
| parent | c55b9a798c4cb786c017b75682974c63718b460a (diff) | |
| download | homebrew-68c5b3e33146f241c1c35f8e61e9eefd1faeaed8.tar.bz2 | |
macvim - fix font url
| -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" |
