homebrew-core/Formula/multimarkdown.rb
Tim Visher 740393551b multimarkdown 4.5
Closes Homebrew/homebrew#25850.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-12 21:00:50 +00:00

23 lines
671 B
Ruby

require 'formula'
class Multimarkdown < Formula
homepage 'http://fletcherpenney.net/multimarkdown/'
head 'https://github.com/fletcher/MultiMarkdown-4.git', :branch => 'master'
# Use git tag instead of the tarball to get submodules
url 'https://github.com/fletcher/MultiMarkdown-4.git', :tag => '4.5'
conflicts_with 'mtools', :because => 'both install `mmd` binaries'
def install
ENV.append 'CFLAGS', '-g -O3 -include GLibFacade.h'
system "make"
bin.install 'multimarkdown', Dir['scripts/*']
prefix.install 'Support'
end
def caveats; <<-EOS.undent
Support files have been installed to:
#{opt_prefix}/Support
EOS
end
end