homebrew-core/Formula/wtf.rb
ilovezfs 877f48f83d
wtf 20171101
Closes #20838.

Signed-off-by: William Woodruff <william@tuffbizz.com>
2017-11-18 18:27:30 -05:00

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-20171101.tar.gz"
sha256 "e9cc19bb8cda61bdcd663292c03df3b963efc912b5c5b4ec39430e5598768807"
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