homebrew-core/Formula/wtf.rb
Chongyu Zhu dec64879e8
wtf 20190114
Closes #36150.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2019-01-18 19:27:34 +08: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-20190114.tar.gz"
sha256 "66a8320b12a4e15fa8e45592612803157adfefc102e085f5e8139eaab61e8dd3"
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