aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDavid Höppner2010-03-29 18:16:25 +0200
committerDavid Höppner2010-03-29 18:16:25 +0200
commit81b4601cef4b30f83cdd8758c82a9389b06ba5ba (patch)
treebc5723a78bf2ba57a225e8c36aa048ec10c51e90 /Library
parentaa41466aca006f07631e98b33a9c2ae1812dc86b (diff)
downloadhomebrew-81b4601cef4b30f83cdd8758c82a9389b06ba5ba.tar.bz2
New formula wdiff
The program wdiff is a front end to diff for comparing files on a word per word basis. A word is anything between whitespace. This is useful for comparing two texts in which a few words have been changed and for which paragraphs have been refilled.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/wdiff.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/wdiff.rb b/Library/Formula/wdiff.rb
new file mode 100644
index 000000000..c1f1dd61c
--- /dev/null
+++ b/Library/Formula/wdiff.rb
@@ -0,0 +1,12 @@
+require 'formula'
+
+class Wdiff <Formula
+ url 'http://ftp.gnu.org/gnu/wdiff/wdiff-0.6.0.tar.gz'
+ homepage 'http://www.gnu.org/software/wdiff/'
+ md5 '8788b9bf7d5700237508bf3aec8a9493'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "make install"
+ end
+end