aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoranray <anray@FreeBSD.org>2006-02-10 05:01:32 +0800
committeranray <anray@FreeBSD.org>2006-02-10 05:01:32 +0800
commit1cafb4c13f3e4b34afca7d0694dbe551d265cdf0 (patch)
tree59228f915c94b3aa3cf29009c4f083882aebcde5 /mail
parent3b970da0f65fa49f41abec5534da0816e26a3dc5 (diff)
downloadfreebsd-ports-gnome-1cafb4c13f3e4b34afca7d0694dbe551d265cdf0.tar.gz
freebsd-ports-gnome-1cafb4c13f3e4b34afca7d0694dbe551d265cdf0.tar.zst
freebsd-ports-gnome-1cafb4c13f3e4b34afca7d0694dbe551d265cdf0.zip
* Update mail/mew to 4.2, pass maintainership to submitter [1]
* Fix works slave mail/mew-emacs20. * Slave mail/mew-mule marked BROKEN, added EXPIRATION_DATE - wait fixes 2 months. PR: ports/92808 Submitted by: Hiroto Kagotani <hiroto.kagotani@gmail.com> [1]
Diffstat (limited to 'mail')
-rw-r--r--mail/mew-emacs20/Makefile15
-rw-r--r--mail/mew-emacs20/pkg-descr20
-rw-r--r--mail/mew-emacs20/pkg-message8
-rw-r--r--mail/mew-emacs20/pkg-plist156
-rw-r--r--mail/mew-mule/Makefile6
-rw-r--r--mail/mew/Makefile108
-rw-r--r--mail/mew/distinfo6
-rw-r--r--mail/mew/files/Addrbook25
-rw-r--r--mail/mew/files/dot.emacs.el.in95
-rw-r--r--mail/mew/files/message.sh26
-rw-r--r--mail/mew/files/mew-setup.el.in4
-rw-r--r--mail/mew/files/mew-xemacs-setup.el.in5
-rw-r--r--mail/mew/files/patch-Makefile.in32
-rw-r--r--mail/mew/files/patch-aa172
-rw-r--r--mail/mew/files/patch-ab25
-rw-r--r--mail/mew/files/patch-ac52
-rw-r--r--mail/mew/files/patch-ad13
-rw-r--r--mail/mew/files/patch-bin_Makefile.in37
-rw-r--r--mail/mew/files/patch-info_Makefile17
-rw-r--r--mail/mew/files/pkg-descr.tmpl20
-rw-r--r--mail/mew/files/tmpl2file.sh14
-rw-r--r--mail/mew/files/user-install.in374
-rw-r--r--mail/mew/pkg-descr22
-rw-r--r--mail/mew/pkg-message8
-rw-r--r--mail/mew/pkg-plist343
-rw-r--r--mail/mew/scripts/configure12
26 files changed, 317 insertions, 1298 deletions
diff --git a/mail/mew-emacs20/Makefile b/mail/mew-emacs20/Makefile
index d80448b47b7f..89d768bc3b0a 100644
--- a/mail/mew-emacs20/Makefile
+++ b/mail/mew-emacs20/Makefile
@@ -5,22 +5,13 @@
# $FreeBSD$
#
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Message interface to Emacs Window for emacs20
-
-# This is a slave port.
MASTERDIR= ${.CURDIR}/../mew
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Messaging in the Emacs World for emacs20
+
# set emacs port
USE_EMACS= yes
EMACS_PORT_NAME=emacs20
-# target name for make build and install
-ALL_TARGET= all jinfo #info
-INSTALL_TARGET= install install-info install-jinfo install-etc
-
-# use pkg-* files in ${.CURDIR}
-PKGDIR= ${.CURDIR}
-INFO= mew.jis
-
.include "${MASTERDIR}/Makefile"
diff --git a/mail/mew-emacs20/pkg-descr b/mail/mew-emacs20/pkg-descr
deleted file mode 100644
index 1e369b119133..000000000000
--- a/mail/mew-emacs20/pkg-descr
+++ /dev/null
@@ -1,20 +0,0 @@
-Mew is a "Message interface to Emacs Window" to integrate
-
- - Email
- - NetNews
- - MIME(Multipurpose Internet Mail Extensions)
- - PGP(Pretty Good Privacy)
-
-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-20.7(editors/emacs20).
-The Mew 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-emacs20(mew-emacs20-1.94.2) ===> 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/mew-emacs20/pkg-message b/mail/mew-emacs20/pkg-message
deleted file mode 100644
index c76c1f700c2a..000000000000
--- a/mail/mew-emacs20/pkg-message
+++ /dev/null
@@ -1,8 +0,0 @@
-*************************************************************************
-* 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")) *
-* *
-*************************************************************************
diff --git a/mail/mew-emacs20/pkg-plist b/mail/mew-emacs20/pkg-plist
deleted file mode 100644
index c0e87333f155..000000000000
--- a/mail/mew-emacs20/pkg-plist
+++ /dev/null
@@ -1,156 +0,0 @@
-bin/mewcat
-bin/mewdecode
-bin/mewencode
-bin/uumerge
-%%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-19.34.patch
-%%MEW_DOCDIR%%/patches/egg.el-19.34.patch
-%%MEW_DOCDIR%%/patches/egg.el-19.34.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/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
-@dirrmtry %%EMACS_LIBDIR%%/site-lisp
-@dirrm %%EMACS_LIBDIR%%/etc/mew/etc
-@dirrm %%EMACS_LIBDIR%%/etc/mew
-@dirrmtry %%EMACS_LIBDIR%%/etc
-@dirrm %%MEW_DOCDIR%%/patches
-@dirrm %%MEW_DOCDIR%%/contrib
-@dirrm %%MEW_DOCDIR%%
diff --git a/mail/mew-mule/Makefile b/mail/mew-mule/Makefile
index 8c32857b3796..a6eb069b15c2 100644
--- a/mail/mew-mule/Makefile
+++ b/mail/mew-mule/Makefile
@@ -5,11 +5,13 @@
# $FreeBSD$
#
+MASTERDIR= ${.CURDIR}/../mew
+
MAINTAINER= ports@FreeBSD.org
COMMENT= Message interface to Emacs Window for mule
-# This is a slave port.
-MASTERDIR= ${.CURDIR}/../mew
+BROKEN= "Not work on this emacs port"
+EXPIRATION_DATE= 2006-04-10
# set emacs port
USE_EMACS= yes
diff --git a/mail/mew/Makefile b/mail/mew/Makefile
index d13e53498d28..457098cf5ad2 100644
--- a/mail/mew/Makefile
+++ b/mail/mew/Makefile
@@ -1,115 +1,51 @@
# New ports collection makefile for: Mew
# Date created: 21 November 1997
# Whom: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
+# Hiroto Kagotani <hiroto.kagotani@gmail.com>
#
# $FreeBSD$
#
PORTNAME= mew
-PORTVERSION= ${MEW_VER}
+PORTVERSION= 4.2
CATEGORIES= mail elisp
-MASTER_SITES= ftp://ftp.mew.org/pub/Mew/old/ \
- ftp://ftp.kyushu-u.ac.jp/pub/Misc/mew/old/ \
+MASTER_SITES= http://www.Mew.org/Release/ \
${MASTER_SITE_PORTS_JP}
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
-MAINTAINER?= ports@FreeBSD.org
-COMMENT?= Message interface to Emacs Window for emacs
-
-# distfile version
-MEW_VER= 1.94.2
-
-.if !defined(EMACS_PORT_NAME)
-# setup.el filename
-EMACS_SETUPEL= ${PORTNAME}-setup.el
-.endif
+MAINTAINER?= hiroto.kagotani@gmail.com
+COMMENT?= Messaging in the Emacs World for emacs
# document install directory by install-doc target
-MEW_DOCDIR?= share/doc/${PORTNAME}
+DOCSDIR= share/doc/${PORTNAME}
# emacs port setup
USE_EMACS= yes
-EMACS_PORT_NAME?= emacs19
-
-# 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
+EMACS_PORT_NAME?= emacs21
-# 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}
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+MAKE_ARGS+= EMACS_SITE_LISPDIR=${EMACS_SITE_LISPDIR}
-INFO+= mew
+# target name for make build and install
+ALL_TARGET?= all info jinfo
+INSTALL_TARGET?= install install-jinfo
-pre-configure:
-.if defined(EMACS_SETUPEL)
- @${CP} ${FILESDIR}/${EMACS_SETUPEL}.in ${WRKDIR}
-.endif
+# manuals
+MAN1= mewcat.1 mewdecode.1 mewencode.1 mewl.1 incm.1
+INFO= mew mew.jis
post-install:
-.if defined(EMACS_SETUPEL)
- ${INSTALL_DATA} ${WRKDIR}/${EMACS_SETUPEL} \
- ${PREFIX}/${EMACS_LIBDIR}/site-lisp
-.endif
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/${MEW_DOCDIR}
+ ${MKDIR} ${PREFIX}/${DOCSDIR}
(cd ${WRKSRC} ; \
- ${INSTALL_DATA} 00* ${PREFIX}/${MEW_DOCDIR}/ ; \
- for dir in contrib patches; do \
- ${CP} -R $${dir} ${PREFIX}/${MEW_DOCDIR}/ ; \
+ ${INSTALL_DATA} 00* ${PREFIX}/${DOCSDIR}/ ; \
+ for dir in contrib; do \
+ ${CP} -R $${dir} ${PREFIX}/${DOCSDIR}/ ; \
done)
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${MEW_DOCDIR}
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${DOCSDIR}
.endif
-############################################################
-## Make DESCR and PLIST (only for MAINTAINER use)
-############################################################
-#.if ${EMACS_PORT_NAME} == "xemacs21" || ${EMACS_PORT_NAME} == "xemacs21-mule"
-#ELISPDIR= ${PREFIX}/${EMACS_PACKAGESDIR}/lisp/${PORTNAME}
-#INFODIR= ${PREFIX}/${EMACS_PACKAGESDIR}/info
-#ETCDIR= ${PREFIX}/${EMACS_PACKAGESDIR}/etc/${PORTNAME}
-#.else
-#ELISPDIR= ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
-#INFODIR= ${PREFIX}/info
-#ETCDIR= ${PREFIX}/${EMACS_LIBDIR}/etc/${PORTNAME}
-#REQUIRE= (require \'${EMACS_SETUPEL:S/^mew-/&${EMACS_PORT_NAME}-/:S/.el$//})
-#.endif
-#SCRIPTS_ENV+= EMACS_PORTSDIR=${EMACS_PORTSDIR:S,^${PORTSDIR}/,,} \
-# PKGNAME=${PKGNAME} ELISPDIR=${ELISPDIR} INFODIR=${INFODIR} \
-# ETCDIR=${ETCDIR} EMACS_CMD=${EMACS_CMD:S,${PREFIX}/bin/,,} \
-# PORTNAME=${PORTNAME} EMACS_PORT_NAME=${EMACS_PORT_NAME}
-#
-#pre-plist:
-# mkdir -p ${ELISPDIR} ${INFODIR} ${ETCDIR} \
-# ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp
-#
-#pre-arrange:
-# ${SETENV} ${SCRIPTS_ENV} WRKTMPDIR=${PKGDIR} TMPL_FILES=pkg-descr \
-# ${SH} ${FILESDIR}/tmpl2file.sh
-# ${SETENV} ${SCRIPTS_ENV} 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}$,,} \
-# ${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}$,,} \
-# ${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}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/mail/mew/distinfo b/mail/mew/distinfo
index 72cf0e19d6ee..8e0990f62fb7 100644
--- a/mail/mew/distinfo
+++ b/mail/mew/distinfo
@@ -1,3 +1,3 @@
-MD5 (mew-1.94.2.tar.gz) = 8b86e26586c07e9425e470706734a35d
-SHA256 (mew-1.94.2.tar.gz) = 04661868e3241536009c16c5c3e61eae486c17089dc5408a4d03ce3ca91a4504
-SIZE (mew-1.94.2.tar.gz) = 660238
+MD5 (mew-4.2.tar.gz) = 713e45d6358330309414adbaad3944f5
+SHA256 (mew-4.2.tar.gz) = 0e316e703f0d1754cf4cc1331f72292d454af11f8a13a43edceae418bda127da
+SIZE (mew-4.2.tar.gz) = 925037
diff --git a/mail/mew/files/Addrbook b/mail/mew/files/Addrbook
deleted file mode 100644
index 45ad31e9223c..000000000000
--- a/mail/mew/files/Addrbook
+++ /dev/null
@@ -1,25 +0,0 @@
-; See comments at end of this file
-; This file is almost empty as MH now supports personal aliases.
-
-;everyone: *
-
-; Blank lines and lines beginning with a ; are ignored.
-; < file -> read more aliases from "file"
-; foo: fum -> simple replacement
-; foo: fum, fie -> list replacement
-; foo: < file -> list replacement from "file"
-; foo: = group -> list replacement from UNIX group
-; foo: + group -> list replacement by ALL users in /etc/passwd
-; with gid == group
-; foo: * -> list replacement by ALL users in /etc/passwd
-; with uid >= 200
-; foo*: fum -> matches foo<string> (including the empty string)
-;
-; using a ';' instead of a ':' indicates that the alias should be displayed
-; along with the addresses used (normally, the addresses replace the alias
-; completely)
-ML-FreeBSD: FreeBSD-users-jp@jp.freebsd.org
-ML-fvwm: fvwm-users-jp@skylark.ics.es.osaka-u.ac.jp
-ML-SKK: skk@sato.kuis.kyoto-u.ac.jp
-ML-infotalk:infotalk-request@square.brl.ntt.jp
-ML-skkfep: skkfep@chanchan.suri.co.jp
diff --git a/mail/mew/files/dot.emacs.el.in b/mail/mew/files/dot.emacs.el.in
deleted file mode 100644
index 8cfe348595fa..000000000000
--- a/mail/mew/files/dot.emacs.el.in
+++ /dev/null
@@ -1,95 +0,0 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Mew ;;;;;;;;;
-;;; Mew (Ver.%%version%%) ;;;
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;;
-;;; Site configuration
-;;;
-%%REQUIRE%%
-(autoload 'mew "mew" nil t)
-(autoload 'mew-send "mew" nil t)
-(setq mew-mail-domain-list '("%%nameserver%%"))
-(setq mew-icon-directory "%%emacsdir%%/etc/mew")
-;;;
-;;; Window tips
-;;;
-;; If you use XEmacs and your video chip provides only limited
-;; color map(e.g. 256), put the following line to avoid exhaustion
-;; of colors.
-;(setq mew-demo-picture nil)
-(cond
- ((string-match "XEmacs" emacs-version)
-; (setq url-be-asynchronous t)
-; (setq-default buffer-file-coding-system 'iso-2022-jp)
-; (setq keyboard-coding-system 'iso-2022-jp)
-; (setq terminal-coding-system 'iso-2022-jp)
- (add-menu-item '("Apps") "Read Mail (Mew)" 'mew t "Read Mail (VM)...")
- (add-menu-item '("Apps") "Send Mail (Mew)" 'mew-send t "Read Mail (VM)...")
-; (delete-menu-item '("Apps" "Read Mail (VM)..."))
-; (delete-menu-item '("Apps" "Read Mail (MH)..."))
-; (delete-menu-item '("Apps" "Send mail..."))
- (setq toolbar-mail-reader 'Mew)
- (setq toolbar-mail-commands-alist
- (cons '(Mew . mew) toolbar-mail-commands-alist))
- )
- ((string< "20" emacs-version)
-; (setq standard-fontset-spec14
-; "-*-fixed-medium-r-normal-*-14-*-*-*-*-*-fontset-standard")
-; (create-fontset-from-fontset-spec standard-fontset-spec14 nil 'noerror)
-; (set-default-font standard-fontset-spec14)
- (setup-japanese-environment)
- )
- (t ;; Mule 2.3 or Emacs 19
- )
- )
-;;;
-;;; Citation tip
-;;;
-(setq mew-cite-fields '("From:" "Subject:" "Date:" "Message-ID:"))
-(setq mew-cite-format "From: %s\nSubject: %s\nDate: %s\nMessage-ID: %s\n\n")
-(setq mew-cite-prefix-function 'mew-cite-prefix-username)
-;(setq mew-cite-fields '("Message-ID:" "From:"))
-;(setq mew-cite-format "Message-ID: %s の記事にて\n%s さんは書かれました :\n\n")
-;; Change citation according to the message body language.
-;(setq mew-cite-fields '("Message-ID:" "From:"))
-;(defadvice mew-draft-cite (before my-add activate)
-; (save-excursion
-; (set-buffer (or mew-message-citation-buffer (mew-buffer-message)))
-; (if (string= (mew-charset-guess-region (point-min) (point-max))
-; "us-ascii" )
-; ;; us-ascii
-; (setq mew-cite-format "In Message-ID: %s\n%s wrote :\n\n")
-; ;; others
-; (setq mew-cite-format "Message-ID: %s の記事にて\n%s さんは書かれました :\n\n") )))
-;;;
-;;; Signature tip
-;;;
-;; Change signature according to the message body language.
-;(setq mew-signature-file "~/.signature")
-;(make-local-variable 'mew-signature-file)
-;(defadvice mew-draft-insert-signature (before my-add activate)
-; ;; 本文が英語なら mew-signature-file に ~/.signature.eng を代入する。
-; ;; 本文が英語以外なら mew-signature-file に ~/.signature を代入する。
-; ;; ~/.signature.eng に英語用の署名を書いておくこと。
-; (save-match-data
-; (let ((eng (string-match "\\.eng$" mew-signature-file)))
-; (if (string= (mew-charset-guess-region (point-min) (point-max))
-; "us-ascii" )
-; (if (not eng)
-; (setq mew-signature-file (concat mew-signature-file ".eng")) )
-; (if eng
-; (setq mew-signature-file (substring mew-signature-file 0 -4)) )))))
-;
-(setq mew-signature-insert-last t)
-(add-hook 'mew-send-hook 'mew-draft-insert-signature)
-;;;
-;;; Thread tip
-;;;
-;; Now threading is insufficient,but partially makes enough by comment out following line.
-;(setq mew-prog-imls-arg-list '("--thread=yes" "--indent=2"))
-;;;
-;;; Miscellaneous
-;;;
-(setq mew-underline-lines-use t)
-(setq mew-use-highlight-body t)
-;; If you use Wnn4/6,sj3 or Canna, comment out following line.
-;(setq mew-use-overlay-keymap nil)
diff --git a/mail/mew/files/message.sh b/mail/mew/files/message.sh
deleted file mode 100644
index a709991a5b4f..000000000000
--- a/mail/mew/files/message.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-if [ -z "${EMACS_SETUPEL}" ]; then
- 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")) *
-* *
-*************************************************************************
-EOF
-else
- 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")) *
-* *
-*************************************************************************
-EOF
-fi
diff --git a/mail/mew/files/mew-setup.el.in b/mail/mew/files/mew-setup.el.in
deleted file mode 100644
index e408ef6eb6e7..000000000000
--- a/mail/mew/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/mew/files/mew-xemacs-setup.el.in b/mail/mew/files/mew-xemacs-setup.el.in
deleted file mode 100644
index feb0d538d7d5..000000000000
--- a/mail/mew/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/mew/files/patch-Makefile.in b/mail/mew/files/patch-Makefile.in
new file mode 100644
index 000000000000..ccd237fe7b97
--- /dev/null
+++ b/mail/mew/files/patch-Makefile.in
@@ -0,0 +1,32 @@
+--- Makefile.in.orig Wed Dec 22 11:19:14 2004
++++ Makefile.in Wed Feb 1 12:46:58 2006
+@@ -26,9 +26,7 @@
+ ## Compile engines
+ ##
+
+-EMACS = emacs
+-#EMACS = xemacs
+-#EMACS = mule
++#EMACS = emacs
+
+ CHECK = xemacs
+
+@@ -36,16 +34,13 @@
+ ## A directory where mew*.el[c] will be installed.
+ ##
+
+-elispdir = $(prefix)/share/emacs/site-lisp/mew
+-#elispdir = $(prefix)/lib/$(EMACS)/site-lisp
+-#elispdir = $(prefix)/lib/emacs
++elispdir = $(prefix)/${EMACS_SITE_LISPDIR}/mew
+
+ ##
+ ## A directory where etc file will be installed.
+ ##
+
+-etcdir = $(prefix)/share/emacs/site-lisp/mew/etc
+-#etcdir = $(prefix)/lib/$(EMACS)/etc/Mew
++etcdir = $(prefix)/${EMACS_SITE_LISPDIR}/mew/etc
+
+ ################################################################
+ ##
diff --git a/mail/mew/files/patch-aa b/mail/mew/files/patch-aa
deleted file mode 100644
index 07d51807b839..000000000000
--- a/mail/mew/files/patch-aa
+++ /dev/null
@@ -1,172 +0,0 @@
---- Makefile.orig Wed Oct 20 20:20:51 1999
-+++ Makefile Tue Jul 10 23:35:24 2001
-@@ -19,8 +19,8 @@
- ## EDIT THE FOLLOWINGS
- ##
-
--PREFIX = /usr/local
--INFODIR = $(PREFIX)/info
-+PREFIX?= /usr/local
-+INFODIR= $(PREFIX)/info
-
- ##
- ## Compile engines
-@@ -30,10 +30,10 @@
- CFLAGS = -O
-
- #EMACS = emacs
--EMACS = xemacs
-+EMACS= ${EMACS_CMD}
- #EMACS = mule
-
--PERL=`which perl`
-+PERL?=`which perl`
- #PERL=/usr/local/bin/perl
-
- ##
-@@ -46,7 +46,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
-
-@@ -54,7 +54,10 @@
- ## A directory where etc file will be installed.
- ##
-
--ETCDIR = $(PREFIX)/lib/$(EMACS)/etc/Mew
-+ETCDIR= ${PREFIX}/${EMACS_LIBDIR}/etc/mew
-+
-+# For XEmacs packages
-+XPKGDIR= ${PREFIX}/${EMACS_PACKAGESDIR}
-
- ################################################################
- ##
-@@ -72,6 +75,8 @@
- mew-virtual.elc mew-highlight.elc mew-vars.elc \
- mew-addrbook.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 \
- mew.el
-
-+SRCS_PKG= auto-autoloads.el custom-load.el
-+
- TEMPFILE = temp.el
-
- CP = cp
-@@ -96,14 +103,14 @@
- BIN = bin
-
- all: $(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 @@
- @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)"
-
- clean:
-@@ -126,19 +133,69 @@
- cd info; $(MAKE) info EMACS=$(EMACS)
-
- install-info:
-- cd info; $(MAKE) install-info INFODIR=$(INFODIR)
-+ ${MKDIR} ${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)
-+ ${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)/
-+
-+package: ${OBJS} ${OBJS_PKG}
-+
-+${OBJS_PKG}: ${SRCS_PKG}
-+ ${EMACS} -vanilla -batch -eval "(push \"./\" load-path)" -l bytecomp \
-+ -f batch-byte-compile ${.ALLSRC}
-+
-+auto-autoloads.el : ${OBJS} _pkg.el
-+ ${EMACS} -vanilla -batch \
-+ -eval "(setq autoload-package-name \"${XEMACS_PKGNAME}\")" \
-+ -l autoload -f batch-update-directory .
-+ ${RM} -f auto-autoloads.el~
-+
-+custom-load.el : ${OBJS}
-+ ${EMACS} -vanilla -batch -l cus-dep -f Custom-make-dependencies .
-+ if [ ! -f ${.TARGET} ]; then \
-+ touch ${.TARGET}; \
-+ fi
-+
-+_pkg.el:
-+ @echo Creating _pkg.el
-+ @echo ";;;###autoload" > _pkg.el
-+ @echo "(package-provide '${XEMACS_PKGNAME}" >> _pkg.el
-+ @echo " :version $(XEMACS_PKGVER)" >> _pkg.el
-+ @echo " :type 'regular)" >> _pkg.el
-+
-+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" \
-+ 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
-+
-+install-mule-package: install-package
-+ ${MAKE} INFODIR=${XPKGDIR}/info XEMACS_VER_OVER20="yes" \
-+ install-jinfo
-
- ##
- ## End of Makefile
diff --git a/mail/mew/files/patch-ab b/mail/mew/files/patch-ab
deleted file mode 100644
index 2dac86223770..000000000000
--- a/mail/mew/files/patch-ab
+++ /dev/null
@@ -1,25 +0,0 @@
---- 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)
- $(RM) $(ALT)
- for f in $(ALT); do \
-- ln $(PRG) $${f}; done
-+ ln -sf $(PRG) $${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)
- 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)
-
- clean:
- $(RM) $(OBJS) $(PRG) $(ALT) $(OTH)
diff --git a/mail/mew/files/patch-ac b/mail/mew/files/patch-ac
deleted file mode 100644
index 3efb03c40dd8..000000000000
--- a/mail/mew/files/patch-ac
+++ /dev/null
@@ -1,52 +0,0 @@
---- 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
- ##
diff --git a/mail/mew/files/patch-ad b/mail/mew/files/patch-ad
deleted file mode 100644
index 4a2dedb620c4..000000000000
--- a/mail/mew/files/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
---- 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)))
diff --git a/mail/mew/files/patch-bin_Makefile.in b/mail/mew/files/patch-bin_Makefile.in
new file mode 100644
index 000000000000..d096de781295
--- /dev/null
+++ b/mail/mew/files/patch-bin_Makefile.in
@@ -0,0 +1,37 @@
+--- bin/Makefile.in.orig Thu Mar 6 19:42:22 2003
++++ bin/Makefile.in Wed Feb 1 12:34:41 2006
+@@ -26,6 +26,8 @@
+ LIBS = @LIBS@
+
+ INSTALL = @INSTALL@
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_DATA = @INSTALL_DATA@
+ LN = ln
+ RM = rm -f
+ MKDIR = mkdir -p
+@@ -95,19 +97,19 @@
+ -@if [ ! -d $(bindir) ]; then \
+ $(MKDIR) $(bindir); \
+ fi
+- $(INSTALL) -m 555 $(PRG1) $(bindir)
++ ${INSTALL_PROGRAM} $(PRG1) $(bindir)
+ for f in $(ALT); do \
+ $(RM) $(bindir)/$${f}; $(LN) $(bindir)/$(PRG1) $(bindir)/$${f}; done
+- $(INSTALL) -m 555 $(PRG2) $(bindir)
+- $(INSTALL) -m 555 $(PRG3) $(bindir)
++ ${INSTALL_PROGRAM} $(PRG2) $(bindir)
++ ${INSTALL_PROGRAM} $(PRG3) $(bindir)
+ -@if [ ! -d $(mandir) ]; then \
+ $(MKDIR) $(mandir); \
+ fi
+- $(INSTALL) -m 444 $(MAN1) $(mandir)
++ ${INSTALL_DATA} $(MAN1) $(mandir)
+ for f in $(MALT); do \
+ $(RM) $(mandir)/$${f}; $(LN) $(mandir)/$(MAN1) $(mandir)/$${f}; done
+- $(INSTALL) -m 444 $(MAN2) $(mandir)
+- $(INSTALL) -m 444 $(MAN3) $(mandir)
++ ${INSTALL_DATA} $(MAN2) $(mandir)
++ ${INSTALL_DATA} $(MAN3) $(mandir)
+
+ ##
+ ## End of Makefile
diff --git a/mail/mew/files/patch-info_Makefile b/mail/mew/files/patch-info_Makefile
new file mode 100644
index 000000000000..1d4cf7c11eff
--- /dev/null
+++ b/mail/mew/files/patch-info_Makefile
@@ -0,0 +1,17 @@
+--- info/Makefile.orig Mon Dec 27 13:00:04 2004
++++ info/Makefile Tue Jan 31 23:32:37 2006
+@@ -15,12 +15,10 @@
+ ## EDIT THE FOLLOWINGS
+ ##
+
+-prefix=/usr/local
++prefix=${PREFIX}
+ infodir=$(prefix)/info
+
+-EMACS=emacs
+-#EMACS = xemacs
+-#EMACS = mule
++EMACS=${EMACS_CMD}
+
+ INSTALLINFO = `which install-info`
+ #INSTALLINFO = /usr/local/bin/install-info
diff --git a/mail/mew/files/pkg-descr.tmpl b/mail/mew/files/pkg-descr.tmpl
deleted file mode 100644
index 72644327fddb..000000000000
--- a/mail/mew/files/pkg-descr.tmpl
+++ /dev/null
@@ -1,20 +0,0 @@
-Mew is a "Message interface to Emacs Window" to integrate
-
- - Email
- - NetNews
- - MIME(Multipurpose Internet Mail Extensions)
- - PGP(Pretty Good Privacy)
-
-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
-`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%%)
- Lisp directory : %%ELISPDIR%%
- Info directory : %%INFODIR%%
- ETC directory : %%ETCDIR%%
diff --git a/mail/mew/files/tmpl2file.sh b/mail/mew/files/tmpl2file.sh
deleted file mode 100644
index ca169ce248c2..000000000000
--- a/mail/mew/files/tmpl2file.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-for f in ${TMPL_FILES}; do
- sed \
- -e "s,%%EMACS_CMD%%,${EMACS_CMD},g" \
- -e "s,%%EMACS_PORTSDIR%%,${EMACS_PORTSDIR},g" \
- -e "s,%%PKGNAME%%,${PKGNAME},g" \
- -e "s,%%EMACS_PORT_NAME%%,${EMACS_PORT_NAME},g" \
- -e "s,%%PORTNAME%%,${PORTNAME},g" \
- -e "s,%%ELISPDIR%%,${ELISPDIR},g" \
- -e "s,%%INFODIR%%,${INFODIR},g" \
- -e "s,%%ETCDIR%%,${ETCDIR},g" \
- < ${FILESDIR}/${f}.tmpl > ${WRKTMPDIR}/${f}
-done
diff --git a/mail/mew/files/user-install.in b/mail/mew/files/user-install.in
deleted file mode 100644
index ee1a7ad4d9f4..000000000000
--- a/mail/mew/files/user-install.in
+++ /dev/null
@@ -1,374 +0,0 @@
-#!/bin/sh
-
-PREFIX=%%PREFIX%%
-EMACSDIR=%%EMACSDIR%%
-ELISPDIR=%%ELISPDIR%%
-SAMPLEDIR=%%SAMPLEDIR%%
-
-AWK=%%AWK%%
-CAT=%%CAT%%
-CP=%%CP%%
-ECHO=%%ECHO%%
-MKDIR="%%MKDIR%%"
-RM=%%RM%%
-SED=%%SED%%
-TOUCH=%%TOUCH%%
-DIALOG=/usr/bin/dialog
-
-select()
-{
- local Language key
- Language="\
-Choose a language when you write mails.\n\
- (Now is \"${language}\" selected.)"
- ${DIALOG} --title "Choose the Language" \
- --hline "Select Items and Quit when finished" \
- --menu "${Language}" -1 -1 2 \
- English "English" \
- Japanese "japanese" \
- 2> /tmp/menu.$$
- retval=$?
- key=`${CAT} /tmp/menu.$$|${SED} -e 's/\"//g'`
- ${RM} -f /tmp/menu.$$
- case $retval in
- 0) if [ -z ${key} ]; then return; fi ;;
- 1) return ;;
- 255) return ;;
- esac
- language=${key}
-# echo citation:key=${key},dot_emacs=${dot_emacs}>>/tmp/temp
-}
-
-input_data()
-# argument No.1 ($1) : Key words (string)
-# argument No.2 ($2) : Variable for the Key words (string)
-# argument No.3 ($3) : unit for the variable (string)
-{
- local key
-# echo '$1='$1
-# echo '$2='$2
-# echo '$3='$3
-# exit 1
-# echo '${nameserver}='${mail_address}
-# eval echo '${'$2'}'
- eval key='${'$2'}'
-# echo key=${key}
-# exit 1
- if [ ! -z ${key} ]; then
- ${DIALOG} --title "Confirm $1" \
- --hline "Press Yes/No" \
- --yesno "$1 $3 has set \"${key}\". Is this OK?" -1 -1
- retval=$?
- if [ X"${retval}" = "X0" -o X"${retval}" = "X255" ]; then return; fi
- fi
- ${DIALOG} --title "Set $1 $3" \
- --hline "Write $1 $3" \
- --inputbox "Specify $1 $3" -1 -1 \
- 2> /tmp/input.$$
- eval $2=`${CAT} /tmp/input.$$`
- ${RM} -f /tmp/input.$$
-}
-
-options()
-{
- local Options keys del_keys
- Options="\
-Please select Mew functions that you want to. To select a function, \n\
-use the arrow keys to move to it and press [SPACE]. To de-select it, \n\
-press [SPACE] again. Select OK or Cancel to leave this menu."
- del_keys="Highlight Citation Cite_Change Sign_Change"
- ${DIALOG} --title "Select Mew functions" \
- --hline "" \
- --checklist "${Options}" -1 -1 4 \
- Highlight "highlight body for Mew(Japanese)" ${options_Highlight} \
- Citation "Citation with the mail." ${options_Citation} \
- Cite_Change "Change citation English <--> Japanese." ${options_Cite_Change} \
- Sign_Change "Change signature English <--> Japanese." ${options_Sign_Change} \
- 2> /tmp/checklist.$$
- retval=$?
- keys=`${CAT} /tmp/checklist.$$|${SED} -e 's/\"//g'`
- ${RM} -f /tmp/checklist.$$
- case $retval in
- 1) return ;;
- 255) return ;;
- esac
- dot_emacs=""
-# echo keys=$keys
- for k in ${keys}; do
- del_keys=`${ECHO} ${del_keys}|${SED} -e "s/ *${k}//g"`
-# echo del_keys=${del_keys}
-# echo k=$k
- case ${k} in
- Highlight)
- dot_emacs="${dot_emacs} dot.emacs-highlight-body.el"
- options_Highlight=ON
- ;;
- Citation)
- citation
-# echo options:key=${k},dot_emacs=${dot_emacs}>>/tmp/temp
- options_Citation=ON
- ;;
- Cite_Change)
- dot_emacs="${dot_emacs} dot.emacs-cite-change.el"
- options_Cite_Change=ON
- ;;
- Sign_Change)
- dot_emacs="${dot_emacs} dot.emacs-signature-change.el"
- options_Sign_Change=ON
- ;;
- esac
- done
-# exit 1
- for k in ${del_keys}; do
-# echo k=$k
- case ${k} in
- Highlight)
- dot_emacs=`${ECHO} ${dot_emacs}|${SED} -e "s/ *dot\.emacs-highlight-body\.el//"`
- options_Highlight=OFF
- ;;
- Citation)
- options_Citation=OFF
- ;;
- Cite_Change)
- dot_emacs=`${ECHO} ${dot_emacs}|${SED} -e "s/ *dot\.emacs-cite-change\.el//"`
- options_Cite_Change=OFF
- ;;
- Sign_Change)
- dot_emacs=`${ECHO} ${dot_emacs}|${SED} -e "s/ *dot\.emacs-signature-change\.el//"`
- options_Sign_Change=OFF
- ;;
- esac
- done
-# echo dot_emacs=${dot_emacs}
-# echo del_keys=${del_keys}
-# exit 1
-}
-
-citation()
-{
- dot_emacs=`${ECHO} ${dot_emacs}|${SED} -e "s/ *dot\.emacs-cite.[a-z]*//g"`
- case ${language} in
- English)
- dot_emacs="${dot_emacs} dot.emacs-cite.el"
- ;;
- Japanese)
- dot_emacs="${dot_emacs} dot.emacs-cite.ja.el"
- ;;
- esac
-# echo citation:key=${key},dot_emacs=${dot_emacs}>>/tmp/temp
-}
-
-case ${TERM} in
-emacs)
- ${ECHO} "Here is \"Emacs\" shell. Try on other terminal."
- exit 1
- ;;
-esac
-
-version="%%VERSION%%"
-#version="1.92"
-
-SEDCMD='${SED}
- -e "s,%%prefix%%,${PREFIX},g"
- -e "s,%%emacsdir%%,${EMACSDIR},g"
- -e "s,%%elispdir%%,${ELISPDIR},g"
- -e "s,%%version%%,${version},g"
- -e "s,%%nameserver%%,${nameserver},g"
- -e "s,%%mail_address%%,${mail_address},g"
- -e "s,%%domain_name%%,${domain_name},g"
- -e "s,%%default_domain_name%%,${default_domain_name},g"
- -e "s,%%signature%%,${signature},g"'
-
-###
-# Check ~/.backup directory exist.
-#
-${MKDIR} ${HOME}/.backup
-
-###
-# Backup all files.
-#
-${CP} ${HOME}/${dot_emacs_file} ${HOME}/.backup/${dot_emacs_file}.$$
-${CP} ${HOME}/.im/Config ${HOME}/.backup/Config.$$
-
-###
-# Check ~/.im/Config file exist.
-#
-if [ ! -f ${HOME}/.im/Config ]; then
- ${ECHO} "${HOME}/.im/Config: Not found. Do imsetup first."
- exit 1
-else
- mail_address=`${AWK} '/^Address=/{sub(/^Address=/,"");print}' ${HOME}/.im/Config`
- domain_name=`${AWK} '/^FromDomain=/{sub(/^FromDomain=/,"");print}' ${HOME}/.im/Config`
- default_domain_name=`${AWK} '/^ToDomain=/{sub(/^ToDomain=/,"");print}' ${HOME}/.im/Config`
- if [ X"${mail_address}" = "X%%mail_address%%" ]; then
- mail_address=""
- else
- ${CP} ${HOME}/.im/Config ${HOME}/.backup/Config
- ${SED} -e 's/^\(Address=\).*$/\1%%mail_address%%/' \
- < ${HOME}/.backup/Config > ${HOME}/.im/Config
- fi
- if [ X"${domain_name}" = "X%%domain_name%%" ]; then
- domain_name=""
- else
- ${CP} ${HOME}/.im/Config ${HOME}/.backup/Config
- ${SED} -e 's/^\(FromDomain=\).*$/\1%%domain_name%%/' \
- < ${HOME}/.backup/Config > ${HOME}/.im/Config
- fi
- if [ X"${default_domain_name}" = "X%%default_domain_name%%" ]; then
- default_domain_name=""
- else
- ${CP} ${HOME}/.im/Config ${HOME}/.backup/Config
- ${SED} -e 's/^\(ToDomain=\).*$/\1%%default_domain_name%%/' \
- < ${HOME}/.backup/Config > ${HOME}/.im/Config
- fi
-fi
-
-###
-# Copy "aliases" if none
-#
-if [ ! -f ${HOME}/.im/Aliases ]; then
- ${CP} ${SAMPLEDIR}/Aliases ${HOME}/.im
-fi
-
-###
-# Set user environment : nameserver, signature
-#
-options_Highlight=OFF
-options_Citation=OFF
-options_Cite_Change=OFF
-options_Sign_Change=OFF
-language=English
-dot_emacs_file=.emacs
-
-PreSet="\
-This is the main menu of the Mew configuration pre-settings. Please \n\
-select one of the options below by using the arrow keys or typing the \n\
-first character of the option name you intend to set. Invoke an option \n\
-by pressing [ENTER] or [TAB-ENTER] to exit the settings."
-
-answer=None
-while [ ! X"${answer}" = "XQuit" ]; do
- ${DIALOG} --title "Pre-set Mew configurations" \
- --hline "To select an item press [Enter] on the item" \
- --menu "${PreSet}" -1 -1 3 \
- Language "Determine language in use on Mew" \
- DotEmacs "Choose dot.emacs files being to use" \
- Quit "Quit this menu" \
- 2> /tmp/menu.$$
- retval=$?
- answer=`${CAT} /tmp/menu.$$|${SED} -e 's/\"//g'`
- ${RM} -f /tmp/menu.$$
- case $retval in
- 0) if [ -z ${answer} ]; then ${ECHO} "Nothing selected"; contiue; fi ;;
- 1) break ;;
- 255) break ;;
- esac
- case ${answer} in
- Language)
- select
- ;;
- DotEmacs)
- input_data "Emacs dot.emacs file name" "dot_emacs_file" ""
- ;;
- Quit)
- answer=Quit
- ;;
- esac
-done
-
-#echo language=${language}
-#echo dot_emacs_file=${dot_emacs_file}
-#exit 1
-
-MainMenu="\
-This is the main menu of the Mew configuration settings. Please select \n\
-one of the options below by using the arrow keys or typing the first \n\
-character of the option name you intend to set. Invoke an option by \n\
-pressing [ENTER] or [TAB-ENTER] to exit the settings."
-
-answer=None
-while [ ! X"${answer}" = "XQuit" ]; do
- ${DIALOG} --title "Set Mew configurations" \
- --hline "Select Items and Quit when finished" \
- --menu "${MainMenu}" -1 -1 6 \
- NameServer "Name server Domain name" \
- MailAddress "Your mail address (with FQDN)" \
- DomainName "Your domain name" \
- DefaultDomain "Default domain name in abbrivation" \
- Options "Various options on using Mew" \
- Quit "Quit this menu" \
- 2> /tmp/menu.$$
- retval=$?
- answer=`${CAT} /tmp/menu.$$`
- ${RM} -f /tmp/menu.$$
- case $retval in
- 0) if [ -z ${answer} ]; then
- ${ECHO} "Nothing selected"
- exit 1
- fi
- ;;
- 1) ${ECHO} "Cancel pressed."
- exit 1
- ;;
- 255) ${ECHO} "ESC pressed."
- exit 1
- ;;
- esac
- case ${answer} in
- NameServer)
- input_data "Name Server" "nameserver" ""
- ;;
- MailAddress)
- input_data "Mail Address" "mail_address" ""
- ;;
- DomainName)
- input_data "Domain Name" "domain_name" ""
- ;;
- DefaultDomain)
- input_data "Default Domain Name" "default_domain_name" ""
- ;;
- Options)
-# options
- ;;
- Quit)
- answer=Quit
- ;;
- esac
-done
-
-#echo 'nameserver='${nameserver}
-#echo 'mail_address='${mail_address}
-#echo 'domain_name='${domain_name}
-#echo 'defaut_domain_name='${default_domain_name}
-
-#exit 1
-
-###
-# Custumize startup files with selected options.
-#
-dot_emacs="dot.emacs.el ${dot_emacs}"
-eval ${SEDCMD} < ${HOME}/.im/Config > ${HOME}/.backup/Config
-
-###
-# Add Mew startup setting to ~/.emacs
-#
-if [ -f ${dot_emacs_file} ]; then
- ${SED} -e '/^;;;* Mew ;*$/,/^;;; *Mew end$/d' < ${HOME}/${dot_emacs_file} \
- > ${HOME}/.backup/${dot_emacs_file}
-else
- ${ECHO} "Create new \"dot.emacs\" file: ${dot_emacs_file}"
-fi
-
-#echo 'dot_emacs='${dot_emacs}
-for f in ${dot_emacs}; do
- ${CAT} ${SAMPLEDIR}/dot.emacs/${f} |\
- eval ${SEDCMD} >> ${HOME}/.backup/${dot_emacs_file}
-done
-${ECHO} ";;; Mew end" \
- >> ${HOME}/.backup/${dot_emacs_file}
-${CP} ${HOME}/.backup/${dot_emacs_file} ${HOME}/${dot_emacs_file}
-
-###
-# Copy im Config file to ~/.im
-#
-${CP} ${HOME}/.backup/Config ${HOME}/.im/Config
diff --git a/mail/mew/pkg-descr b/mail/mew/pkg-descr
index c47a87be1498..865b58e4825e 100644
--- a/mail/mew/pkg-descr
+++ b/mail/mew/pkg-descr
@@ -1,20 +1,4 @@
-Mew is a "Message interface to Emacs Window" to integrate
+Mew is a user interface for text messages, multimedia messages(MIME),
+news articles and security functionality including PGP, SSH and SSL.
- - Email
- - NetNews
- - MIME(Multipurpose Internet Mail Extensions)
- - PGP(Pretty Good Privacy)
-
-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
-`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)
- Lisp directory : /usr/local/share/emacs/site-lisp/mew
- Info directory : /usr/local/info
- ETC directory : /usr/local/share/emacs/etc/mew
+WWW: http://www.Mew.org/
diff --git a/mail/mew/pkg-message b/mail/mew/pkg-message
index a57d221f353e..575fbc4093d6 100644
--- a/mail/mew/pkg-message
+++ b/mail/mew/pkg-message
@@ -1,9 +1,13 @@
*************************************************************************
* 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-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 *
* *
*************************************************************************
diff --git a/mail/mew/pkg-plist b/mail/mew/pkg-plist
index 81e77bddd90b..03ee2683191d 100644
--- a/mail/mew/pkg-plist
+++ b/mail/mew/pkg-plist
@@ -1,156 +1,193 @@
+bin/incm
bin/mewcat
bin/mewdecode
bin/mewencode
-bin/uumerge
-%%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
-@dirrm %%EMACS_LIBDIR%%/etc/mew/etc
-@dirrm %%EMACS_LIBDIR%%/etc/mew
-@dirrmtry %%EMACS_LIBDIR%%/etc
-@dirrm %%MEW_DOCDIR%%/patches
-@dirrm %%MEW_DOCDIR%%/contrib
-@dirrm %%MEW_DOCDIR%%
+bin/mewl
+%%PORTDOCS%%%%DOCSDIR%%/00api
+%%PORTDOCS%%%%DOCSDIR%%/00changes
+%%PORTDOCS%%%%DOCSDIR%%/00changes.0
+%%PORTDOCS%%%%DOCSDIR%%/00changes.1
+%%PORTDOCS%%%%DOCSDIR%%/00changes.2
+%%PORTDOCS%%%%DOCSDIR%%/00changes.3
+%%PORTDOCS%%%%DOCSDIR%%/00changes.4.1
+%%PORTDOCS%%%%DOCSDIR%%/00copyright
+%%PORTDOCS%%%%DOCSDIR%%/00copyright.jis
+%%PORTDOCS%%%%DOCSDIR%%/00diff
+%%PORTDOCS%%%%DOCSDIR%%/00readme
+%%PORTDOCS%%%%DOCSDIR%%/00readme.smime
+%%PORTDOCS%%%%DOCSDIR%%/00roadmap
+%%PORTDOCS%%%%DOCSDIR%%/contrib/00readme
+%%PORTDOCS%%%%DOCSDIR%%/contrib/mew-browse.el
+%%PORTDOCS%%%%DOCSDIR%%/contrib/mew-caesar.el
+%%PORTDOCS%%%%DOCSDIR%%/contrib/mew-edebug.el
+%%PORTDOCS%%%%DOCSDIR%%/contrib/mew-fancy-summary.el
+%%PORTDOCS%%%%DOCSDIR%%/contrib/mew-nmz-fixer.el
+%%PORTDOCS%%%%DOCSDIR%%/contrib/mew-refile-view.el
+%%PORTDOCS%%%%DOCSDIR%%/contrib/mew-toolbar-frame.el
+%%EMACS_SITE_LISPDIR%%/mew/etc/Mew.img
+%%EMACS_SITE_LISPDIR%%/mew/etc/Mew.png
+%%EMACS_SITE_LISPDIR%%/mew/etc/Mew.xbm
+%%EMACS_SITE_LISPDIR%%/mew/etc/Mew.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/etc/COLOR
+%%EMACS_SITE_LISPDIR%%/mew/etc/etc/mew-Plain.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/etc/mew-curr.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/etc/mew-folder.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/etc/mew-inc2.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/etc/mew-kill.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Audio.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Blank.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-External.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Folder.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Image.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Octet-Stream.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Postscript.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Rfc822.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Text.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Unknown.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-Video.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-attach.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-cite.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-forward.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-inc.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-lock.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-next.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-pgp-enc.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-pgp-sigenc.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-pgp-sign.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-prev.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-queue.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-refile.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-reply.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-send.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-sep.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-show.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-write.xpm
+%%EMACS_SITE_LISPDIR%%/mew/etc/mew-yank.xpm
+%%EMACS_SITE_LISPDIR%%/mew/mew-addrbook.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-addrbook.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-attach.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-attach.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-auth.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-auth.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-blvs.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-blvs.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-bq.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-bq.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-cache.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-cache.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-complete.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-complete.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-config.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-config.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-const.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-const.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-darwin.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-decode.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-decode.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-demo.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-demo.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-draft.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-draft.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-edit.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-edit.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-encode.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-encode.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-env.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-env.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-exec.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-exec.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-ext.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-ext.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-fib.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-fib.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-func.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-func.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-gemacs.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-header.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-header.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-highlight.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-highlight.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-imap.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-imap.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-imap2.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-imap2.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-key.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-key.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-lang-jp.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-lang-kr.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-lang-latin.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-local.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-local.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-mark.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-mark.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-md5.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-md5.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-message.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-message.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-mime.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-mime.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-minibuf.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-minibuf.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-mule.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-mule0.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-mule3.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-net.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-net.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-nmz.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-nmz.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-nntp.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-nntp.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-nntp2.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-nntp2.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-pgp.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-pgp.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-pick.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-pick.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-pop.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-pop.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-refile.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-refile.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-scan.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-scan.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-smime.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-smime.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-smtp.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-smtp.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-sort.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-sort.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-ssh.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-ssh.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-ssl.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-ssl.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-summary.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-summary.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-summary2.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-summary2.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-summary3.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-summary3.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-summary4.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-summary4.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-syntax.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-syntax.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-temacs.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-theme.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-theme.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-thread.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-thread.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-unix.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-vars.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-vars.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-vars2.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-vars2.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-virtual.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-virtual.elc
+%%EMACS_SITE_LISPDIR%%/mew/mew-win32.el
+%%EMACS_SITE_LISPDIR%%/mew/mew-xemacs.el
+%%EMACS_SITE_LISPDIR%%/mew/mew.el
+%%EMACS_SITE_LISPDIR%%/mew/mew.elc
+@dirrm %%EMACS_SITE_LISPDIR%%/mew/etc/etc
+@dirrm %%EMACS_SITE_LISPDIR%%/mew/etc
+@dirrm %%EMACS_SITE_LISPDIR%%/mew
+@dirrmtry %%EMACS_SITE_LISPDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/contrib
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
diff --git a/mail/mew/scripts/configure b/mail/mew/scripts/configure
deleted file mode 100644
index f82ebf02a074..000000000000
--- a/mail/mew/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