aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/wtf.rb
blob: 9ef63a001c43b52798d14ca510e055261787c9c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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