2014-01-04 01:57:41 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class ExVi < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "UTF8-friendly version of tradition vi"
|
2014-01-04 01:57:41 +00:00
|
|
|
homepage 'http://ex-vi.sourceforge.net/'
|
2014-03-02 11:00:02 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/ex-vi/ex-vi/050325/ex-050325.tar.bz2'
|
2014-01-04 01:57:41 +00:00
|
|
|
sha1 '573501d15fa4be59f136641957c7f893e86bac82'
|
|
|
|
|
2014-01-05 17:39:07 +00:00
|
|
|
conflicts_with 'vim',
|
|
|
|
:because => 'ex-vi and vim both install bin/ex and bin/view'
|
|
|
|
|
2014-01-04 01:57:41 +00:00
|
|
|
def install
|
|
|
|
system "make", "install", "INSTALL=/usr/bin/install",
|
|
|
|
"PREFIX=#{prefix}",
|
|
|
|
"PRESERVEDIR=/var/tmp/vi.recover",
|
|
|
|
"TERMLIB=ncurses"
|
|
|
|
end
|
|
|
|
end
|