diff options
| author | Adam Vandenberg | 2013-08-06 20:21:02 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-09-11 22:05:36 -0700 |
| commit | 4d7222edaed73cc0006ca6b155d14c3d87c37776 (patch) | |
| tree | 7ac198b6f6183f05059ec7f5062fb435b01a586a /Library/Formula | |
| parent | 12401137408d652a874d65597e6c336c3bfbfdd0 (diff) | |
| download | homebrew-4d7222edaed73cc0006ca6b155d14c3d87c37776.tar.bz2 | |
vip: use resources
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/vip.rb | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Library/Formula/vip.rb b/Library/Formula/vip.rb index 1c107bc1b..e60209233 100644 --- a/Library/Formula/vip.rb +++ b/Library/Formula/vip.rb @@ -1,23 +1,24 @@ require 'formula' -class VipMan < Formula - url 'http://www.cs.duke.edu/~des/scripts/vip.man' - sha1 'd52ce874d594ca2c82538200706bffdf1313fdc1' - version '19970805' -end - class Vip < Formula homepage 'http://www.cs.duke.edu/~des/vip.html' url 'http://www.cs.duke.edu/~des/scripts/vip' version '19971113' sha1 '0b2794b5ac2792af5fcf1d97f9aae04798eac049' + resource 'man' do + url 'http://www.cs.duke.edu/~des/scripts/vip.man' + sha1 'd52ce874d594ca2c82538200706bffdf1313fdc1' + end + # use awk and /var/tmp as temporary directory def patches; DATA; end def install bin.install 'vip' - VipMan.new.brew { man1.install 'vip.man' => 'vip.1' } + resource('man').stage do + man1.install 'vip.man' => 'vip.1' + end end end |
