aef1665664
Since both install `bin/ex` and `bin/view`, they should conflict. This should fix Homebrew/homebrew#25657. Ideally, this is a temporary fix. I would like to find out if it's possible to have `ex-vi` install `bin/ex` and `bin/view` with a prefix (à la GNU's `coreutils`). If so, it would be possible to have it all. Closes Homebrew/homebrew#25663. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
17 lines
552 B
Ruby
17 lines
552 B
Ruby
require 'formula'
|
|
|
|
class ExVi < Formula
|
|
homepage 'http://ex-vi.sourceforge.net/'
|
|
url 'http://sourceforge.net/projects/ex-vi/files/ex-vi/050325/ex-050325.tar.bz2'
|
|
sha1 '573501d15fa4be59f136641957c7f893e86bac82'
|
|
|
|
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
|