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

class Blahtexml < Formula
  homepage 'http://gva.noekeon.org/blahtexml/'
  url 'http://gva.noekeon.org/blahtexml/blahtexml-0.9-src.tar.gz'
  md5 'ed790599223c2f8f6d205be8988882de'

  option 'blahtex-only', "Build only blahtex, not blahtexml"

  depends_on 'xerces-c' unless build.include? 'blahtex-only'

  def install
    system "make blahtex-mac"
    bin.install 'blahtex'
    unless build.include? 'blahtex-only'
      system "make blahtexml-mac"
      bin.install 'blahtexml'
    end
  end
end