homebrew-core/Formula/multimarkdown.rb

24 lines
673 B
Ruby
Raw Normal View History

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