ndiff 2.00

Closes Homebrew/homebrew#11324.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Andrea Francia 2012-03-30 19:44:04 +02:00 committed by Adam Vandenberg
parent 22a763d423
commit 3438be8671
1 changed files with 22 additions and 0 deletions

22
Formula/ndiff.rb Normal file
View File

@ -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