homebrew-core/Formula/wtf.rb
Chongyu Zhu 9972d79162
wtf 20190612
Closes #40948.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2019-06-13 20:59:17 +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-20190612.tar.gz"
sha256 "5a77b59c10422d616f92163dda1ca1245e0a3bf4c10ca6a793fd77a55a3716ce"
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