homebrew-core/Formula/wtf.rb
Chongyu Zhu 42d18d52d6
wtf 20190604
Closes #40767.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2019-06-06 17:21:32 -07: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-20190604.tar.gz"
sha256 "ed9137fb779424fb6f2a37ecc43e613a2f212f2a059ccb795f44c895594b0f21"
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