aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorRyan Davis2012-04-30 16:57:35 -0700
committerMisty De Meo2012-04-30 19:17:06 -0500
commit58189c873419aa84f0de2ccdb51a2a7150da00a5 (patch)
treef1c32bf719b588df9942fe51daa3f174903fbacf /Library/Formula
parent7b708081189f280ebdb9515dfd40fb179d9f8478 (diff)
downloadhomebrew-58189c873419aa84f0de2ccdb51a2a7150da00a5.tar.bz2
New Formula: dwatch
Closes #11975. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/dwatch.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/dwatch.rb b/Library/Formula/dwatch.rb
new file mode 100644
index 000000000..6856832a4
--- /dev/null
+++ b/Library/Formula/dwatch.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Dwatch < Formula
+ homepage 'http://siag.nu/dwatch/'
+ url 'http://siag.nu/pub/dwatch/dwatch-0.1.1.tar.gz'
+ md5 '25c06240cb5ab8126badc8a78dcd2b79'
+
+ def install
+ bin.mkpath # Makefile uses cp, not install
+ man1.mkpath # ditto
+
+ system "make install CC=#{ENV.cc} PREFIX=#{prefix} MANDIR=#{man} ETCDIR=#{etc}"
+ etc.install "dwatch.conf"
+ end
+
+ def test
+ system "dwatch -h" # not that it HAS -h. bitches, but exits 0
+ end
+end