aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDevin Weaver2010-07-08 12:59:22 -0400
committerAdam Vandenberg2010-07-10 09:47:18 -0700
commit5825cb3460826bb029fa0d440837114481f9b977 (patch)
treed39af7af74d78193541607ab5f4cc8d7721da5e2 /Library/Formula
parentbc2d426c8888c248e8ec7eb36cb1ceb6d2b13e09 (diff)
downloadhomebrew-5825cb3460826bb029fa0d440837114481f9b977.tar.bz2
New Formula: wtf
The wtf utility displays the expansion of the acronyms specified on the command line. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/wtf.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/wtf.rb b/Library/Formula/wtf.rb
new file mode 100644
index 000000000..841796c2a
--- /dev/null
+++ b/Library/Formula/wtf.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Wtf <Formula
+ url 'http://mirror.aarnet.edu.au/pub/FreeBSD/ports/distfiles/wtf-20080926.tar.gz'
+ homepage 'http://cvsweb.netbsd.org/bsdweb.cgi/src/games/wtf/'
+ md5 '5f3ad46d90a71d30ecf281dbd58e9d20'
+
+ def install
+ inreplace %w[wtf wtf.6], "/usr/share", share
+ bin.install "wtf"
+ (man+"man6").install "wtf.6"
+ (share+"misc").install %w[acronyms acronyms.comp]
+ end
+end