homebrew-core/Formula/podiff.rb
Viktor Szakats 100f6b1465 podiff: use secure homepage
Closes #3289.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-07-25 09:04:06 -07:00

38 lines
1.1 KiB
Ruby

class Podiff < Formula
desc "Compare textual information in two PO files"
homepage "https://puszcza.gnu.org.ua/software/podiff/"
url "http://download.gnu.org.ua/pub/release/podiff/podiff-1.1.tar.gz"
sha256 "a97480109c26837ffa868ff629a32205622a44d8b89c83b398fb17352b5be6ff"
bottle do
cellar :any_skip_relocation
sha256 "24f385afff1c9074d995cd1374c005e8770a80ef11b06058f6024eee67a9de69" => :el_capitan
sha256 "21cc248bf36ce685061e234f57c6fc5cbe0d207b201e7a8e485ee7b71d3d21c6" => :yosemite
sha256 "c3a3b66344303ad473d8c6808eb9e2a2124bb0a801536870b739beba4de3d5ae" => :mavericks
end
def install
system "make"
bin.install "podiff"
man1.install "podiff.1"
end
def caveats; <<-EOS.undent
To use with git, add this to your .git/config or global git config file:
[diff "podiff"]
command = #{HOMEBREW_PREFIX}/bin/podiff -D-u
Then add the following line to the .gitattributes file in
the directory with your PO files:
*.po diff=podiff
See `man podiff` for more information.
EOS
end
test do
system "#{bin}/podiff", "-v"
end
end