diff options
| author | Damien Pollet | 2013-03-16 14:40:12 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2013-03-16 09:00:15 -0700 |
| commit | 855b0d79e60ebf2f13d560bfc03aec69386962ac (patch) | |
| tree | 5306af42fce8d71e697a36ed5f274e677a5af786 /Library | |
| parent | 729563ab8a8b5c707ee9868da932e31ebb3f740f (diff) | |
| download | homebrew-855b0d79e60ebf2f13d560bfc03aec69386962ac.tar.bz2 | |
shocco: patch configure to pass markdown path
Closes #18516.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/shocco.rb | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/Library/Formula/shocco.rb b/Library/Formula/shocco.rb index dedfb175e..9b59314cf 100644 --- a/Library/Formula/shocco.rb +++ b/Library/Formula/shocco.rb @@ -32,11 +32,18 @@ class Shocco < Formula depends_on MarkdownProvider + def patches + DATA + end + def install Pygments.new.brew { libexec.install 'pygmentize','pygments' } # Brew along with Pygments - system "./configure", "PYGMENTIZE=#{libexec}/pygmentize", "--prefix=#{prefix}" + system "./configure", + "PYGMENTIZE=#{libexec}/pygmentize", + "MARKDOWN=#{HOMEBREW_PREFIX}/bin/markdown", + "--prefix=#{prefix}" # Shocco's Makefile does not combine the make and make install steps. system "make" @@ -51,3 +58,17 @@ class Shocco < Formula EOS end end + +__END__ +diff --git a/configure b/configure +index 2262477..bf0af62 100755 +--- a/configure ++++ b/configure +@@ -193,7 +193,7 @@ else stdutil xdg-open XDG_OPEN xdg-open + fi + + stdutil ronn RONN ronn +-stdutil markdown MARKDOWN markdown Markdown.pl ++stdutil markdown MARKDOWN markdown Markdown.pl $MARKDOWN + stdutil perl PERL perl + stdutil pygmentize PYGMENTIZE pygmentize $PYGMENTIZE |
