homebrew-core/Formula/xml2rfc.rb

23 lines
515 B
Ruby
Raw Normal View History

require 'formula'
class Xml2rfc <Formula
url 'http://xml.resource.org/authoring/xml2rfc-1.35.tgz'
homepage 'http://xml.resource.org/'
2010-07-09 19:37:42 +00:00
md5 '7ffb973fee55318b1bd0fd77a903d2e6'
2010-07-09 19:37:42 +00:00
head 'http://svn.tools.ietf.org/svn/tools/xml2rfc/trunk',
:using => StrictSubversionDownloadStrategy
def install
%w[xml2rfc xml2sgml].each do |f|
2010-04-16 22:11:30 +00:00
bin.install f+'.tcl' => f
end
2010-04-16 22:11:30 +00:00
%w[xml2txt xml2html xml2nroff].each do |f|
2010-04-16 22:11:30 +00:00
ln_s "#{bin}/xml2rfc", "#{bin}/#{f}"
end
doc.install Dir["*"]
end
end