1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/mail/mew/files/patch-ac

42 lines
1.2 KiB
Plaintext
Raw Normal View History

--- 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
##