aboutsummaryrefslogtreecommitdiff
path: root/mail/mew2
diff options
context:
space:
mode:
authorKiriyama Kazuhiko <kiri@FreeBSD.org>2001-08-25 09:17:58 +0000
committerKiriyama Kazuhiko <kiri@FreeBSD.org>2001-08-25 09:17:58 +0000
commit7fbc9cb45c5d2fd55605142b316dcbb02106a761 (patch)
treec0a350ee33eed016f77c4a7e4eb51de12842e085 /mail/mew2
parent40fe2d9de96e3af26ae35e35270f6ecaa1c33e92 (diff)
downloadports-7fbc9cb45c5d2fd55605142b316dcbb02106a761.tar.gz
ports-7fbc9cb45c5d2fd55605142b316dcbb02106a761.zip
Notes
Diffstat (limited to 'mail/mew2')
-rw-r--r--mail/mew2/Makefile71
-rw-r--r--mail/mew2/distinfo2
-rw-r--r--mail/mew2/files/message.sh27
-rw-r--r--mail/mew2/files/mew-setup.el.in4
-rw-r--r--mail/mew2/files/mew-xemacs-setup.el.in5
-rw-r--r--mail/mew2/files/patch-aa173
-rw-r--r--mail/mew2/files/patch-ab43
-rw-r--r--mail/mew2/files/patch-ac93
-rw-r--r--mail/mew2/files/patch-ad40
-rw-r--r--mail/mew2/files/patch-ae11
-rw-r--r--mail/mew2/files/pkg-descr.tmpl7
-rw-r--r--mail/mew2/files/tmpl2file.sh1
-rw-r--r--mail/mew2/pkg-comment2
-rw-r--r--mail/mew2/pkg-descr7
-rw-r--r--mail/mew2/pkg-message7
-rw-r--r--mail/mew2/pkg-plist329
-rw-r--r--mail/mew2/scripts/configure12
17 files changed, 451 insertions, 383 deletions
diff --git a/mail/mew2/Makefile b/mail/mew2/Makefile
index 49818c47260f..2afca38a8eef 100644
--- a/mail/mew2/Makefile
+++ b/mail/mew2/Makefile
@@ -8,54 +8,47 @@
PORTNAME= mew
PORTVERSION= ${MEW_VER}
CATEGORIES= mail elisp
-MASTER_SITES= ftp://ftp.mew.org/pub/Mew/old/ \
- ftp://ftp.kyushu-u.ac.jp/pub/Misc/mew/old/ \
+MASTER_SITES= ftp://ftp.mew.org/pub/Mew/ \
+ ftp://ftp.kyushu-u.ac.jp/pub/Misc/mew/ \
${MASTER_SITE_PORTS_JP}
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER?= kiri@FreeBSD.org
-# distfile version
-MEW_VER= 1.94.2
+# Mew major version
+MEW_MAJOR_VER?= 2
-.if !defined(EMACS_PORT_NAME)
-# setup.el filename
-EMACS_SETUPEL= ${PORTNAME}-setup.el
-.endif
+# distfile version
+MEW_VER= ${MEW_MAJOR_VER}.0
# document install directory by install-doc target
-MEW_DOCDIR?= share/doc/${PORTNAME}
+MEW_DOCDIR?= share/doc/${PORTNAME}${MEW_MAJOR_VER}
# emacs port setup
-EMACS_PORT_NAME?= emacs
+EMACS_PORT_NAME?= emacs20
# target name for make build and install
-ALL_TARGET?= all # info
-INSTALL_TARGET?=install install-info install-etc
-
-# depends
-RUN_DEPENDS= imali:${PORTSDIR}/mail/im
+ALL_TARGET?= all info jinfo
+INSTALL_TARGET?= install install-info install-jinfo install-etc
# environments
-MAKE_ENV+= EMACS_LIBDIR=${EMACS_LIBDIR}
-SCRIPTS_ENV+= TARGETS="${EMACS_SETUPEL}" EMACS_SETUPEL=${EMACS_SETUPEL:S/.el$//}
-PLIST_SUB+= MEW_DOCDIR=${MEW_DOCDIR} EMACS_SETUPEL=${EMACS_SETUPEL}
+MAKE_ENV+= EMACS_LIBDIR=${EMACS_LIBDIR} MEW_MAJOR_VER=${MEW_MAJOR_VER}
+PLIST_SUB+= MEW_MAJOR_VER=${MEW_MAJOR_VER}
-pre-configure:
-.if defined(EMACS_SETUPEL)
- @${CP} ${FILESDIR}/${EMACS_SETUPEL}.in ${WRKDIR}
-.endif
+# manuals
+MAN1= mewcat.1 mewdecode.1 mewencode.1 mewls.1
+
+post-patch:
+ for f in mew-key.el info/mew.texi; do \
+ ${PERL} -i -pe 's,%%MEW_MAJOR_VER%%,${MEW_MAJOR_VER},g' ${WRKSRC}/$${f}; \
+ done
post-install:
-.if defined(EMACS_SETUPEL)
- ${INSTALL_DATA} ${WRKDIR}/${EMACS_SETUPEL} \
- ${PREFIX}/${EMACS_LIBDIR}/site-lisp
-.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/${MEW_DOCDIR}
(cd ${WRKSRC} ; \
${INSTALL_DATA} 00* ${PREFIX}/${MEW_DOCDIR}/ ; \
- for dir in contrib patches; do \
+ for dir in contrib; do \
${CP} -R $${dir} ${PREFIX}/${MEW_DOCDIR}/ ; \
done)
${CHOWN} -R ${SHAREOWN}.${SHAREGRP} ${PREFIX}/${MEW_DOCDIR}
@@ -64,16 +57,15 @@ post-install:
############################################################
## Make DESCR,COMMENT and PLIST (only for MAINTAINER use)
############################################################
-#COMMENT_TEXT= Message interface to Emacs Window for ${EMACS_PORT_NAME}
+#COMMENT_TEXT= 'Message interface to Emacs Window (version ${MEW_MAJOR_VER}) for ${EMACS_PORT_NAME}'
#.if ${EMACS_PORT_NAME} == "xemacs21" || ${EMACS_PORT_NAME} == "xemacs21-mule"
-#ELISPDIR= ${PREFIX}/${EMACS_PACKAGESDIR}/lisp/${PORTNAME}
+#ELISPDIR= ${PREFIX}/${EMACS_PACKAGESDIR}/lisp/${PORTNAME}${MEW_MAJOR_VER}
#INFODIR= ${PREFIX}/${EMACS_PACKAGESDIR}/info
-#ETCDIR= ${PREFIX}/${EMACS_PACKAGESDIR}/etc/${PORTNAME}
+#ETCDIR= ${PREFIX}/${EMACS_PACKAGESDIR}/etc/${PORTNAME}${MEW_MAJOR_VER}
#.else
-#ELISPDIR= ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
+#ELISPDIR= ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}${MEW_MAJOR_VER}
#INFODIR= ${PREFIX}/info
-#ETCDIR= ${PREFIX}/${EMACS_LIBDIR}/etc/${PORTNAME}
-#REQUIRE= (require \'${EMACS_SETUPEL:S/^mew-/&${EMACS_PORT_NAME}-/:S/.el$//})
+#ETCDIR= ${PREFIX}/${EMACS_LIBDIR}/etc/${PORTNAME}${MEW_MAJOR_VER}
#.endif
#SCRIPTS_ENV+= EMACS_PORTSDIR=${EMACS_PORTSDIR:S,^${PORTSDIR}/,,} \
# PKGNAME=${PKGNAME} ELISPDIR=${ELISPDIR} INFODIR=${INFODIR} \
@@ -87,27 +79,30 @@ post-install:
#pre-arrange:
# ${ECHO} ${COMMENT_TEXT} > ${PKGDIR}/pkg-comment
# ${SETENV} ${SCRIPTS_ENV} WRKTMPDIR=${PKGDIR} TMPL_FILES=pkg-descr \
+# MEW_MAJOR_VER=${MEW_MAJOR_VER} \
# ${SH} ${FILESDIR}/tmpl2file.sh
-# ${SETENV} ${SCRIPTS_ENV} WRKTMPDIR=${PKGDIR} ${SH} ${FILESDIR}/message.sh
+# ${SETENV} EMACS_PORT_NAME=${EMACS_PORT_NAME} WRKTMPDIR=${PKGDIR} \
+# ${SH} ${FILESDIR}/message.sh
# ${CHOWN} kiri:staff ${PKGDIR}/pkg-comment ${PKGDIR}/pkg-descr ${PKGDIR}/pkg-message
#
#arrange:
#.if ${EMACS_PORT_NAME} == "xemacs21" || ${EMACS_PORT_NAME} == "xemacs21-mule"
# ${MAKE} PLIST_SUB_EXCLS="${PLIST_SUB_EXCLS}" \
-# DIRRM2RMDIRS="${ETCDIR:S,^${PREFIX}/,,:S,/${PORTNAME}$,,} \
-# ${ELISPDIR:S,^${PREFIX}/,,:S,/${PORTNAME}$,,} \
+# DIRRM2RMDIRS="${ETCDIR:S,^${PREFIX}/,,:S,/${PORTNAME}${MEW_MAJOR_VER}$,,} \
+# ${ELISPDIR:S,^${PREFIX}/,,:S,/${PORTNAME}${MEW_MAJOR_VER}$,,} \
# ${EMACS_PACKAGESDIR} ${EMACS_PACKAGESDIR}/lisp \
# ${EMACS_PACKAGESDIR}/info ${EMACS_PACKAGESDIR}/etc \
# ${EMACS_PACKAGESDIR}/man ${EMACS_PACKAGESDIR}/pkginfo" \
# DIRRMDEPTH=2 plist
#.else
# ${MAKE} PLIST_SUB_EXCLS="${PLIST_SUB_EXCLS}" \
-# DIRRM2RMDIRS="${ETCDIR:S,^${PREFIX}/,,:S,/${PORTNAME}$,,} \
-# ${ELISPDIR:S,^${PREFIX}/,,:S,/${PORTNAME}$,,} \
+# DIRRM2RMDIRS="${ETCDIR:S,^${PREFIX}/,,:S,/${PORTNAME}${MEW_MAJOR_VER}$,,} \
+# ${ELISPDIR:S,^${PREFIX}/,,:S,/${PORTNAME}${MEW_MAJOR_VER}$,,} \
# ${EMACS_LIBDIR}/${EMACS_VER}/site-lisp \
# ${EMACS_LIBDIR}/${EMACS_VER}" \
# INFOFILES="mew.info mew.jis.info" DIRRMDEPTH=2 plist
#.endif
# ${INSTALL} -c -m 644 -o kiri -g staff ${WRKPLIST} ${PLIST}
+# ${PERL} -i -pe 's@((?!mew)...|^.{0,2})%%MEW_MAJOR_VER%%@$$1\x32@g' ${PLIST}
.include <bsd.port.mk>
diff --git a/mail/mew2/distinfo b/mail/mew2/distinfo
index 2f0dd6333b65..a22192b70647 100644
--- a/mail/mew2/distinfo
+++ b/mail/mew2/distinfo
@@ -1 +1 @@
-MD5 (mew-1.94.2.tar.gz) = 8b86e26586c07e9425e470706734a35d
+MD5 (mew-2.0.tar.gz) = be2973fff4f5b2c51f0d0e43c8547ee7
diff --git a/mail/mew2/files/message.sh b/mail/mew2/files/message.sh
index a709991a5b4f..c4941cbfed1b 100644
--- a/mail/mew2/files/message.sh
+++ b/mail/mew2/files/message.sh
@@ -1,26 +1,37 @@
#!/bin/sh
-if [ -z "${EMACS_SETUPEL}" ]; then
- cat <<EOF > ${WRKTMPDIR}/pkg-message
+case ${EMACS_PORT_NAME} in
+ emacs20)
+ cat <<EOF > ${WRKTMPDIR}/pkg-message
*************************************************************************
* You must set at least following elisps to your own dot.emacs file: *
* *
* (autoload 'mew "mew" nil t) *
* (autoload 'mew-send "mew" nil t) *
-* (setq mew-mail-domain-list '("Name_Server_Domain_Name")) *
+* (setq mew-mail-domain "domain of e-mail address") *
+* (setq mew-pop-server "your POP server") ;; if not localhost *
+* (setq mew-smtp-server "your SMTP server") ;; if not localhost *
+* (setq mew-prog-pgpkey "fetch") ;; for PGP use *
+* (setq mew-prog-pgpkey-arg '("-q" "-o" "-"));; for PGP use *
* *
*************************************************************************
EOF
-else
- cat <<EOF > ${WRKTMPDIR}/pkg-message
+ ;;
+ xemacs21*)
+ cat <<EOF > ${WRKTMPDIR}/pkg-message
*************************************************************************
* You must set at least following elisps to your own dot.emacs file: *
* *
-* (require '`basename ${EMACS_SETUPEL} .el`) *
* (autoload 'mew "mew" nil t) *
* (autoload 'mew-send "mew" nil t) *
-* (setq mew-mail-domain-list '("Name_Server_Domain_Name")) *
+* (setq mew-mail-domain "domain of e-mail address") *
+* (setq mew-pop-server "your POP server") ;; if not localhost *
+* (setq mew-smtp-server "your SMTP server") ;; if not localhost *
+* (setq mew-icon-directory "icon directory") ;; if using XEmacs *
+* (setq mew-prog-pgpkey "fetch") ;; for PGP use *
+* (setq mew-prog-pgpkey-arg '("-q" "-o" "-"));; for PGP use *
* *
*************************************************************************
EOF
-fi
+ ;;
+esac
diff --git a/mail/mew2/files/mew-setup.el.in b/mail/mew2/files/mew-setup.el.in
deleted file mode 100644
index e408ef6eb6e7..000000000000
--- a/mail/mew2/files/mew-setup.el.in
+++ /dev/null
@@ -1,4 +0,0 @@
-(setq load-path (append '(
- "%%LOCALBASE%%/%%EMACS_LIBDIR%%/site-lisp/mew"
- ) load-path))
-(provide '%%EMACS_SETUPEL%%)
diff --git a/mail/mew2/files/mew-xemacs-setup.el.in b/mail/mew2/files/mew-xemacs-setup.el.in
deleted file mode 100644
index feb0d538d7d5..000000000000
--- a/mail/mew2/files/mew-xemacs-setup.el.in
+++ /dev/null
@@ -1,5 +0,0 @@
-(setq load-path (append '(
- "%%LOCALBASE%%/%%EMACS_LIBDIR%%/site-lisp/mew"
- ) load-path))
-(setq mew-icon-directory "%%LOCALBASE%%/%%EMACS_LIBDIR%%/etc/mew")
-(provide '%%EMACS_SETUPEL%%)
diff --git a/mail/mew2/files/patch-aa b/mail/mew2/files/patch-aa
index 07d51807b839..ba398cffa9ea 100644
--- a/mail/mew2/files/patch-aa
+++ b/mail/mew2/files/patch-aa
@@ -1,61 +1,54 @@
---- Makefile.orig Wed Oct 20 20:20:51 1999
-+++ Makefile Tue Jul 10 23:35:24 2001
-@@ -19,8 +19,8 @@
+--- Makefile.orig Wed Jul 18 08:20:40 2001
++++ Makefile Fri Aug 3 22:18:35 2001
+@@ -19,14 +19,14 @@
## EDIT THE FOLLOWINGS
##
--PREFIX = /usr/local
--INFODIR = $(PREFIX)/info
-+PREFIX?= /usr/local
-+INFODIR= $(PREFIX)/info
+-prefix=/usr/local
++prefix=${PREFIX}
+ infodir=$(prefix)/info
##
## Compile engines
-@@ -30,10 +30,10 @@
- CFLAGS = -O
+ ##
- #EMACS = emacs
--EMACS = xemacs
-+EMACS= ${EMACS_CMD}
+-EMACS = emacs
++EMACS = ${EMACS_CMD}
+ #EMACS = xemacs
#EMACS = mule
--PERL=`which perl`
-+PERL?=`which perl`
- #PERL=/usr/local/bin/perl
-
- ##
-@@ -46,7 +46,7 @@
+@@ -34,7 +34,7 @@
## A directory where mew*.el[c] will be installed.
##
--ELISPDIR = $(PREFIX)/lib/$(EMACS)/site-lisp
-+ELISPDIR= ${PREFIX}/${EMACS_LIBDIR}/site-lisp/mew
- #ELISPDIR = $(PREFIX)/share/emacs/site-lisp
- #ELISPDIR = $(PREFIX)/lib/emacs
+-elispdir = $(prefix)/share/emacs/site-lisp/mew
++elispdir = $(prefix)/${EMACS_LIBDIR}/site-lisp/mew${MEW_MAJOR_VER}
+ #elispdir = $(prefix)/lib/$(EMACS)/site-lisp
+ #elispdir = $(prefix)/lib/emacs
-@@ -54,7 +54,10 @@
+@@ -42,7 +42,10 @@
## A directory where etc file will be installed.
##
--ETCDIR = $(PREFIX)/lib/$(EMACS)/etc/Mew
-+ETCDIR= ${PREFIX}/${EMACS_LIBDIR}/etc/mew
+-etcdir = $(prefix)/lib/$(EMACS)/etc/Mew
++etcdir = $(prefix)/${EMACS_LIBDIR}/etc/mew${MEW_MAJOR_VER}
+
+# For XEmacs packages
-+XPKGDIR= ${PREFIX}/${EMACS_PACKAGESDIR}
++XPKGDIR= $(prefix)/${EMACS_PACKAGESDIR}
################################################################
##
-@@ -72,6 +75,8 @@
- mew-virtual.elc mew-highlight.elc mew-vars.elc \
- mew-addrbook.elc mew.elc
+@@ -67,6 +70,8 @@
+ mew-key.elc mew-thread.elc mew-smime.elc \
+ mew-theme.elc mew.elc
+OBJS_PKG= auto-autoloads.elc custom-load.elc
+
- SRCS = mew-attach.el mew-bq.el mew-cache.el \
- mew-complete.el mew-decode.el mew-demo.el \
- mew-draft.el mew-encode.el mew-env.el \
-@@ -88,6 +93,8 @@
- mew-temacs.el mew-xemacs.el mew-addrbook.el \
+ SRCS = mew-addrbook.el mew-attach.el mew-blvs.el \
+ mew-bq.el mew-cache.el mew-complete.el \
+ mew-config.el mew-const.el mew-decode.el \
+@@ -87,6 +92,8 @@
+ mew-thread.el mew-smime.el mew-theme.el \
mew.el
+SRCS_PKG= auto-autoloads.el custom-load.el
@@ -63,70 +56,69 @@
TEMPFILE = temp.el
CP = cp
-@@ -96,14 +103,14 @@
- BIN = bin
+@@ -103,7 +110,9 @@
- all: $(OBJS)
+ ################################################################
+
+-el: $(TEMPFILE) mew.el
++el: $(OBJS)
+
+$(OBJS): $(TEMPFILE) mew.el
@echo 'Compiling EL files of Mew ... '
@echo 'PLEASE IGNORE WARNINGS IF DISPLAYED. TAKE IT EASY!'
$(EMACS) -batch -q -no-site-file -l ./$(TEMPFILE) -f mew-compile
- cd $(BIN); $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" PERL="$(PERL)"
- @echo 'Compiling EL files of Mew ... done'
-
--$(OBJS): $(TEMPFILE) mew.el
--
- $(TEMPFILE):
- @echo '(setq load-path (cons "." load-path))' > $(TEMPFILE)
- @echo '(defun mew-compile () (mapcar (function (lambda (x) (byte-compile-file x))) (list ' >> $(TEMPFILE)
-@@ -111,11 +118,11 @@
+@@ -116,11 +125,11 @@
@echo ')))' >> $(TEMPFILE)
- install: $(OBJS)
-- -@if [ ! -d $(ELISPDIR) ]; then \
-+ if [ ! -d $(ELISPDIR) ]; then \
- $(MKDIR) $(ELISPDIR); \
-- fi; \
-- $(CP) $(SRCS) $(ELISPDIR)
-- $(CP) $(OBJS) $(ELISPDIR)
-+ fi
-+ ${BSD_INSTALL_DATA} $(SRCS) $(ELISPDIR)
-+ ${BSD_INSTALL_DATA} $(OBJS) $(ELISPDIR)
- cd $(BIN); $(MAKE) install CFLAGS="$(CFLAGS)" CC="$(CC)" BINDIR="$(BINDIR)"
+ install-el: $(OBJS)
+- -@if [ ! -d $(elispdir) ]; then \
++ if [ ! -d $(elispdir) ]; then \
+ $(MKDIR) $(elispdir); \
+ fi
+- $(CP) $(SRCS) $(elispdir)
+- $(CP) $(OBJS) $(elispdir)
++ ${BSD_INSTALL_DATA} $(SRCS) $(elispdir)
++ ${BSD_INSTALL_DATA} $(OBJS) $(elispdir)
- clean:
-@@ -126,19 +133,69 @@
+ ################################################################
+
+@@ -136,7 +145,9 @@
cd info; $(MAKE) info EMACS=$(EMACS)
install-info:
-- cd info; $(MAKE) install-info INFODIR=$(INFODIR)
-+ ${MKDIR} ${INFODIR}
-+ cd info; $(MAKE) install-info INFODIR=$(INFODIR) \
+- cd info; $(MAKE) install-info infodir=$(infodir)
++ ${MKDIR} $(infodir)
++ cd info; $(MAKE) install-info infodir=$(infodir) \
+ XEMACS_VER_OVER20="${XEMACS_VER_OVER20}"
- jinfo::
+ ################################################################
+
+@@ -144,15 +155,72 @@
cd info; $(MAKE) jinfo EMACS=$(EMACS)
install-jinfo:
-- cd info; $(MAKE) install-jinfo INFODIR=$(INFODIR)
-+ ${MKDIR} ${INFODIR}
-+ cd info; $(MAKE) install-jinfo INFODIR=$(INFODIR) \
+- cd info; $(MAKE) install-jinfo infodir=$(infodir)
++ ${MKDIR} $(infodir)
++ cd info; $(MAKE) install-jinfo infodir=$(infodir) \
+ XEMACS_VER_OVER20="${XEMACS_VER_OVER20}"
+
+install-man:
+ ${MKDIR} ${MANDIR}
+ cd info; $(MAKE) install-man MANDIR=$(MANDIR)
+ ################################################################
+
install-etc:
-- -@if [ ! -d $(ETCDIR) ]; then \
-+ if [ ! -d $(ETCDIR) ]; then \
- $(MKDIR) $(ETCDIR); \
- fi; \
-- cd etc; $(CP) -r * $(ETCDIR)/
-+ cd etc; $(CP) -R * $(ETCDIR)/
+- -@if [ ! -d $(etcdir) ]; then \
++ if [ ! -d $(etcdir) ]; then \
+ $(MKDIR) $(etcdir); \
+ fi
+- cd etc; $(CP) -r * $(etcdir)/
++ cd etc; $(CP) -R * $(etcdir)/
++
++################################################################
+
-+package: ${OBJS} ${OBJS_PKG}
++package: ${OBJS} ${OBJS_PKG} bin
+
+${OBJS_PKG}: ${SRCS_PKG}
+ ${EMACS} -vanilla -batch -eval "(push \"./\" load-path)" -l bytecomp \
@@ -151,22 +143,29 @@
+ @echo " :version $(XEMACS_PKGVER)" >> _pkg.el
+ @echo " :type 'regular)" >> _pkg.el
+
++install-mule-package: install-package
++ ${MAKE} infodir=${XPKGDIR}/info XEMACS_VER_OVER20="yes" install-jinfo
++ ${MAKE} manifest
++
+install-package:
+ ${MKDIR} ${XPKGDIR}/pkginfo
-+ ${MAKE} ELISPDIR=${XPKGDIR}/lisp/mew install
-+ ${BSD_INSTALL_DATA} _pkg.el ${OBJS_PKG} ${SRCS_PKG} ${XPKGDIR}/lisp/mew
-+ ${MAKE} INFODIR=${XPKGDIR}/info XEMACS_VER_OVER20="yes" \
++ ${MAKE} install-bin
++ ${MAKE} elispdir=${XPKGDIR}/lisp/mew${MEW_MAJOR_VER} install-el
++ ${BSD_INSTALL_DATA} _pkg.el ${OBJS_PKG} ${SRCS_PKG} \
++ ${XPKGDIR}/lisp/mew${MEW_MAJOR_VER}
++ ${MAKE} infodir=${XPKGDIR}/info XEMACS_VER_OVER20="yes" \
+ install-info
-+ ${MAKE} MANDIR=${XPKGDIR}/man/mew install-man
-+ ${MAKE} ETCDIR=${XPKGDIR}/etc/mew install-etc
-+ (cd ${XPKGDIR}; \
-+ ls -d1 lisp/mew/* info/mew.* man/mew/* etc/mew/* \
-+ > ${XPKGDIR}/pkginfo/MANIFEST.mew)
-+ ${ECHO} "pkginfo/MANIFEST.mew" >> ${XPKGDIR}/pkginfo/MANIFEST.mew
++ ${MAKE} MANDIR=${XPKGDIR}/man/mew${MEW_MAJOR_VER} install-man
++ ${MAKE} etcdir=${XPKGDIR}/etc/mew${MEW_MAJOR_VER} install-etc
++ ${MAKE} manifest
+
-+install-mule-package: install-package
-+ ${MAKE} INFODIR=${XPKGDIR}/info XEMACS_VER_OVER20="yes" \
-+ install-jinfo
++manifest:
++ (cd ${XPKGDIR}; \
++ ls -d1 lisp/mew${MEW_MAJOR_VER}/* info/mew${MEW_MAJOR_VER}.* \
++ man/mew${MEW_MAJOR_VER}/* etc/mew${MEW_MAJOR_VER}/* \
++ > ${XPKGDIR}/pkginfo/MANIFEST.mew${MEW_MAJOR_VER})
++ ${ECHO} "pkginfo/MANIFEST.mew${MEW_MAJOR_VER}" \
++ >> ${XPKGDIR}/pkginfo/MANIFEST.mew${MEW_MAJOR_VER}
+
+ ################################################################
- ##
- ## End of Makefile
diff --git a/mail/mew2/files/patch-ab b/mail/mew2/files/patch-ab
index 2dac86223770..2fb11a359a49 100644
--- a/mail/mew2/files/patch-ab
+++ b/mail/mew2/files/patch-ab
@@ -1,25 +1,28 @@
---- bin/Makefile~ Wed Oct 27 08:55:11 1999
-+++ bin/Makefile Tue Jul 10 01:06:02 2001
-@@ -22,7 +22,7 @@
- $(CC) -o $@ $(OBJS)
+--- bin/Makefile.in~ Fri May 25 12:58:39 2001
++++ bin/Makefile.in Thu Aug 2 19:11:38 2001
+@@ -65,7 +65,7 @@
+ $(CC) $(COFLAG) $(OBJ1) $(LIBS)
$(RM) $(ALT)
for f in $(ALT); do \
-- ln $(PRG) $${f}; done
-+ ln -sf $(PRG) $${f}; done
+- $(LN) $(PRG1) $${f}; done
++ $(LN) -sf $(PRG1) $${f}; done
- uumerge: uumerge.in
- sed -e "s|@PERL@|${PERL}|" < uumerge.in > uumerge
-@@ -32,10 +32,10 @@
- -@if [ ! -d $(BINDIR) ]; then \
- $(MKDIR) $(BINDIR); \
- fi; \
-- cp $(PRG) $(BINDIR)
-+ ${BSD_INSTALL_PROGRAM} $(PRG) $(BINDIR)
+ $(PRG2): $(OBJ2)
+ $(CC) $(COFLAG) $(CFLAGS) $(OBJ2)
+@@ -88,14 +88,14 @@
+ fi
+ $(INSTALL) $(PRG1) $(bindir)
for f in $(ALT); do \
-- $(RM) $(BINDIR)/$${f}; ln $(BINDIR)/$(PRG) $(BINDIR)/$${f}; done
-- cp $(OTH) $(BINDIR)
-+ $(RM) $(BINDIR)/$${f}; ln -sf $(BINDIR)/$(PRG) $(BINDIR)/$${f}; done
-+ ${BSD_INSTALL_SCRIPT} $(OTH) $(BINDIR)
+- $(RM) $(bindir)/$${f}; $(LN) $(bindir)/$(PRG1) $(bindir)/$${f}; done
++ $(RM) $(bindir)/$${f}; $(LN) -sf $(bindir)/$(PRG1) $(bindir)/$${f}; done
+ $(INSTALL) $(PRG2) $(bindir)
+ -@if [ ! -d $(mandir) ]; then \
+ $(MKDIR) $(mandir); \
+ fi
+ $(INSTALL) $(MAN1) $(mandir)
+ for f in $(MALT); do \
+- $(RM) $(mandir)/$${f}; $(LN) $(mandir)/$(MAN1) $(mandir)/$${f}; done
++ $(RM) $(mandir)/$${f}; $(LN) -sf $(mandir)/$(MAN1) $(mandir)/$${f}; done
+ $(INSTALL) $(MAN2) $(mandir)
- clean:
- $(RM) $(OBJS) $(PRG) $(ALT) $(OTH)
+ ##
diff --git a/mail/mew2/files/patch-ac b/mail/mew2/files/patch-ac
index 3efb03c40dd8..b30fd65baa8d 100644
--- a/mail/mew2/files/patch-ac
+++ b/mail/mew2/files/patch-ac
@@ -1,45 +1,88 @@
---- info/Makefile~ Wed Oct 27 08:55:12 1999
-+++ info/Makefile Tue Jul 10 01:25:05 2001
-@@ -33,6 +33,7 @@
+--- info/Makefile.orig Wed Jul 18 08:20:40 2001
++++ info/Makefile Fri Aug 3 22:19:55 2001
+@@ -28,9 +28,9 @@
+ #INSTALLINFO_OPTIONS = --section Emacs Emacs
+ #INSTALLINFO_JOPTIONS =
+ #infodir =
+-INSTALLINFO_ARGS = mew.info $(infodir)/dir
++INSTALLINFO_ARGS = mew${MEW_MAJOR_VER}.info $(infodir)/dir
+ #INSTALLINFO_ARGS = mew.info
+-INSTALLINFO_JARGS = mew.jis.info $(infodir)/dir
++INSTALLINFO_JARGS = mew${MEW_MAJOR_VER}.jis.info $(infodir)/dir
- INFO = mew.info mew.info-1 mew.info-2 mew.info-3
- JINFO = mew.jis.info mew.jis.info-1 mew.jis.info-2
+
+ RM = rm -f
+@@ -44,50 +44,60 @@
+ ## DO NOT EDIT THE FOLLOWINGS
+ ##
+
+-INFO = mew.info mew.info-1 mew.info-2 mew.info-3
+-JINFO = mew.jis.info mew.jis.info-1 mew.jis.info-2
++INFO = mew${MEW_MAJOR_VER}.info mew${MEW_MAJOR_VER}.info-1 mew${MEW_MAJOR_VER}.info-2 mew${MEW_MAJOR_VER}.info-3
++JINFO = mew${MEW_MAJOR_VER}.jis.info mew${MEW_MAJOR_VER}.jis.info-1 mew${MEW_MAJOR_VER}.jis.info-2
+MANUALS= 00readme mew.texi
- info::
- sed -e 's/@setfilename mew.jis.info/@setfilename mew.info/' \
-@@ -57,22 +58,32 @@
- $(MKDIR) $(INFODIR); \
+ all: info
+ info:
+- sed -e 's/@setfilename mew.jis.info/@setfilename mew.info/' \
++ sed -e "s/@setfilename mew${MEW_MAJOR_VER}\.jis\.info/@setfilename mew${MEW_MAJOR_VER}\.info/" \
+ -e 's/@set jp/@set us/' mew.texi > tmp.texi
+ mv tmp.texi mew.texi
+- $(RM) mew.info*
+- $(TOUCH) mew.info
++ $(RM) mew${MEW_MAJOR_VER}.info*
++ $(TOUCH) mew${MEW_MAJOR_VER}.info
+ $(EMACS) -batch -q -no-site-file -l texinfmt \
+ -f batch-texinfo-format mew.texi
+
+ jinfo:
+- sed -e 's/@setfilename mew.info/@setfilename mew.jis.info/' \
++ sed -e "s/@setfilename mew${MEW_MAJOR_VER}\.info/@setfilename mew${MEW_MAJOR_VER}\.jis.info/" \
+ -e 's/@set us/@set jp/' mew.texi > tmp.texi
+ mv tmp.texi mew.texi
+- $(RM) mew.jis.info*
+- $(TOUCH) mew.jis.info
++ $(RM) mew${MEW_MAJOR_VER}.jis.info*
++ $(TOUCH) mew${MEW_MAJOR_VER}.jis.info
+ $(EMACS) -batch -q -no-site-file -l texinfmt \
+ -f batch-texinfo-format mew.texi
+
+ install: install-info
+ install-info:
+- -@if [ ! -d $(infodir) ]; then \
++ -if [ ! -d $(infodir) ]; then \
+ $(MKDIR) $(infodir); \
fi; \
- cp $(INFO) $(INFODIR)
+- cp $(INFO) $(infodir)
- -@if [ -x "$(INSTALLINFO)" ]; then \
-- $(INSTALLINFO) mew.info $(INFODIR)/dir; \
+- $(INSTALLINFO) $(INSTALLINFO_OPTIONS) $(INSTALLINFO_ARGS); \
- else \
-- echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
-+ ${BSD_INSTALL_DATA} $(INFO) $(INFODIR)
-+ -@if [ -z "${XEMACS_VER_OVER20}" ]; then \
+- 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; \
++ $(INSTALLINFO) $(INSTALLINFO_OPTIONS) $(INSTALLINFO_ARGS); \
+ else \
-+ echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
++ echo "Don't forget to edit $(infodir)/dir for Mew."; \
+ fi; \
fi
install-jinfo:
- -@if [ ! -d $(INFODIR) ]; then \
- $(MKDIR) $(INFODIR); \
+- -@if [ ! -d $(infodir) ]; then \
++ -if [ ! -d $(infodir) ]; then \
+ $(MKDIR) $(infodir); \
fi; \
-- cp $(JINFO) $(INFODIR)
+- cp $(JINFO) $(infodir)
- -@if [ -x "$(INSTALLINFO)" ]; then \
-- $(INSTALLINFO) mew.jis.info $(INFODIR)/dir; \
+- $(INSTALLINFO) $(INSTALLINFO_JOPTIONS) $(INSTALLINFO_JARGS); \
- else \
-- echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
-+ ${BSD_INSTALL_DATA} $(JINFO) $(INFODIR)
-+ -@if [ -z "${XEMACS_VER_OVER20}" ]; then \
+- 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; \
++ $(INSTALLINFO) $(INSTALLINFO_JOPTIONS) $(INSTALLINFO_JARGS); \
+ else \
-+ echo "Don't forget to edit $(INFODIR)/dir for Mew."; \
++ echo "Don't forget to edit $(infodir)/dir for Mew."; \
+ fi; \
fi
+
diff --git a/mail/mew2/files/patch-ad b/mail/mew2/files/patch-ad
index 4a2dedb620c4..933ef45d9e73 100644
--- a/mail/mew2/files/patch-ad
+++ b/mail/mew2/files/patch-ad
@@ -1,13 +1,27 @@
---- mew-xemacs.el~ Mon Aug 30 12:43:16 1999
-+++ mew-xemacs.el Mon Aug 30 20:58:26 1999
-@@ -30,8 +30,8 @@
- (defvar mew-summary-toolbar nil)
- (defvar mew-draft-toolbar nil))
- (t
-- (defvar mew-icon-directory nil)
--
-+ (defvar mew-icon-directory (if (fboundp 'locate-data-directory)
-+ (locate-data-directory "mew")))
- (defvar mew-icon-separate
- (toolbar-make-button-list
- (expand-file-name "mew-sep.xpm" mew-icon-directory)))
+--- info/mew.texi~ Thu Aug 2 22:31:28 2001
++++ info/mew.texi Fri Aug 3 11:01:40 2001
+@@ -1,6 +1,6 @@
+ \input texinfo @c -*-texinfo-*-
+ @c %**start of header
+-@setfilename mew.jis.info
++@setfilename mew%%MEW_MAJOR_VER%%.jis.info
+ @settitle Mew (Messaging in the Emacs World)
+ @c %**end of header
+
+@@ -41,14 +41,14 @@
+ @ifset jp
+ @dircategory Message User Agent
+ @direntry
+-* Mew-J: (mew.jis.info). Messaging in the Emacs World.
++* Mew-J: (mew%%MEW_MAJOR_VER%%.jis.info). Messaging in the Emacs World.
+ @end direntry
+ @end ifset
+
+ @ifset us
+ @dircategory Message User Agent
+ @direntry
+-* Mew: (mew.info). Messaging in the Emacs World.
++* Mew: (mew%%MEW_MAJOR_VER%%.info). Messaging in the Emacs World.
+ @end direntry
+ @end ifset
+
diff --git a/mail/mew2/files/patch-ae b/mail/mew2/files/patch-ae
new file mode 100644
index 000000000000..d1647a30fb9c
--- /dev/null
+++ b/mail/mew2/files/patch-ae
@@ -0,0 +1,11 @@
+--- mew-key.el~ Wed Jul 18 08:19:11 2001
++++ mew-key.el Fri Aug 3 11:30:10 2001
+@@ -507,7 +507,7 @@
+ ;;;
+
+ (defvar mew-icon-directory (if (fboundp 'locate-data-directory)
+- (locate-data-directory "mew") nil))
++ (locate-data-directory "mew%%MEW_MAJOR_VER%%") nil))
+
+ (defvar mew-icon-separate nil)
+ (defvar mew-icon-blank nil)
diff --git a/mail/mew2/files/pkg-descr.tmpl b/mail/mew2/files/pkg-descr.tmpl
index 72644327fddb..60fa7d3f4f6e 100644
--- a/mail/mew2/files/pkg-descr.tmpl
+++ b/mail/mew2/files/pkg-descr.tmpl
@@ -1,7 +1,6 @@
Mew is a "Message interface to Emacs Window" to integrate
- Email
- - NetNews
- MIME(Multipurpose Internet Mail Extensions)
- PGP(Pretty Good Privacy)
@@ -9,12 +8,12 @@ and to make it easy to view and compose them. With Mew you can send a
picture of a birthday cake with the song "Happy Birthday to you" to your
friend, which is encrypted by strong cryptograph.
-This port is the Mew for %%EMACS_CMD%%(%%EMACS_PORTSDIR%%).
-The Mew port and corresponding Emacs port are listed bellow and elisp
+This port is the Mew%%MEW_MAJOR_VER%%(Mew with version %%MEW_MAJOR_VER%%) for %%EMACS_CMD%%(%%EMACS_PORTSDIR%%).
+The Mew%%MEW_MAJOR_VER%% port and corresponding Emacs port are listed bellow and elisp
`site-lisp' directory(elisp load path), info path and etc directory(only
effective for xemacs ports) are shown as well.
-mail/%%PORTNAME%%-%%EMACS_PORT_NAME%%(%%PKGNAME%%) ===> %%EMACS_PORTSDIR%%(%%EMACS_CMD%%)
+mail/%%PORTNAME%%%%MEW_MAJOR_VER%%-%%EMACS_PORT_NAME%%(%%PKGNAME%%) ===> %%EMACS_PORTSDIR%%(%%EMACS_CMD%%)
Lisp directory : %%ELISPDIR%%
Info directory : %%INFODIR%%
ETC directory : %%ETCDIR%%
diff --git a/mail/mew2/files/tmpl2file.sh b/mail/mew2/files/tmpl2file.sh
index ca169ce248c2..d8e1a662ca53 100644
--- a/mail/mew2/files/tmpl2file.sh
+++ b/mail/mew2/files/tmpl2file.sh
@@ -6,6 +6,7 @@ for f in ${TMPL_FILES}; do
-e "s,%%EMACS_PORTSDIR%%,${EMACS_PORTSDIR},g" \
-e "s,%%PKGNAME%%,${PKGNAME},g" \
-e "s,%%EMACS_PORT_NAME%%,${EMACS_PORT_NAME},g" \
+ -e "s,%%MEW_MAJOR_VER%%,${MEW_MAJOR_VER},g" \
-e "s,%%PORTNAME%%,${PORTNAME},g" \
-e "s,%%ELISPDIR%%,${ELISPDIR},g" \
-e "s,%%INFODIR%%,${INFODIR},g" \
diff --git a/mail/mew2/pkg-comment b/mail/mew2/pkg-comment
index a949d8cbc02d..716e8e2868af 100644
--- a/mail/mew2/pkg-comment
+++ b/mail/mew2/pkg-comment
@@ -1 +1 @@
-Message interface to Emacs Window for emacs
+Message interface to Emacs Window (version 2) for emacs20
diff --git a/mail/mew2/pkg-descr b/mail/mew2/pkg-descr
index c47a87be1498..eb6791574b91 100644
--- a/mail/mew2/pkg-descr
+++ b/mail/mew2/pkg-descr
@@ -1,7 +1,6 @@
Mew is a "Message interface to Emacs Window" to integrate
- Email
- - NetNews
- MIME(Multipurpose Internet Mail Extensions)
- PGP(Pretty Good Privacy)
@@ -9,12 +8,12 @@ and to make it easy to view and compose them. With Mew you can send a
picture of a birthday cake with the song "Happy Birthday to you" to your
friend, which is encrypted by strong cryptograph.
-This port is the Mew for emacs-19.34(editors/emacs).
-The Mew port and corresponding Emacs port are listed bellow and elisp
+This port is the Mew2(Mew with version 2) for emacs-20.7(editors/emacs20).
+The Mew2 port and corresponding Emacs port are listed bellow and elisp
`site-lisp' directory(elisp load path), info path and etc directory(only
effective for xemacs ports) are shown as well.
-mail/mew-emacs(mew-emacs-1.94.2) ===> editors/emacs(emacs-19.34)
+mail/mew2-emacs20(mew-emacs20-2.0) ===> editors/emacs20(emacs-20.7)
Lisp directory : /usr/local/share/emacs/site-lisp/mew
Info directory : /usr/local/info
ETC directory : /usr/local/share/emacs/etc/mew
diff --git a/mail/mew2/pkg-message b/mail/mew2/pkg-message
index a57d221f353e..7e59eb498790 100644
--- a/mail/mew2/pkg-message
+++ b/mail/mew2/pkg-message
@@ -1,9 +1,12 @@
*************************************************************************
* You must set at least following elisps to your own dot.emacs file: *
* *
-* (require 'mew-setup) *
* (autoload 'mew "mew" nil t) *
* (autoload 'mew-send "mew" nil t) *
-* (setq mew-mail-domain-list '("Name_Server_Domain_Name")) *
+* (setq mew-mail-domain "domain of e-mail address") *
+* (setq mew-pop-server "your POP server") ;; if not localhost *
+* (setq mew-smtp-server "your SMTP server") ;; if not localhost *
+* (setq mew-prog-pgpkey "fetch") ;; for PGP use *
+* (setq mew-prog-pgpkey-arg '("-q" "-o" "-"));; for PGP use *
* *
*************************************************************************
diff --git a/mail/mew2/pkg-plist b/mail/mew2/pkg-plist
index ccaf1f844565..74f5489ce5ce 100644
--- a/mail/mew2/pkg-plist
+++ b/mail/mew2/pkg-plist
@@ -1,164 +1,175 @@
bin/mewcat
bin/mewdecode
bin/mewencode
-bin/uumerge
-@exec [ -f %D/info/dir ] || sed -ne 1,/Menu:/p /usr/share/info/dir > %D/info/dir
-@unexec install-info --delete %D/info/mew.info %D/info/dir
-info/mew.info
-@exec install-info %D/info/mew.info %D/info/dir
-info/mew.info-1
-info/mew.info-2
-info/mew.info-3
-%%MEW_DOCDIR%%/00changes
-%%MEW_DOCDIR%%/00copyright
-%%MEW_DOCDIR%%/00copyright.jis
-%%MEW_DOCDIR%%/00diff
-%%MEW_DOCDIR%%/00readme
-%%MEW_DOCDIR%%/contrib/00readme
-%%MEW_DOCDIR%%/contrib/00readme-namazu.jis
-%%MEW_DOCDIR%%/contrib/im+.el
-%%MEW_DOCDIR%%/contrib/im+.readme.jis
-%%MEW_DOCDIR%%/contrib/imget.sh
-%%MEW_DOCDIR%%/contrib/imls.sh
-%%MEW_DOCDIR%%/contrib/imput.sh
-%%MEW_DOCDIR%%/contrib/ja.Emacs
-%%MEW_DOCDIR%%/contrib/mailto.el
-%%MEW_DOCDIR%%/contrib/mew-browse.el
-%%MEW_DOCDIR%%/contrib/mew-caesar.el
-%%MEW_DOCDIR%%/contrib/mew-cite-color.el
-%%MEW_DOCDIR%%/contrib/mew-f.el
-%%MEW_DOCDIR%%/contrib/mew-fake-imap.el
-%%MEW_DOCDIR%%/contrib/mew-gnus.el
-%%MEW_DOCDIR%%/contrib/mew-guess.el
-%%MEW_DOCDIR%%/contrib/mew-mailto.el
-%%MEW_DOCDIR%%/contrib/mew-ml.el
-%%MEW_DOCDIR%%/contrib/mew-nmz.el
-%%MEW_DOCDIR%%/contrib/mew-petname.el
-%%MEW_DOCDIR%%/contrib/mew-refile-misc.el
-%%MEW_DOCDIR%%/contrib/mew-refile-view.el
-%%MEW_DOCDIR%%/contrib/mew-sol.el
-%%MEW_DOCDIR%%/contrib/mew-summary-hl.el
-%%MEW_DOCDIR%%/contrib/mew-toolbar-frame.el
-%%MEW_DOCDIR%%/contrib/mew-virtual-thread.el
-%%MEW_DOCDIR%%/contrib/mew-wheel.el
-%%MEW_DOCDIR%%/contrib/mknmz-inc.pl
-%%MEW_DOCDIR%%/contrib/rfc2368.el
-%%MEW_DOCDIR%%/patches/00readme.jis
-%%MEW_DOCDIR%%/patches/canna.el-%%EMACS_VER%%.patch
-%%MEW_DOCDIR%%/patches/egg.el-%%EMACS_VER%%.patch
-%%MEW_DOCDIR%%/patches/egg.el-%%EMACS_VER%%.patch2
-%%EMACS_LIBDIR%%/etc/mew/Mew.img
-%%EMACS_LIBDIR%%/etc/mew/Mew.png
-%%EMACS_LIBDIR%%/etc/mew/Mew.xbm
-%%EMACS_LIBDIR%%/etc/mew/Mew.xpm
-%%EMACS_LIBDIR%%/etc/mew/etc/COLOR
-%%EMACS_LIBDIR%%/etc/mew/etc/mew-Plain.xpm
-%%EMACS_LIBDIR%%/etc/mew/etc/mew-curr.xpm
-%%EMACS_LIBDIR%%/etc/mew/etc/mew-folder.xpm
-%%EMACS_LIBDIR%%/etc/mew/etc/mew-inc2.xpm
-%%EMACS_LIBDIR%%/etc/mew/etc/mew-kill.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-Audio.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-Blank.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-External.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-Folder.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-Image.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-Octet-Stream.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-Postscript.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-Rfc822.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-Text.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-Unknown.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-Video.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-attach.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-cite.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-comp.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-forward.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-inc.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-next.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-pgp-enc.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-pgp-sigenc.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-pgp-sign.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-prev.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-refile.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-reply.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-send.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-sep.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-show.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-write.xpm
-%%EMACS_LIBDIR%%/etc/mew/mew-yank.xpm
-%%EMACS_LIBDIR%%/site-lisp/%%EMACS_SETUPEL%%
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-addrbook.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-addrbook.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-attach.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-attach.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-bq.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-bq.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-cache.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-cache.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-complete.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-complete.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-decode.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-decode.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-demo.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-demo.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-draft.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-draft.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-encode.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-encode.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-env.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-env.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-ext.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-ext.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-fib.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-fib.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-func.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-func.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-header.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-header.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-highlight.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-highlight.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-lang-jp.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-mark.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-mark.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-message.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-message.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-mime.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-mime.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-minibuf.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-minibuf.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-mule.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-mule0.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-mule2.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-mule3.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-os2.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-pgp.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-pgp.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-pick.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-pick.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-refile.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-refile.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-scan.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-scan.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-sort.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-sort.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-summary.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-summary.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-syntax.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-syntax.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-temacs.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-unix.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-vars.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-vars.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-virtual.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-virtual.elc
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-win32.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew-xemacs.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew.el
-%%EMACS_LIBDIR%%/site-lisp/mew/mew.elc
-@dirrm %%EMACS_LIBDIR%%/site-lisp/mew
+bin/mewls
+info/mew%%MEW_MAJOR_VER%%.info
+info/mew%%MEW_MAJOR_VER%%.info-1
+info/mew%%MEW_MAJOR_VER%%.info-2
+info/mew%%MEW_MAJOR_VER%%.info-3
+info/mew%%MEW_MAJOR_VER%%.jis.info
+info/mew%%MEW_MAJOR_VER%%.jis.info-1
+info/mew%%MEW_MAJOR_VER%%.jis.info-2
+share/doc/mew%%MEW_MAJOR_VER%%/00api
+share/doc/mew%%MEW_MAJOR_VER%%/00changes
+share/doc/mew%%MEW_MAJOR_VER%%/00copyright
+share/doc/mew%%MEW_MAJOR_VER%%/00copyright.jis
+share/doc/mew%%MEW_MAJOR_VER%%/00diff
+share/doc/mew%%MEW_MAJOR_VER%%/00readme
+share/doc/mew%%MEW_MAJOR_VER%%/contrib/00readme
+share/doc/mew%%MEW_MAJOR_VER%%/contrib/00readme-namazu.jis
+share/doc/mew%%MEW_MAJOR_VER%%/contrib/README-mewinc.jis
+share/doc/mew%%MEW_MAJOR_VER%%/contrib/incdir
+share/doc/mew%%MEW_MAJOR_VER%%/contrib/incmbox
+share/doc/mew%%MEW_MAJOR_VER%%/contrib/mew-browse.el
+share/doc/mew%%MEW_MAJOR_VER%%/contrib/mew-caesar.el
+share/doc/mew%%MEW_MAJOR_VER%%/contrib/mew-fancy-summary.el
+share/doc/mew%%MEW_MAJOR_VER%%/contrib/mew-gnus.el
+share/doc/mew%%MEW_MAJOR_VER%%/contrib/mew-nmz-fixer.el
+share/doc/mew%%MEW_MAJOR_VER%%/contrib/mew-nmz.el
+share/doc/mew%%MEW_MAJOR_VER%%/contrib/mew-refile-view.el
+share/doc/mew%%MEW_MAJOR_VER%%/contrib/mew-smime-ja.texi
+share/doc/mew%%MEW_MAJOR_VER%%/contrib/mew-toolbar-frame.el
+share/doc/mew%%MEW_MAJOR_VER%%/contrib/mewinc
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/Mew.img
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/Mew.png
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/Mew.xbm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/Mew.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/etc/COLOR
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/etc/mew-Plain.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/etc/mew-curr.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/etc/mew-folder.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/etc/mew-inc2.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/etc/mew-kill.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-Audio.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-Blank.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-External.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-Folder.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-Image.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-Octet-Stream.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-Postscript.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-Rfc82%%MEW_MAJOR_VER%%.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-Text.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-Unknown.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-Video.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-attach.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-cite.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-comp.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-forward.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-inc.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-next.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-pgp-enc.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-pgp-sigenc.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-pgp-sign.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-prev.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-queue.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-refile.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-reply.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-send.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-sep.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-show.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-write.xpm
+%%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/mew-yank.xpm
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-addrbook.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-addrbook.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-attach.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-attach.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-auth.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-auth.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-blvs.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-blvs.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-bq.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-bq.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-cache.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-cache.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-complete.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-complete.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-config.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-config.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-const.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-const.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-decode.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-decode.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-demo.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-demo.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-draft.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-draft.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-edit.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-edit.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-encode.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-encode.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-env.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-env.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-ext.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-ext.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-fib.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-fib.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-func.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-func.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-gemacs.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-header.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-header.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-highlight.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-highlight.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-key.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-key.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-lang-jp.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-mark.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-mark.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-md5.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-md5.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-message.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-message.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-mime.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-mime.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-minibuf.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-minibuf.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-mule.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-mule0.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-mule3.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-nntp.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-nntp.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-pgp.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-pgp.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-pick.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-pick.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-pop.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-pop.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-refile.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-refile.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-scan.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-scan.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-smime.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-smime.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-smtp.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-smtp.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-sort.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-sort.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-ssh.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-ssh.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-summary.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-summary.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-syntax.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-syntax.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-temacs.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-theme.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-theme.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-thread.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-thread.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-unix.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-vars.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-vars.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-vars2.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-vars2.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-virtual.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-virtual.elc
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-win32.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew-xemacs.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew.el
+%%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%/mew.elc
+@dirrm %%EMACS_LIBDIR%%/site-lisp/mew%%MEW_MAJOR_VER%%
@unexec rmdir %D/%%EMACS_LIBDIR%%/site-lisp 2>/dev/null || true
-@dirrm %%EMACS_LIBDIR%%/etc/mew/etc
-@dirrm %%EMACS_LIBDIR%%/etc/mew
+@dirrm %%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%/etc
+@dirrm %%EMACS_LIBDIR%%/etc/mew%%MEW_MAJOR_VER%%
@unexec rmdir %D/%%EMACS_LIBDIR%%/etc 2>/dev/null || true
-@dirrm %%MEW_DOCDIR%%/patches
-@dirrm %%MEW_DOCDIR%%/contrib
-@dirrm %%MEW_DOCDIR%%
+@dirrm share/doc/mew%%MEW_MAJOR_VER%%/contrib
+@dirrm share/doc/mew%%MEW_MAJOR_VER%%
diff --git a/mail/mew2/scripts/configure b/mail/mew2/scripts/configure
deleted file mode 100644
index f82ebf02a074..000000000000
--- a/mail/mew2/scripts/configure
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-for i in ${TARGETS}; do
- if [ -f ${WRKDIR}/${i}.in ]; then
- cat ${WRKDIR}/${i}.in | \
- sed \
- -e "s;%%LOCALBASE%%;${LOCALBASE};g" \
- -e "s;%%EMACS_LIBDIR%%;${EMACS_LIBDIR};g" \
- -e "s;%%EMACS_SETUPEL%%;${EMACS_SETUPEL};g" \
- > ${WRKDIR}/${i}
- fi
-done