From cf6f5b03b914dc2a16b0bd1a28eb5e8dfd2e4d36 Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Sat, 31 Jan 2015 10:12:52 +0100 Subject: help2man 1.46.5 Closes #36408. Signed-off-by: Jack Nagel --- Library/Formula/help2man.rb | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3