aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mupdf/destdir.patch
diff options
context:
space:
mode:
authorMichael Zhou <zhoumichaely@gmail.com>2011-08-05 02:27:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-08-05 08:18:06 +0000
commit2fc867023b49de8a6cd76440eb5d9cc33dcaf9a7 (patch)
tree105cc578d5f605e3d5927de34736b445e2d5659a /testing/mupdf/destdir.patch
parent87830e5f7dc6f1de3c984be12c3e1a4e1b6112fd (diff)
downloadaports-2fc867023b49de8a6cd76440eb5d9cc33dcaf9a7.tar.bz2
aports-2fc867023b49de8a6cd76440eb5d9cc33dcaf9a7.tar.xz
testing/mupdf: new port
Diffstat (limited to 'testing/mupdf/destdir.patch')
-rw-r--r--testing/mupdf/destdir.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/mupdf/destdir.patch b/testing/mupdf/destdir.patch
new file mode 100644
index 0000000000..58c863b6be
--- /dev/null
+++ b/testing/mupdf/destdir.patch
@@ -0,0 +1,19 @@
+--- a/Makefile
++++ b/Makefile
+@@ -144,11 +144,11 @@
+ mandir ?= $(prefix)/share/man
+
+ install: $(MUXPS_LIB) $(MUPDF_LIB) $(FITZ_LIB) $(APPS)
+- install -d $(bindir) $(libdir) $(incdir) $(mandir)/man1
+- install $(MUXPS_LIB) $(MUPDF_LIB) $(FITZ_LIB) $(libdir)
+- install fitz/fitz.h pdf/mupdf.h xps/muxps.h $(incdir)
+- install $(PDF_APPS) $(XPS_APPS) $(MUPDF) $(bindir)
+- install $(wildcard apps/man/*.1) $(mandir)/man1
++ install -d $(DESTDIR)/$(bindir) $(DESTDIR)/$(libdir) $(DESTDIR)/$(incdir) $(DESTDIR)/$(mandir)/man1
++ install $(MUXPS_LIB) $(MUPDF_LIB) $(FITZ_LIB) $(DESTDIR)/$(libdir)
++ install fitz/fitz.h pdf/mupdf.h xps/muxps.h $(DESTDIR)/$(incdir)
++ install $(PDF_APPS) $(XPS_APPS) $(MUPDF) $(DESTDIR)/$(bindir)
++ install $(wildcard apps/man/*.1) $(DESTDIR)/$(mandir)/man1
+
+ # --- Clean and Default ---
+