From 4b0765d11183104ebcb9b4e20f9251ea30b64083 Mon Sep 17 00:00:00 2001 From: Jonathan Terhorst Date: Thu, 7 Apr 2016 09:37:43 -0700 Subject: [PATCH] vis 0.2 --- Formula/vis.rb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Formula/vis.rb diff --git a/Formula/vis.rb b/Formula/vis.rb new file mode 100644 index 0000000000..dfad18e05c --- /dev/null +++ b/Formula/vis.rb @@ -0,0 +1,23 @@ +class Vis < Formula + desc "Vim-like text editor" + homepage "https://github.com/martanne/vis" + url "https://github.com/martanne/vis/archive/v0.2.tar.gz" + sha256 "3e5b81d760849c56ee378421e9ba0f653c641bf78e7594f71d85357be99a752d" + + head "https://github.com/martanne/vis.git" + + depends_on "lua" => :recommended + depends_on "libtermkey" + + def install + system "./configure", "--disable-debug", + "--disable-dependency-tracking", + "--disable-silent-rules", + "--prefix=#{prefix}" + system "make", "install" + end + + test do + `vis -v 2>&1` + end +end