homebrew-core/Formula/wtf.rb
Chongyu Zhu 1dd4a2baac
wtf 20181119
Closes #34365.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2018-11-21 23:42:57 +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-20181119.tar.gz"
sha256 "f699a3dac4d537ef4cba6cb0fefe784db002ec9f26357e66f740b7ef63e1e94a"
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