mpage 2.5.6 (new formula)

Closes #4896.

Signed-off-by: Zhiming Wang <zmwangx@gmail.com>
This commit is contained in:
Tej Chajed 2016-09-16 10:14:32 -04:00 committed by Zhiming Wang
parent f930c1f683
commit 9b72166216

20
Formula/mpage.rb Normal file
View file

@ -0,0 +1,20 @@
class Mpage < Formula
desc "Many to one page printing utility"
homepage "http://www.mesa.nl/pub/mpage/README"
url "http://www.mesa.nl/pub/mpage/mpage-2.5.6.tgz"
sha256 "4fe66dfc27f7c4bfbca60ef617f968aa2e6ee877e8921aa968c16a03aa4edc04"
def install
args = %W[
MANDIR=#{man1}
PREFIX=#{prefix}
]
system "make", *args
system "make", "install", *args
end
test do
(testpath/"input.txt").write("Input text")
system bin/"mpage", "input.txt"
end
end