class Vip < Formula desc "Program that provides for interactive editing in a pipeline" homepage "https://www.cs.duke.edu/~des/vip.html" url "https://www.cs.duke.edu/~des/scripts/vip" version "19971113" sha256 "171278e8bd43abdbd3a4c35addda27a0d3c74fc784dbe60e4783d317ac249d11" bottle do cellar :any_skip_relocation sha256 "d49d0ecf58de93d03369024f165aae99210c2b72cffe4aadff7a2299236d7420" => :catalina sha256 "da936f8d9a839a1235962c772ae957563c13f089d5953df7c1ba64b694cb0687" => :mojave sha256 "5622623485848fc1e4238404c3491f056f4220c6a80fbe9342ec89cd34b15bcb" => :high_sierra sha256 "12eec6f5294a94f2fb09c54f218470aab2fb7bad58570e8a82c789d8ba5e9639" => :sierra sha256 "1bf2041f43bcea1e8c503119a9b34f8849b751da767ec5b5094fd5fa8fe5f297" => :el_capitan sha256 "8e60ec9a240192f872f5d730ca93c9bc9e73d4644e685173554ff786b634ef7c" => :yosemite sha256 "96ae6a94171da559b1762970dc99b1c458ccd68c061d40248879d16bb6df8511" => :mavericks end resource "man" do url "https://www.cs.duke.edu/~des/scripts/vip.man" sha256 "37b2753f7c7b39c81f97b10ea3f8e2dd5ea92ea8d130144fa99ed54306565f6f" end # use awk and /var/tmp as temporary directory patch do url "https://raw.githubusercontent.com/Homebrew/formula-patches/85fa66a9/vip/19971113.patch" sha256 "96879c8d778f21b21aa27eb138424a82ffa8e8192b8cf15b2c4a5794908ef790" end def install bin.install "vip" resource("man").stage do man1.install "vip.man" => "vip.1" end end end