aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mupdf.rb
diff options
context:
space:
mode:
authorYohann Bianchi2013-07-04 22:36:59 +0200
committerAdam Vandenberg2013-07-19 10:48:01 -0700
commit687495c6ec7dc6b727b757cf194171d2bc0b41d6 (patch)
treed4f3281de629385063d0dcb093d2f1e5eb4806f6 /Library/Formula/mupdf.rb
parent1fa52169510784b5d40162e35632591470cc4a34 (diff)
downloadhomebrew-687495c6ec7dc6b727b757cf194171d2bc0b41d6.tar.bz2
mupdf: also install mutool
Closes #21015. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/mupdf.rb')
-rw-r--r--Library/Formula/mupdf.rb16
1 files changed, 15 insertions, 1 deletions
diff --git a/Library/Formula/mupdf.rb b/Library/Formula/mupdf.rb
index 7c8940c71..02bfe8e61 100644
--- a/Library/Formula/mupdf.rb
+++ b/Library/Formula/mupdf.rb
@@ -12,8 +12,9 @@ class Mupdf < Formula
depends_on 'jbig2dec'
depends_on :x11 # libpng, freetype and the X11 libs
+ # Fix up the Makefile so it doesn't mess with our CFLAGS.
+ # Install mutool (fixed in HEAD)
def patches
- # Fix up the Makefile so it doesn't mess with our CFLAGS.
DATA
end
@@ -32,6 +33,19 @@ __END__
Remove some Makefile rules that Homebrew takes care of through CFLAGS and
LDFLAGS. MuPDF doesn't look at CPPFLAGS, so we piggyback it onto CFLAGS.
+diff --git a/Makefile b/Makefile
+index 0371def..02dfdfe 100644
+--- a/Makefile
++++ b/Makefile
+@@ -212,7 +212,7 @@ install: $(FITZ_LIB) $(MUVIEW) $(MUDRAW) $(MUTOOL)
+ install -d $(DESTDIR)$(bindir) $(DESTDIR)$(libdir) $(DESTDIR)$(incdir) $(DESTDIR)$(mandir)/man1
+ install $(FITZ_LIB) $(DESTDIR)$(libdir)
+ install fitz/memento.h fitz/fitz.h pdf/mupdf.h xps/muxps.h cbz/mucbz.h $(DESTDIR)$(incdir)
+- install $(MUVIEW) $(MUDRAW) $(MUBUSY) $(DESTDIR)$(bindir)
++ install $(MUVIEW) $(MUDRAW) $(MUBUSY) $(MUTOOL) $(DESTDIR)$(bindir)
+ install $(wildcard apps/man/*.1) $(DESTDIR)$(mandir)/man1
+
+ # --- Clean and Default ---
diff --git a/Makerules b/Makerules
index 3e036f6..c9ddc69 100644
--- a/Makerules