aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/vim.rb
diff options
context:
space:
mode:
authorJack Nagel2014-10-26 22:30:29 -0500
committerJack Nagel2014-10-26 22:30:29 -0500
commit04604e9739e623a2712f2a9eb5f9ab3b19123fa7 (patch)
tree1e0035cd13b1fd1b7bd67606efb8a96accfad6ee /Library/Formula/vim.rb
parentf3ab3fa1a1ab39c5cce8c25c58e8d2d91ce79227 (diff)
downloadhomebrew-04604e9739e623a2712f2a9eb5f9ab3b19123fa7.tar.bz2
vim 7.4.488
Diffstat (limited to 'Library/Formula/vim.rb')
-rw-r--r--Library/Formula/vim.rb33
1 files changed, 16 insertions, 17 deletions
diff --git a/Library/Formula/vim.rb b/Library/Formula/vim.rb
index a9a05e1f6..0103db3da 100644
--- a/Library/Formula/vim.rb
+++ b/Library/Formula/vim.rb
@@ -1,12 +1,11 @@
-require 'formula'
+require "formula"
class Vim < Formula
- homepage 'http://www.vim.org/'
- head 'https://vim.googlecode.com/hg/'
+ homepage "http://www.vim.org/"
+ head "https://vim.googlecode.com/hg/"
# This package tracks debian-unstable: http://packages.debian.org/unstable/vim
- url 'http://ftp.debian.org/debian/pool/main/v/vim/vim_7.4.430.orig.tar.gz'
- sha1 '63f558c3cf7461d16f1c587000ad2311500e6372'
- revision 1
+ url "http://ftp.debian.org/debian/pool/main/v/vim/vim_7.4.488.orig.tar.gz"
+ sha1 "6edad8cf9a08acb6a6e415b89bb13ccbd887d7c3"
# We only have special support for finding depends_on :python, but not yet for
# :ruby, :perl etc., so we use the standard environment that leaves the
@@ -30,18 +29,18 @@ class Vim < Formula
depends_on :python => :recommended
depends_on :python3 => :optional
- depends_on 'lua' => :optional
- depends_on 'luajit' => :optional
- depends_on 'gtk+' if build.with? 'client-server'
+ depends_on "lua" => :optional
+ depends_on "luajit" => :optional
+ depends_on "gtk+" if build.with? "client-server"
- conflicts_with 'ex-vi',
- :because => 'vim and ex-vi both install bin/ex and bin/view'
+ conflicts_with "ex-vi",
+ :because => "vim and ex-vi both install bin/ex and bin/view"
def install
- ENV['LUA_PREFIX'] = HOMEBREW_PREFIX if build.with?('lua')
+ ENV["LUA_PREFIX"] = HOMEBREW_PREFIX if build.with?("lua")
- # vim doesn't require any Python package, unset PYTHONPATH.
- ENV.delete('PYTHONPATH')
+ # vim doesn"t require any Python package, unset PYTHONPATH.
+ ENV.delete("PYTHONPATH")
opts = []
opts += LANGUAGES_OPTIONAL.map do |language|
@@ -59,14 +58,14 @@ class Vim < Formula
opts << "--disable-nls" if build.include? "disable-nls"
- if build.with? 'client-server'
- opts << '--enable-gui=gtk2'
+ if build.with? "client-server"
+ opts << "--enable-gui=gtk2"
else
opts << "--enable-gui=no"
opts << "--without-x"
end
- opts << "--with-luajit" if build.with? 'luajit'
+ opts << "--with-luajit" if build.with? "luajit"
# XXX: Please do not submit a pull request that hardcodes the path
# to ruby: vim can be compiled against 1.8.x or 1.9.3-p385 and up.