Poster: style tweaks

Just install files manually instead of hacking the Makefile.
Remove the test.
This commit is contained in:
Adam Vandenberg 2012-03-03 15:59:37 -08:00
parent 560ec8ea92
commit 9de4e091f3

View file

@ -1,20 +1,13 @@
require 'formula'
class Poster < Formula
url 'https://github.com/schrfr/poster/tarball/1.0.0'
homepage 'http://schrfr.github.com/poster/'
url 'https://github.com/schrfr/poster/tarball/1.0.0'
md5 'c76de471156c65b8182de0e6f5c8f1b5'
def install
inreplace "Makefile", "/usr/local/bin", bin
inreplace "Makefile", "/usr/local/man/man1", man1
bin.mkpath
man1.mkpath
system "make install"
system "make"
bin.install 'poster'
man1.install 'poster.1'
end
def test
return `which poster`.strip != ""
end
end