homebrew-core/Formula/man2html.rb
Baptiste Fontaine ccf26205c8 man2html: URL fixed, test added
Closes Homebrew/homebrew#38626.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-13 15:37:36 -07:00

17 lines
517 B
Ruby

class Man2html < Formula
homepage "http://dcssrv1.oit.uci.edu/indiv/ehood/man2html.html"
url "http://dcssrv1.oit.uci.edu/indiv/ehood/tar/man2html3.0.1.tar.gz"
sha256 "a3dd7fdd80785c14c2f5fa54a59bf93ca5f86f026612f68770a0507a3d4e5a29"
def install
bin.mkpath
man1.mkpath
system "/usr/bin/perl", "install.me", "-batch",
"-binpath", bin,
"-manpath", man
end
test do
pipe_output("#{bin}/man2html", (man1/"man2html.1").read, 0)
end
end