diff options
| author | Eric Schrijver | 2012-01-19 21:24:59 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2012-01-19 21:24:59 +0000 |
| commit | 6c41f56e85a91b6100f3768bdd528ff037145d56 (patch) | |
| tree | 092607da82936643db95e489b18105ad3fd61333 /Library | |
| parent | c514e168a33da467122a0ad00aaad74afb835a93 (diff) | |
| download | homebrew-6c41f56e85a91b6100f3768bdd528ff037145d56.tar.bz2 | |
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>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/poster.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/poster.rb b/Library/Formula/poster.rb new file mode 100644 index 000000000..e03cf55dd --- /dev/null +++ b/Library/Formula/poster.rb @@ -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 |
