pdftohtml/poppler conflict

This commit is contained in:
Adam Vandenberg 2013-11-12 20:50:13 -08:00
parent 3f92b5807c
commit ca002bf16e
2 changed files with 4 additions and 0 deletions

View file

@ -5,6 +5,8 @@ class Pdftohtml < Formula
url 'http://downloads.sourceforge.net/project/pdftohtml/Experimental%20Versions/pdftohtml%200.40/pdftohtml-0.40a.tar.gz'
sha1 '409572da65cf5234d026a5b199a81a26e75ca4d8'
conflicts_with 'poppler', :beacuse => 'both install `pdftohtml` binaries'
def install
system "make"
bin.install "src/pdftohtml"

View file

@ -18,6 +18,8 @@ class Poppler < Formula
depends_on 'glib' => :optional
depends_on 'cairo' if build.with? 'glib' # Needs a newer Cairo build than OS X 10.6.7 provides
conflicts_with 'pdftohtml', :beacuse => 'both install `pdftohtml` binaries'
conflicts_with 'pdf2image', 'xpdf',
:because => 'poppler, pdf2image, and xpdf install conflicting executables'