Added formula for poster
Poster is a unix program that allows one to scale postscript images to a larger size, and print them on larger media and/or tile them to print on multiple sheets. http://schrfr.github.com/poster/ Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
2515b81f01
commit
08762e32df
1 changed files with 20 additions and 0 deletions
20
Formula/poster.rb
Normal file
20
Formula/poster.rb
Normal file
|
@ -0,0 +1,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
|
Loading…
Reference in a new issue