homebrew-core/Formula/ex-vi.rb
2016-04-09 22:53:33 +08:00

22 lines
905 B
Ruby

class ExVi < Formula
desc "UTF8-friendly version of tradition vi"
homepage "http://ex-vi.sourceforge.net/"
url "https://downloads.sourceforge.net/project/ex-vi/ex-vi/050325/ex-050325.tar.bz2"
sha256 "da4be7cf67e94572463b19e56850aa36dc4e39eb0d933d3688fe8574bb632409"
bottle do
sha256 "e3f68edff7a526463ae6a217b9292c2a6025489df848372abe777da141be14ef" => :el_capitan
sha256 "6e3195cd61b05a482e13162a5559ca90d65b1805b8559c006ffc960b56cbe935" => :yosemite
sha256 "e0ff9cadf9bc20d222ebc0fceada33db977a5b044346e7930e8349a46e8e6915" => :mavericks
end
conflicts_with "vim",
:because => "ex-vi and vim both install bin/ex and bin/view"
def install
system "make", "install", "INSTALL=/usr/bin/install",
"PREFIX=#{prefix}",
"PRESERVEDIR=/var/tmp/vi.recover",
"TERMLIB=ncurses"
end
end