aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2010-07-09 12:37:42 -0700
committerAdam Vandenberg2010-07-09 12:47:57 -0700
commit661da19e55400e5f5420d43f589e9c14e0730f69 (patch)
tree73e5bbde4e077fe8b2a6ab98fc7ade5529f9730b /Library/Formula
parenta286ae958d1cc1f6c375b2e2965f80867eb9ee99 (diff)
downloadhomebrew-661da19e55400e5f5420d43f589e9c14e0730f69.tar.bz2
Clean up xml2rfc formula.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xml2rfc.rb15
1 files changed, 3 insertions, 12 deletions
diff --git a/Library/Formula/xml2rfc.rb b/Library/Formula/xml2rfc.rb
index 1f40c1b4f..25a0d3bf5 100644
--- a/Library/Formula/xml2rfc.rb
+++ b/Library/Formula/xml2rfc.rb
@@ -2,20 +2,11 @@ require 'formula'
class Xml2rfc <Formula
url 'http://xml.resource.org/authoring/xml2rfc-1.35.tgz'
- md5 '7ffb973fee55318b1bd0fd77a903d2e6'
- head 'https://svn.tools.ietf.org/svn/tools/xml2rfc/trunk'
homepage 'http://xml.resource.org/'
+ md5 '7ffb973fee55318b1bd0fd77a903d2e6'
- # http://github.com/mxcl/homebrew/issues/#issue/87
- depends_on :subversion if MACOS_VERSION < 10.6 and ARGV.include? '--HEAD'
-
- def download_strategy
- if ARGV.include? '--HEAD'
- SubversionDownloadStrategy
- else
- CurlDownloadStrategy
- end
- end
+ head 'http://svn.tools.ietf.org/svn/tools/xml2rfc/trunk',
+ :using => StrictSubversionDownloadStrategy
def install
%w[xml2rfc xml2sgml].each do |f|