aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/proctools.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-06 22:58:35 -0700
committerAdam Vandenberg2010-08-07 18:08:53 -0700
commitd0efd9ee94a55e243f3b10e903526274fc21d569 (patch)
treeb21984390a0292957a3819df57c62bac558d284d /Library/Formula/proctools.rb
parentcdf768bc328f01e64e9f74551ff4b40d5cf0da70 (diff)
downloadhomebrew-d0efd9ee94a55e243f3b10e903526274fc21d569.tar.bz2
Update formulae for version 0.7
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
Diffstat (limited to 'Library/Formula/proctools.rb')
-rw-r--r--Library/Formula/proctools.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/proctools.rb b/Library/Formula/proctools.rb
index f4c1167aa..0158b51a4 100644
--- a/Library/Formula/proctools.rb
+++ b/Library/Formula/proctools.rb
@@ -1,10 +1,10 @@
require 'formula'
class Proctools <Formula
- @version='0.4pre1'
- @url='http://downloads.sourceforge.net/project/proctools/proctools/0.4pre1/proctools-0.4pre1.tar.gz'
- @homepage='http://proctools.sourceforge.net/'
- @md5='714e4350749c680a7806635632d524b1'
+ url 'http://downloads.sourceforge.net/project/proctools/proctools/0.4pre1/proctools-0.4pre1.tar.gz'
+ homepage 'http://proctools.sourceforge.net/'
+ version '0.4pre1'
+ md5 '714e4350749c680a7806635632d524b1'
def patches
base = "http://svn.macports.org/repository/macports/trunk/dports/sysutils/proctools/files"
@@ -18,10 +18,10 @@ class Proctools <Formula
].map { |file_name| "#{base}/#{file_name}" }
}
end
-
+
def install
system "/usr/bin/bsdmake"
-
+
["pgrep/pgrep", "pkill/pkill", "pfind/pfind"].each do |prog|
bin.install prog
man1.install prog + ".1"