c4d9c2a99c
a2ps: migrate patches argp-standalone: migrate patch autotrace: migrate patches avidemux: reference secure link bibtex2html: migrate patches bsdmake: migrate patches cctools: migrate patches cdparanoia: migrate patches cdrdao: reference secure links center-im: migrate patch clisp: migrate patch clucene: migrate patches cvs: migrate to sha256 daemon: migrate patch dvdrtools: migrate patches exim: style nits exim: migrate option ghostscript: migrate patch glib: migrate patch gpsd: migrate patch graphviz: migrate patch gtkglext: migrate patches gupnp: migrate patch hping: migrate patches id3lib: migrate patches jigdo: migrate patch jove: migrate patch ld64: migrate patches libcanberra: migrate patch libgcrypt: migrate patch libinfinity: migrate patch liblinear: migrate patch libmms: migrate patch libnet: migrate patch lsdvd: migrate patches
31 lines
1.1 KiB
Ruby
31 lines
1.1 KiB
Ruby
class Jove < Formula
|
|
desc "Emacs-style editor with vi-like memory, CPU, and size requirements"
|
|
homepage "https://directory.fsf.org/wiki/Jove"
|
|
url "http://ftp.cs.toronto.edu/cs/ftp/pub/hugh/jove-dev/jove4.16.0.73.tgz"
|
|
mirror "ftp://ftp.cs.toronto.edu/cs/ftp/pub/hugh/jove-dev/jove4.16.0.73.tgz"
|
|
sha256 "9c9e202607f5972c382098d10b63c815ac01e578f432626c982e6aa65000c630"
|
|
|
|
bottle do
|
|
sha256 "c083761f33516e9d18718b6f78f6468b9aa72c0c80bb625987c60c05cc4f1895" => :el_capitan
|
|
sha256 "4e741042364faa5ef07f7957d9e811c204561ecad03ebbcd98f82761211ec78c" => :yosemite
|
|
sha256 "260e22d1b9cabcc9b8cacd415d8e5cf840c6970e302a2840cb4076f3583a591d" => :mavericks
|
|
end
|
|
|
|
# Per MacPorts, avoid clash with libc getline
|
|
patch :p0 do
|
|
url "https://raw.githubusercontent.com/Homebrew/patches/3cada68f/jove/patch-getline.diff"
|
|
sha256 "96e557370d6e8924cc73bda8dbe65e54f4cc902785ffcf0056d8925bb4e77bf6"
|
|
end
|
|
|
|
def install
|
|
bin.mkpath
|
|
man1.mkpath
|
|
(lib/"jove").mkpath
|
|
|
|
system "make", "install", "JOVEHOME=#{prefix}", "MANDIR=#{man1}"
|
|
end
|
|
|
|
test do
|
|
assert_match /There's nothing to recover./, shell_output("#{lib}/jove/recover")
|
|
end
|
|
end
|