1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/mail/mew/files/patch-ac
2001-08-17 12:10:05 +00:00

53 lines
1.4 KiB
Plaintext

--- info/Makefile~ Wed Oct 27 08:55:12 1999
+++ info/Makefile Tue Jul 10 01:25:05 2001
@@ -33,6 +33,7 @@
INFO = mew.info mew.info-1 mew.info-2 mew.info-3
JINFO = mew.jis.info mew.jis.info-1 mew.jis.info-2
+MANUALS= 00readme mew.texi
info::
sed -e 's/@setfilename mew.jis.info/@setfilename mew.info/' \
@@ -57,22 +58,32 @@
$(MKDIR) $(INFODIR); \
fi; \
cp $(INFO) $(INFODIR)
- -@if [ -x "$(INSTALLINFO)" ]; then \
- $(INSTALLINFO) mew.info $(INFODIR)/dir; \
- else \
- echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
+ ${BSD_INSTALL_DATA} $(INFO) $(INFODIR)
+ -@if [ -z "${XEMACS_VER_OVER20}" ]; then \
+ if [ -x "$(INSTALLINFO)" ]; then \
+ $(INSTALLINFO) mew.info $(INFODIR)/dir; \
+ else \
+ echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
+ fi; \
fi
install-jinfo:
-@if [ ! -d $(INFODIR) ]; then \
$(MKDIR) $(INFODIR); \
fi; \
- cp $(JINFO) $(INFODIR)
- -@if [ -x "$(INSTALLINFO)" ]; then \
- $(INSTALLINFO) mew.jis.info $(INFODIR)/dir; \
- else \
- echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
+ ${BSD_INSTALL_DATA} $(JINFO) $(INFODIR)
+ -@if [ -z "${XEMACS_VER_OVER20}" ]; then \
+ if [ -x "$(INSTALLINFO)" ]; then \
+ $(INSTALLINFO) mew.jis.info $(INFODIR)/dir; \
+ else \
+ echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
+ fi; \
fi
+
+install-man:
+ ${MKDIR} ${MANDIR}
+ ${BSD_INSTALL_DATA} ${MANUALS} ${MANDIR}
+
##
## End of Makefile
##