diff options
| author | Baptiste Fontaine | 2015-01-31 10:12:52 +0100 | 
|---|---|---|
| committer | Jack Nagel | 2015-01-31 17:06:47 -0500 | 
| commit | cf6f5b03b914dc2a16b0bd1a28eb5e8dfd2e4d36 (patch) | |
| tree | 291eb4fedc30135ae148b23ac3787a7058d2baf5 | |
| parent | bac944b0c9758c39396c7b1e29a112bba325ea6c (diff) | |
| download | homebrew-cf6f5b03b914dc2a16b0bd1a28eb5e8dfd2e4d36.tar.bz2 | |
help2man 1.46.5
Closes #36408.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/help2man.rb | 17 | 
1 files changed, 10 insertions, 7 deletions
| diff --git a/Library/Formula/help2man.rb b/Library/Formula/help2man.rb index 88cbbdff5..1382d0507 100644 --- a/Library/Formula/help2man.rb +++ b/Library/Formula/help2man.rb @@ -1,10 +1,8 @@ -require "formula" -  class Help2man < Formula -  homepage "http://www.gnu.org/software/help2man/" -  url "http://ftpmirror.gnu.org/help2man/help2man-1.46.4.tar.xz" -  mirror "http://ftp.gnu.org/gnu/help2man/help2man-1.46.4.tar.xz" -  sha256 "1ae7f15f53b0cc55b070ae49df2ee5caa942c71529054e157599427bba3c5633" +  homepage "https://www.gnu.org/software/help2man/" +  url "http://ftpmirror.gnu.org/help2man/help2man-1.46.5.tar.xz" +  mirror "https://ftp.gnu.org/gnu/help2man/help2man-1.46.5.tar.xz" +  sha256 "0ada23867183c5e779e06e6441801c5c74ff77af258e2f1bb5fce181fbc30ebf"    bottle do      cellar :any @@ -19,6 +17,11 @@ class Help2man < Formula      ENV.j1      system "./configure", "--prefix=#{prefix}" -    system "make install" +    system "make", "install" +  end + +  test do +    cmd = "#{bin}/help2man #{bin}/help2man" +    assert_match(/"help2man #{version}"/, shell_output(cmd))    end  end | 
