aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/xml2rfc.rb
blob: 25a0d3bf5b9478d033d9a324cb544ce017aa723e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'formula'

class Xml2rfc <Formula
  url 'http://xml.resource.org/authoring/xml2rfc-1.35.tgz'
  homepage 'http://xml.resource.org/'
  md5 '7ffb973fee55318b1bd0fd77a903d2e6'

  head 'http://svn.tools.ietf.org/svn/tools/xml2rfc/trunk',
    :using => StrictSubversionDownloadStrategy

  def install
    %w[xml2rfc xml2sgml].each do |f|
      bin.install f+'.tcl' => f
    end

    %w[xml2txt xml2html xml2nroff].each do |f|
      ln_s "#{bin}/xml2rfc", "#{bin}/#{f}"
    end

    doc.install Dir["*"]
  end
end