homebrew-core/Formula/wtf.rb
Rui Chen ab9b0e7f66 wtf 20191020
Closes #45635.

Signed-off-by: Caleb Xu <calebcenter@live.com>
2019-10-21 19:33:35 -04:00

20 lines
575 B
Ruby

class Wtf < Formula
desc "Translate common Internet acronyms"
homepage "https://sourceforge.net/projects/bsdwtf/"
url "https://downloads.sourceforge.net/project/bsdwtf/wtf-20191020.tar.gz"
sha256 "c03788e14f2ac3511dc016bce9d710d0be1fb6f38368e59f23e69825347dd302"
bottle :unneeded
def install
inreplace %w[wtf wtf.6], "/usr/share", share
bin.install "wtf"
man6.install "wtf.6"
(share+"misc").install %w[acronyms acronyms.comp]
(share+"misc").install "acronyms-o.real" => "acronyms-o"
end
test do
system bin/"wtf", "needle"
end
end