homebrew-core/Formula/wtf.rb
2017-06-29 03:10:56 -07:00

19 lines
524 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-20170614.tar.gz"
sha256 "9311760d5126867f17eca0ff2191c464cfdf1d1995a4bf6d26117e49ca867cda"
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]
end
test do
system bin/"wtf", "needle"
end
end