2010-09-20 09:43:45 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Blahtexml < Formula
|
2010-09-20 09:43:45 +00:00
|
|
|
homepage 'http://gva.noekeon.org/blahtexml/'
|
2012-02-13 05:40:53 +00:00
|
|
|
url 'http://gva.noekeon.org/blahtexml/blahtexml-0.9-src.tar.gz'
|
2011-11-21 08:49:02 +00:00
|
|
|
md5 'ed790599223c2f8f6d205be8988882de'
|
2010-09-20 09:43:45 +00:00
|
|
|
|
2011-11-21 09:23:54 +00:00
|
|
|
depends_on 'xerces-c' unless ARGV.include? '--blahtex-only'
|
|
|
|
|
|
|
|
def options
|
|
|
|
[['--blahtex-only', "Build only blahtex, not blahtexml"]]
|
|
|
|
end
|
|
|
|
|
2010-09-20 09:43:45 +00:00
|
|
|
|
|
|
|
def install
|
2011-11-21 09:23:54 +00:00
|
|
|
system "make blahtex-mac"
|
|
|
|
bin.install 'blahtex'
|
|
|
|
unless ARGV.include? '--blahtex-only'
|
|
|
|
system "make blahtexml-mac"
|
|
|
|
bin.install 'blahtexml'
|
|
|
|
end
|
2010-09-20 09:43:45 +00:00
|
|
|
end
|
|
|
|
end
|