aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-11-09 22:43:35 -0800
committerAdam Vandenberg2013-11-09 22:43:35 -0800
commit5560aff3366ddc112b01a5a5bedd623fb172d93c (patch)
treeb0fae6505b0ff65e2acb81d65e95385a33ff47cd /Library/Formula
parent6cd92edc906f0da036e52a28d554405e99724ae5 (diff)
downloadhomebrew-5560aff3366ddc112b01a5a5bedd623fb172d93c.tar.bz2
mtools/multimarkdown conflict
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mtools.rb2
-rw-r--r--Library/Formula/multimarkdown.rb9
2 files changed, 6 insertions, 5 deletions
diff --git a/Library/Formula/mtools.rb b/Library/Formula/mtools.rb
index bcec17002..3bcdeefd4 100644
--- a/Library/Formula/mtools.rb
+++ b/Library/Formula/mtools.rb
@@ -6,6 +6,8 @@ class Mtools < Formula
mirror 'http://ftp.gnu.org/gnu/mtools/mtools-4.0.17.tar.gz'
sha1 'eebfab51148c4ab20a6aca3cea8057da5a11bdc8'
+ conflicts_with 'multimarkdown', :because => 'both install `mmd` binaries'
+
depends_on :x11 => :optional
def install
diff --git a/Library/Formula/multimarkdown.rb b/Library/Formula/multimarkdown.rb
index af9bc9070..af9bdcc22 100644
--- a/Library/Formula/multimarkdown.rb
+++ b/Library/Formula/multimarkdown.rb
@@ -2,17 +2,16 @@ require 'formula'
class Multimarkdown < Formula
homepage 'http://fletcherpenney.net/multimarkdown/'
-
- # Use the tag instead of the tarball to get submodules
+ 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.3.1'
- head 'https://github.com/fletcher/MultiMarkdown-4.git', :branch => 'master'
+ conflicts_with 'mtools', :because => 'both install `mmd` binaries'
def install
ENV.append 'CFLAGS', '-g -O3 -include GLibFacade.h'
system "make"
- bin.install 'multimarkdown'
- bin.install Dir['scripts/*']
+ bin.install 'multimarkdown', Dir['scripts/*']
prefix.install 'Support'
end