blob: 49b40413fde0a6fcd45b7f7176e0be7e062772c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
require 'formula'
class Txt2man < Formula
homepage 'http://mvertes.free.fr/'
url 'http://mvertes.free.fr/download/txt2man-1.5.6.tar.gz'
sha1 'ef1392785333ea88f7e01f4f4c519ecfbdd498bd'
depends_on 'gawk'
def install
man1.install %W[bookman.1 src2man.1 txt2man.1]
bin.install %W[bookman src2man txt2man]
end
test do
system "#{bin}/txt2man", "-h"
system "#{bin}/src2man", "-h"
system "#{bin}/bookman", "-h"
end
end
|