2011-05-24 23:03:14 +00:00
|
|
|
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'
|
2012-06-06 08:46:19 +00:00
|
|
|
|
2013-11-10 06:43:35 +00:00
|
|
|
conflicts_with 'mtools', :because => 'both install `mmd` binaries'
|
2011-05-24 23:03:14 +00:00
|
|
|
|
|
|
|
def install
|
2013-07-23 16:41:43 +00:00
|
|
|
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'
|
2012-05-31 14:28:37 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
Support files have been installed to:
|
2013-11-10 06:45:20 +00:00
|
|
|
#{opt_prefix}/Support
|
2012-05-31 14:28:37 +00:00
|
|
|
EOS
|
2011-05-24 23:03:14 +00:00
|
|
|
end
|
|
|
|
end
|