summaryrefslogtreecommitdiff
path: root/sysutils/screen-legacy/files/patch-doc_Makefile.in
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2014-04-30 04:16:24 +0000
committerCy Schubert <cy@FreeBSD.org>2014-04-30 04:16:24 +0000
commit0d968e414cf268a76174fe0ece60523f2cc77606 (patch)
tree6c79c46b3e2f9e9866097c7e2c427f219e890c68 /sysutils/screen-legacy/files/patch-doc_Makefile.in
parentUpdate to 6.0.3 (diff)
Prepare for screen 4.2.1. Screen 4.0.3 becomes screen-legacy.
Notes
Notes: svn path=/head/; revision=352668
Diffstat (limited to 'sysutils/screen-legacy/files/patch-doc_Makefile.in')
-rw-r--r--sysutils/screen-legacy/files/patch-doc_Makefile.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/sysutils/screen-legacy/files/patch-doc_Makefile.in b/sysutils/screen-legacy/files/patch-doc_Makefile.in
new file mode 100644
index 000000000000..a20134f212fc
--- /dev/null
+++ b/sysutils/screen-legacy/files/patch-doc_Makefile.in
@@ -0,0 +1,34 @@
+--- doc/Makefile.in.orig 2007-10-29 13:08:52.000000000 -0700
++++ doc/Makefile.in 2007-10-29 13:11:09.000000000 -0700
+@@ -30,7 +30,10 @@
+ $(MAKEINFO) --no-split $(srcdir)/screen.texinfo -o screen.info
+
+ install: installdirs
++.if defined(WITH_MAN)
+ $(INSTALL_DATA) $(srcdir)/screen.1 $(DESTDIR)$(mandir)/man1/screen.1
++.endif
++.if defined(WITH_INFO)
+ -$(MAKE) screen.info
+ -if test -f screen.info; then d=.; else d=$(srcdir); fi; \
+ if test -f $$d/screen.info; then \
+@@ -39,13 +42,19 @@
+ install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/screen.info; \
+ else true; fi; \
+ fi
++.endif
+
+ uninstall:
+ rm -f $(DESTDIR)$(mandir)/man1/screen.1
+ rm -f $(DESTDIR)$(infodir)/screen.info*
+
+ installdirs:
+- $(srcdir)/../etc/mkinstalldirs $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(infodir)
++.if defined(WITH_MAN)
++ $(srcdir)/../etc/mkinstalldirs $(DESTDIR)$(mandir)/man1
++.endif
++.if defined(WITH_INFO)
++ $(srcdir)/../etc/mkinstalldirs $(DESTDIR)$(infodir)
++.endif
+
+ mostlyclean:
+ -rm -f *.cp *.cps *.fn *.fns *.ky *.kys *.pg *.tp *.vr