blob: e03cf55ddfa8f848019c1be9b51191038f7000cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
require 'formula'
class Poster < Formula
url 'https://github.com/schrfr/poster/tarball/1.0.0'
homepage 'http://schrfr.github.com/poster/'
md5 'c76de471156c65b8182de0e6f5c8f1b5'
def install
inreplace "Makefile", "/usr/local/bin", bin
inreplace "Makefile", "/usr/local/man/man1", man1
bin.mkpath
man1.mkpath
system "make install"
end
def test
return `which poster`.strip != ""
end
end
|