73369cade6
Closes #31228. Signed-off-by: Chongyu Zhu <i@lembacon.com>
20 lines
585 B
Ruby
20 lines
585 B
Ruby
class Wtf < Formula
|
|
desc "Translate common Internet acronyms"
|
|
homepage "http://cvsweb.netbsd.org/bsdweb.cgi/src/games/wtf/"
|
|
url "https://downloads.sourceforge.net/project/bsdwtf/wtf-20180816.tar.gz"
|
|
sha256 "f3c2aa795a388aee5b9cbaa8f0c4636c1f49b29eeb463fef1de68194cea13e39"
|
|
|
|
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
|