1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/mail/mew/files/patch-aa
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

81 lines
2.3 KiB
Plaintext

--- Makefile~ Wed Oct 20 20:20:51 1999
+++ Makefile Fri Dec 10 22:42:06 1999
@@ -88,12 +88,29 @@
mew-temacs.el mew-xemacs.el mew-addrbook.el \
mew.el
+PIXMAPS=Mew.img Mew.png Mew.xbm \
+ Mew.xpm mew-Audio.xpm mew-Blank.xpm \
+ mew-External.xpm mew-Folder.xpm mew-Image.xpm \
+ mew-Octet-Stream.xpm mew-Postscript.xpm mew-Rfc822.xpm \
+ mew-Text.xpm mew-Unknown.xpm mew-Video.xpm \
+ mew-attach.xpm mew-cite.xpm mew-comp.xpm \
+ mew-forward.xpm mew-inc.xpm mew-next.xpm \
+ mew-pgp-enc.xpm mew-pgp-sigenc.xpm mew-pgp-sign.xpm \
+ mew-prev.xpm mew-refile.xpm mew-reply.xpm \
+ mew-send.xpm mew-sep.xpm mew-show.xpm \
+ mew-write.xpm mew-yank.xpm
+PIXMAPSETC=etc/COLOR etc/mew-Plain.xpm \
+ etc/mew-curr.xpm etc/mew-folder.xpm etc/mew-inc2.xpm \
+ etc/mew-kill.xpm
+
+
TEMPFILE = temp.el
CP = cp
RM = rm -f
MKDIR = mkdir -p
BIN = bin
+ETC= etc
all: $(OBJS)
@echo 'Compiling EL files of Mew ... '
@@ -114,8 +131,8 @@
-@if [ ! -d $(ELISPDIR) ]; then \
$(MKDIR) $(ELISPDIR); \
fi; \
- $(CP) $(SRCS) $(ELISPDIR)
- $(CP) $(OBJS) $(ELISPDIR)
+ ${BSD_INSTALL_DATA} $(SRCS) $(ELISPDIR)
+ ${BSD_INSTALL_DATA} $(OBJS) $(ELISPDIR)
cd $(BIN); $(MAKE) install CFLAGS="$(CFLAGS)" CC="$(CC)" BINDIR="$(BINDIR)"
clean:
@@ -126,19 +143,32 @@
cd info; $(MAKE) info EMACS=$(EMACS)
install-info:
- cd info; $(MAKE) install-info INFODIR=$(INFODIR)
+ cd info; $(MAKE) install-info INFODIR=$(INFODIR) XEMACS_VER_OVER20=${XEMACS_VER_OVER20}
jinfo::
cd info; $(MAKE) jinfo EMACS=$(EMACS)
install-jinfo:
- cd info; $(MAKE) install-jinfo INFODIR=$(INFODIR)
+ cd info; $(MAKE) install-jinfo INFODIR=$(INFODIR) XEMACS_VER_OVER20=${XEMACS_VER_OVER20}
+
+install-man:
+ cd info; $(MAKE) install-man MANDIR=$(MANDIR)
install-etc:
-@if [ ! -d $(ETCDIR) ]; then \
- $(MKDIR) $(ETCDIR); \
+ $(MKDIR) $(ETCDIR)/etc; \
fi; \
- cd etc; $(CP) -r * $(ETCDIR)/
+ cd etc; \
+ ${BSD_INSTALL_DATA} ${PIXMAPS} ${ETCDIR}; \
+ ${BSD_INSTALL_DATA} ${PIXMAPSETC} ${ETCDIR}/etc
+
+
+install-package: install install-info install-man install-etc
+ ${MKDIR} ${EMACSPKGDIR} ${PKG_PKGINFODIR}
+ ${ECHO} "pkginfo/MANIFEST.mew" > ${PKG_PKGINFODIR}/MANIFEST.mew
+ find ${EMACSPKGDIR} -type f | sed -e "s,^${EMACSPKGDIR}/,," | \
+ grep '^etc/mew/\|^info/mew\.\|^lisp/mew/\|^man/mew/' | \
+ grep -v "pkginfo/MANIFEST.mew" >> ${PKG_PKGINFODIR}/MANIFEST.mew
##
## End of Makefile