aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorGavin Stark2014-05-10 13:27:11 -0400
committerAdam Vandenberg2014-05-11 15:28:05 -0700
commit20cdf983369190c5848ee5f3cfcafce4b87c7533 (patch)
tree8ef23315174d39a4c6227340308a36e4b07493a1 /Library/Formula
parent83dcfa586797c92265bd7e4dcfadac289319fc68 (diff)
downloadhomebrew-20cdf983369190c5848ee5f3cfcafce4b87c7533.tar.bz2
jove 4.16.0.73
Jove is a compact, powerful, Emacs-style text-editor. Closes #29115. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/jove.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/jove.rb b/Library/Formula/jove.rb
new file mode 100644
index 000000000..d97acc1d7
--- /dev/null
+++ b/Library/Formula/jove.rb
@@ -0,0 +1,21 @@
+require "formula"
+
+class Jove < Formula
+ homepage "http://directory.fsf.org/wiki/Jove"
+ url "ftp://ftp.cs.toronto.edu/cs/ftp/pub/hugh/jove-dev/jove4.16.0.73.tgz"
+ sha1 "fca6f33465b08eed5b90e24cfb67e61bc5249dcf"
+
+ def install
+ inreplace %w{insert.c io.c io.h recover.c util.h}, "getline", "jove_getline"
+
+ bin.mkpath
+ man1.mkpath
+ (lib/"jove").mkpath
+
+ system "make", "install", "JOVEHOME=#{prefix}", "MANDIR=#{man1}"
+ end
+
+ test do
+ assert_match /There's nothing to recover./, %x{#{lib}/jove/recover}
+ end
+end