Clean up xml2rfc formula.
This commit is contained in:
parent
7572451cbc
commit
3000656319
1 changed files with 3 additions and 12 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue