diff options
| author | Andrea Francia | 2012-03-30 19:44:04 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2012-04-01 10:06:12 -0700 |
| commit | 12291dff279f82ef4d5972afb455d55163b9f99a (patch) | |
| tree | 55d5bfbdda3409d6722f4eb6afddb88ad9e962f6 /Library/Formula | |
| parent | fc3424f57c8ed00354ad9d9f95dc00e80918d351 (diff) | |
| download | homebrew-12291dff279f82ef4d5972afb455d55163b9f99a.tar.bz2 | |
ndiff 2.00
Closes #11324.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ndiff.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/ndiff.rb b/Library/Formula/ndiff.rb new file mode 100644 index 000000000..8ccfc3079 --- /dev/null +++ b/Library/Formula/ndiff.rb @@ -0,0 +1,22 @@ +require 'formula' + +class Ndiff < Formula + homepage 'http://www.math.utah.edu/~beebe/software/ndiff/' + url 'ftp://ftp.math.utah.edu/pub/misc/ndiff-2.00.tar.gz' + md5 '885548b4dc26e72c5455bebb5ba6c16d' + + def install + ENV.j1 + # Install manually as the `install` make target is crufty + system "./configure", "--prefix=.", "--mandir=." + mkpath 'bin' + mkpath 'man/man1' + system "make install" + bin.install "bin/ndiff" + man1.install "man/man1/ndiff.1" + end + + def test + system "#{bin}/ndiff --help" + end +end |
