mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 21:49:49 -05:00
Add --no-icons option to MacVim
This commit is contained in:
1 parent
e763208f5b
commit
203ac37ce5
1 file changed
+10
@@ -4,6 +4,10 @@ class Macvim <Formula
|
||||
head 'git://repo.or.cz/MacVim.git'
|
||||
homepage 'http://code.google.com/p/macvim'
|
||||
|
||||
def options
|
||||
[["--no-icons", "Does not generate custom document icons."]]
|
||||
end
|
||||
|
||||
def install
|
||||
# MacVim's Xcode project gets confused by $CC
|
||||
# Disable it until someone figures out why it fails.
|
||||
@@ -20,6 +24,12 @@ class Macvim <Formula
|
||||
"--enable-pythoninterp",
|
||||
"--enable-rubyinterp",
|
||||
"--enable-tclinterp"
|
||||
|
||||
if ARGV.include? "--no-icons"
|
||||
inreplace "src/MacVim/icons/Makefile", "$(MAKE) -C makeicns", ""
|
||||
inreplace "src/MacVim/icons/make_icons.py", "dont_create = False", "dont_create = True"
|
||||
end
|
||||
|
||||
system "make"
|
||||
|
||||
prefix.install "src/MacVim/build/Release/MacVim.app"
|
||||
|
||||
Reference in new issue
Block a user