homebrew-core/Formula/wtf.rb

15 lines
405 B
Ruby

require "formula"
class Wtf < Formula
homepage "http://cvsweb.netbsd.org/bsdweb.cgi/src/games/wtf/"
url "https://downloads.sourceforge.net/project/bsdwtf/wtf-20140820.tar.gz"
sha1 "eda9a91125039518fb0fd28d4bff6cd4e45de1f4"
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
end