MacVim: use sha1 and %W[]

master
Adam Vandenberg 2012-07-09 12:40:39 -07:00
parent 101ae74f7d
commit b399b9460d
1 changed files with 12 additions and 10 deletions

View File

@ -4,7 +4,7 @@ class Macvim < Formula
homepage 'http://code.google.com/p/macvim/'
url 'https://github.com/b4winckler/macvim/tarball/snapshot-64'
version '7.3-64'
md5 '5bdc0bc618b3179130f846f8d0f81283'
sha1 'c8bf2d758f52a1173112138fefbf4e5ab08015ff'
head 'https://github.com/b4winckler/macvim.git', :branch => 'master'
@ -33,15 +33,17 @@ class Macvim < Formula
arch = MacOS.prefer_64_bit? ? 'x86_64' : 'i386'
ENV['ARCHFLAGS'] = "-arch #{arch}"
args = ["--with-features=huge",
"--with-tlib=ncurses",
"--enable-multibyte",
"--with-macarchs=#{arch}",
"--enable-perlinterp",
"--enable-pythoninterp",
"--enable-rubyinterp",
"--enable-tclinterp",
"--with-ruby-command=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby"]
args = %W[
--with-features=huge
--with-tlib=ncurses
--enable-multibyte
--with-macarchs=#{arch}
--enable-perlinterp
--enable-pythoninterp
--enable-rubyinterp
--enable-tclinterp
--with-ruby-command=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
]
args << "--enable-cscope" if ARGV.include? "--with-cscope"