freebsd-ports/mail/mew/files/patch-ac
Shigeyuki Fukushima d9ab5e69e8 Update to 1.94.1.
PR:		ports/15627
Submitted by:	KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
2000-01-04 14:29:34 +00:00

42 lines
1.2 KiB
Plaintext

--- info/Makefile.orig Wed Oct 20 20:20:56 1999
+++ info/Makefile Fri Dec 10 22:45:46 1999
@@ -32,6 +32,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/' \
@@ -55,8 +56,8 @@
-@if [ ! -d $(INFODIR) ]; then \
$(MKDIR) $(INFODIR); \
fi; \
- cp $(INFO) $(INFODIR)
- -@if [ -x "$(INSTALLINFO)" ]; then \
+ ${BSD_INSTALL_DATA} $(INFO) $(INFODIR)
+ -@if [ -x "$(INSTALLINFO)" -a -z "${XEMACS_VER_OVER20}" ]; then \
$(INSTALLINFO) mew.info $(INFODIR)/dir; \
else \
echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
@@ -66,12 +67,17 @@
-@if [ ! -d $(INFODIR) ]; then \
$(MKDIR) $(INFODIR); \
fi; \
- cp $(JINFO) $(INFODIR)
- -@if [ -x "$(INSTALLINFO)" ]; then \
+ ${BSD_INSTALL_DATA} $(JINFO) $(INFODIR)
+ -@if [ -x "$(INSTALLINFO)" -a -z "${XEMACS_VER_OVER20}" ]; then \
$(INSTALLINFO) mew.jis.info $(INFODIR)/dir; \
else \
echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
fi
+
+install-man:
+ ${MKDIR} ${MANDIR}
+ ${BSD_INSTALL_DATA} ${MANUALS} ${MANDIR}
+
##
## End of Makefile
##