homebrew-core/Formula/wtf.rb
Rui Chen 9238cf3769 wtf 20191214
Closes #47909.

Signed-off-by: Rui Chen <chenrui333@gmail.com>
2019-12-15 13:47:22 -05: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-20191214.tar.gz"
sha256 "84588ba3b006a867f774f68578eeab7d275c65894e37a630d676fb250c78f9e1"
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