aboutsummaryrefslogtreecommitdiff
path: root/print/deforaos-pdfviewer/files
diff options
context:
space:
mode:
authorOlivier Cochard <olivier@FreeBSD.org>2017-01-13 17:30:23 +0000
committerOlivier Cochard <olivier@FreeBSD.org>2017-01-13 17:30:23 +0000
commit47d7f8526d4c8abd43d5d88e887c328f6dde55d9 (patch)
tree0bb903dded29c5a9827597c7ae638bd897575fbe /print/deforaos-pdfviewer/files
parent9468432a48314313f7585654ac6db575a0b6648a (diff)
downloadports-47d7f8526d4c8abd43d5d88e887c328f6dde55d9.tar.gz
ports-47d7f8526d4c8abd43d5d88e887c328f6dde55d9.zip
Update to 0.0.2
Notes
Notes: svn path=/head/; revision=431403
Diffstat (limited to 'print/deforaos-pdfviewer/files')
-rw-r--r--print/deforaos-pdfviewer/files/patch-doc_Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/print/deforaos-pdfviewer/files/patch-doc_Makefile b/print/deforaos-pdfviewer/files/patch-doc_Makefile
new file mode 100644
index 000000000000..ed1ad9cea75f
--- /dev/null
+++ b/print/deforaos-pdfviewer/files/patch-doc_Makefile
@@ -0,0 +1,27 @@
+--- doc/Makefile.orig 2017-01-13 17:04:41 UTC
++++ doc/Makefile
+@@ -1,4 +1,4 @@
+-TARGETS = $(OBJDIR)pdfviewer.1 $(OBJDIR)pdfviewer.html $(OBJDIR)pdfviewer.xml
++TARGETS = $(OBJDIR)pdfviewer.1 $(OBJDIR)pdfviewer.xml
+ OBJDIR =
+ PREFIX = /usr/local
+ DESTDIR =
+@@ -22,7 +22,6 @@ $(OBJDIR)pdfviewer.xml: pdfviewer.xml.in
+ clean:
+ $(RM) -- $(pdfviewer.1_OBJS) $(pdfviewer.html_OBJS) $(pdfviewer.xml_OBJS)
+ ./docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)pdfviewer.1"
+- ./docbook.sh -c -P "$(PREFIX)" -- "$(OBJDIR)pdfviewer.html"
+ ../tools/subst.sh -c -P "$(PREFIX)" -- "$(OBJDIR)pdfviewer.xml"
+
+ distclean: clean
+@@ -30,10 +29,8 @@ distclean: clean
+
+ install: $(TARGETS)
+ ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)pdfviewer.1"
+- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)pdfviewer.html"
+
+ uninstall:
+ ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "pdfviewer.1"
+- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "pdfviewer.html"
+
+ .PHONY: all clean distclean install uninstall