2009-11-12 21:14:59 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Par < Formula
|
|
|
|
homepage 'http://www.nicemice.net/par/'
|
2013-01-29 05:01:15 +00:00
|
|
|
url 'http://www.nicemice.net/par/Par152.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '4b83d2ec593bb45ee46d4b7c2bfc590e1f4a41a8'
|
2009-11-12 21:14:59 +00:00
|
|
|
|
2011-09-10 19:53:32 +00:00
|
|
|
def patches
|
|
|
|
# A patch by Jérôme Pouiller that adds support for multibyte
|
|
|
|
# charsets (like UTF-8), plus Debian packaging.
|
|
|
|
"http://www.nicemice.net/par/par_1.52-i18n.3.diff.gz"
|
|
|
|
end
|
|
|
|
|
2009-11-12 21:14:59 +00:00
|
|
|
def install
|
|
|
|
system "make -f protoMakefile"
|
2011-04-30 11:06:49 +00:00
|
|
|
bin.install "par"
|
|
|
|
man1.install gzip("par.1")
|
2009-11-12 21:14:59 +00:00
|
|
|
end
|
|
|
|
end
|