58416bb4a7
Closes Homebrew/homebrew#21407. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
24 lines
614 B
Ruby
24 lines
614 B
Ruby
require 'formula'
|
|
|
|
class Multimarkdown < Formula
|
|
homepage 'http://fletcherpenney.net/multimarkdown/'
|
|
|
|
# Use the tag instead of the tarball to get submodules
|
|
url 'https://github.com/fletcher/MultiMarkdown-4.git', :tag => '4.2'
|
|
|
|
head 'https://github.com/fletcher/MultiMarkdown-4.git', :branch => 'master'
|
|
|
|
def install
|
|
ENV.append 'CFLAGS', '-g -O3 -include GLibFacade.h'
|
|
system "make"
|
|
bin.install 'multimarkdown'
|
|
bin.install Dir['scripts/*']
|
|
prefix.install 'Support'
|
|
end
|
|
|
|
def caveats; <<-EOS.undent
|
|
Support files have been installed to:
|
|
#{prefix}/Support
|
|
EOS
|
|
end
|
|
end
|