From owner-freebsd-ports Thu Nov 27 21:10:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA20230 for ports-outgoing; Thu, 27 Nov 1997 21:10:25 -0800 (PST) (envelope-from owner-freebsd-ports) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA20199; Thu, 27 Nov 1997 21:10:18 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 27 Nov 1997 21:10:18 -0800 (PST) Resent-Message-Id: <199711280510.VAA20199@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-ports Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, kiri@kiri.toba-cmt.ac.jp Received: from kiri.toba-cmt.ac.jp (kiri.toba-cmt.ac.jp [202.26.248.91]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA19825 for ; Thu, 27 Nov 1997 21:03:12 -0800 (PST) (envelope-from kiri@kiri.toba-cmt.ac.jp) Received: (from kiri@localhost) by kiri.toba-cmt.ac.jp (8.8.8/8.8.7) id NAA00986; Fri, 28 Nov 1997 13:07:37 +0900 (JST) Message-Id: <199711280407.NAA00986@kiri.toba-cmt.ac.jp> Date: Fri, 28 Nov 1997 13:07:37 +0900 (JST) From: Kazuhiko Kiriyama(System administrator) Reply-To: kiri@kiri.toba-cmt.ac.jp To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/5169: Update port ja-mew-1.92 (japanese/mew). Sender: owner-freebsd-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 5169 >Category: ports >Synopsis: Update port ja-mew-1.92 (japanese/mew). >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Class: support >Submitter-Id: current-users >Arrival-Date: Thu Nov 27 21:10:14 PST 1997 >Last-Modified: >Originator: Kazuhiko Kiriyama >Organization: Toba National College of Maritime Technology. Department of Electronic Mechanical Engineering >Release: FreeBSD 2.2.5-STABLE i386 >Environment: >Description: I've updated the port ja-mew-1.92 (japanese/mew). Current modifications is (1) Slave to mail/mew-mule Delete and Update files are respecively [Delete] : files/DEINSTALL.tmpl files/INSTALL.tmpl files/MH-postproc.jp.tmpl files/MH-postproc.tmpl files/aliases files/dot.emacs files/dot.emacs.jp files/dot.mh_profile files/dot.mh_profile.jp files/md5 files/scan.form files/scan.form.jp files/user-install.tmpl patches/patch-aa patches/patch-ab patches/patch-ac patches/patch-ad patches/patch-ae patches/patch-af pkg/PLIST [Update] : Makefile pkg/COMMENT pkg/DESCR I put the diff from ports-current(japanese/mew) in "Fix:". >How-To-Repeat: >Fix: diff -aurN ../../current/japanese/mew/Makefile ./Makefile --- ../../current/japanese/mew/Makefile Tue Sep 23 10:11:05 1997 +++ ./Makefile Wed Nov 26 11:18:14 1997 @@ -1,87 +1,14 @@ -# New ports collection makefile for: Mew -# Version required: 1.70 +# New ports collection makefile for: Mew for Japanese mule +# Version required: 1.92 # Date created: 30 December 1996 # Whom: Kiriyama Kazuhiko # # $Id: Makefile,v 1.6 1997/09/22 17:14:20 max Exp $ # -DISTNAME= mew-1.70 -PKGNAME?= ja-mew-1.70 -CATEGORIES?= mail japanese -MASTER_SITES= ftp://ftp.aist-nara.ac.jp/pub/elisp/Mew/ \ - ftp://ftp.kyushu-u.ac.jp/pub/Misc/mew/ \ - ftp://ports.jp.freebsd.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/ +PKGNAME= ja-mew-1.92 +CATEGORIES= mail japanese -MAINTAINER= kiri@kiri.toba-cmt.ac.jp +JA_MULE= yes -# Don't RUN_DEPENDS on mule because we don't know which version the -# user would want. We can't omit the BUILD_DEPENDS because it needs -# to byte-compile .el files. -BUILD_DEPENDS?= mule:${PORTSDIR}/editors/mule -RUN_DEPENDS?= nkf:${PORTSDIR}/japanese/nkf \ - mhmail:${PORTSDIR}/japanese/mh - -RESTRICTED= "USA ITAR export restrictions (has PGP hooks)" -MAKE_ENV+= EMACSCMD=${EMACSCMD} ELISPDIR=${ELISPDIR}/mew RM=${RM} \ - MKDIR="${MKDIR}" INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ - INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ - INSTALL_DATA="${INSTALL_DATA}" - -VERSION= 1.70 -EMACSCMD?= mule -EMACSEL?= mew-mule2.el -PORTSDOCDIR?= ${PREFIX}/share/doc/mew-jp -SAMPLEDIR?= ${PREFIX}/share/examples/mew-jp -ELISPDIR?= ${PREFIX}/lib/mule/site-lisp -INFODIR= ${PREFIX}/info -DIRSECTION= The Emacs editor and associated tools -INFOFILE?= mew.jis.info -MHPOSTPROC?= MH-postproc.jp -SCANFORM?= scan.form.jp -DOTEMACS?= dot.emacs.jp -DOTMHPROFILE?= dot.mh_profile.jp - -post-build: -.for f in ${MHPOSTPROC} user-install INSTALL DEINSTALL - @${SED} -e "s,%VERSION%,${VERSION},g" \ - -e "s,%PREFIX%,${PREFIX},g" \ - -e "s,%TOUCH%,${TOUCH},g" \ - -e "s,%INFODIR%,${INFODIR},g" \ - -e "s,%ELISPDIR%,${ELISPDIR},g" \ - -e "s,%INFOFILE%,${INFOFILE},g" \ - -e "s,%SAMPLEDIR%,${SAMPLEDIR},g" \ - -e "s,%DIRSECTION%,${DIRSECTION},g" \ - < ${FILESDIR}/${f}.tmpl > ${FILESDIR}/${f} -.endfor - @${CP} ${FILESDIR}/INSTALL ${FILESDIR}/DEINSTALL ${PKGDIR} - @${MV} ${FILESDIR}/${MHPOSTPROC} ${FILESDIR}/MH-postproc - -post-install: - @${INSTALL_DATA} ${WRKSRC}/${EMACSEL} ${ELISPDIR}/mew - @${INSTALL_DATA} ${WRKSRC}/info/mew.info* \ - ${WRKSRC}/info/mew.jis.info* ${INFODIR} - @${INSTALL_SCRIPT} ${FILESDIR}/MH-postproc ${PREFIX}/bin -.if !defined(NOPORTDOCS) - @${MKDIR} ${PORTSDOCDIR} - @${INSTALL_DATA} ${WRKSRC}/info/*.texi ${PORTSDOCDIR} - @${MKDIR} ${SAMPLEDIR} -.for f in ${DOTEMACS} aliases ${DOTMHPROFILE} ${SCANFORM} - @${INSTALL_DATA} ${FILESDIR}/${f} ${SAMPLEDIR} -.endfor - @${MV} ${SAMPLEDIR}/${DOTEMACS} ${SAMPLEDIR}/dot.emacs - @${MV} ${SAMPLEDIR}/${SCANFORM} ${SAMPLEDIR}/scan.form - @${MV} ${SAMPLEDIR}/${DOTMHPROFILE} ${SAMPLEDIR}/dot.mh_profile - @${INSTALL_SCRIPT} ${FILESDIR}/user-install ${SAMPLEDIR} -.endif - @${SETENV} TOUCH=${TOUCH} INFODIR=${INFODIR} \ - ELISPDIR=${ELISPDIR} DIRSECTION="${DIRSECTION}" \ - INFOFILE=${INFOFILE} ${SH} ${PKGDIR}/INSTALL \ - ${PKGNAME} POST-INSTALL - -pre-clean: - @${RM} -f ${FILESDIR}/user-install ${FILESDIR}/MH-postproc \ - ${FILESDIR}/INSTALL ${FILESDIR}/DEINSTALL \ - ${PKGDIR}/INSTALL ${PKGDIR}/DEINSTALL - -.include +.include "${.CURDIR}/../../mail/mew-mule/Makefile" diff -aurN ../../current/japanese/mew/files/DEINSTALL.tmpl ./files/DEINSTALL.tmpl --- ../../current/japanese/mew/files/DEINSTALL.tmpl Tue Jun 10 19:14:44 1997 +++ ./files/DEINSTALL.tmpl Thu Jan 1 09:00:00 1970 @@ -1,21 +0,0 @@ -#!/bin/sh - -infodir=${INFODIR:-%INFODIR%} -infofile=${INFOFILE:-%INFOFILE%} -elispdir=${ELISPDIR:-%ELISPDIR%} - -OptionStart=";;; Mew configuration options" -OptionEnd=";;; End of Mew configuration options" - -if [ "X$2" = X"DEINSTALL" ]; then - echo "Deleting \"Mew\" entry from ${infodir}/dir" - install-info --delete ${infodir}/${infofile} ${infodir}/dir - if [ "`grep \"^${OptionStart}\" ${elispdir}/site-start.el`" ]; then - echo "Deleting \"Mew\" entry from ${elispdir}/site-start.el" - sed -e "/^${OptionStart}/,/^${OptionEnd}/d" \ - ${elispdir}/site-start.el > ${elispdir}/site-start.el.bak - mv ${elispdir}/site-start.el.bak ${elispdir}/site-start.el - fi -else - exit 0 -fi diff -aurN ../../current/japanese/mew/files/INSTALL.tmpl ./files/INSTALL.tmpl --- ../../current/japanese/mew/files/INSTALL.tmpl Tue Jun 10 19:14:45 1997 +++ ./files/INSTALL.tmpl Thu Jan 1 09:00:00 1970 @@ -1,52 +0,0 @@ -#!/bin/sh - -TOUCH=${TOUCH:-%TOUCH%} - -infodir=${INFODIR:-%INFODIR%} -infofile=${INFOFILE:-%INFOFILE%} -elispdir=${ELISPDIR:-%ELISPDIR%} - -dirsection=${DIRSECTION:-%DIRSECTION%} - -OptionStart=";;; Mew configuration options" -OptionEnd=";;; End of Mew configuration options" - -if [ "X$2" = X"POST-INSTALL" ]; then - if [ ! -f ${elispdir}/site-start.el ]; then - ${TOUCH} ${elispdir}/site-start.el - fi - if [ ! "`grep \"START-INFO-DIR-ENTRY\" ${infodir}/${infofile}`" ]; then - echo "INFO-DIR-SECTION ${dirsection}" \ - >> ${infodir}/${infofile} - echo "START-INFO-DIR-ENTRY" >> ${infodir}/${infofile} - echo "* Mew: (`basename ${infofile} .info`). Message interface to Emacs Window." \ - >> ${infodir}/${infofile} - echo "END-INFO-DIR-ENTRY" >> ${infodir}/${infofile} - fi - echo "Adding \"Mew\" to ${infodir}/dir" - install-info ${infodir}/${infofile} ${infodir}/dir - if [ "`grep \"^${OptionStart}\" ${elispdir}/site-start.el`" ]; then - sed -e "/^${OptionStart}/,/^${OptionEnd}/d" \ - ${elispdir}/site-start.el > ${elispdir}/site-start.el.bak - mv ${elispdir}/site-start.el.bak ${elispdir}/site-start.el - fi - echo "Adding \"Mew\" entry to ${elispdir}/site-start.el" - echo "${OptionStart}" >> ${elispdir}/site-start.el - echo "(setq load-path (cons \"${elispdir}/mew\" load-path))" \ - >> ${elispdir}/site-start.el - echo "(setq mew-init-hook" >> ${elispdir}/site-start.el - echo " (function" >> ${elispdir}/site-start.el - echo " (lambda ()" >> ${elispdir}/site-start.el - echo " (setq kill-emacs-hook" >> ${elispdir}/site-start.el - echo " (function mew-mark-process-all-folders)))))" \ - >> ${elispdir}/site-start.el - echo "(autoload 'mew \"mew\" nil t)" \ - >> ${elispdir}/site-start.el - echo "(autoload 'mew-send \"mew\" nil t)" \ - >> ${elispdir}/site-start.el - echo "${OptionEnd}" \ - >> ${elispdir}/site-start.el - exit 0 -else - exit 0 -fi diff -aurN ../../current/japanese/mew/files/MH-postproc.jp.tmpl ./files/MH-postproc.jp.tmpl --- ../../current/japanese/mew/files/MH-postproc.jp.tmpl Tue Jun 10 19:14:45 1997 +++ ./files/MH-postproc.jp.tmpl Thu Jan 1 09:00:00 1970 @@ -1,12 +0,0 @@ -#!/bin/sh - -while [ $# != 1 ] -do - args="$args $1" - shift -done - -%PREFIX%/bin/nkf -e $1 >> $HOME/Mail/.mailpost -%PREFIX%/bin/nkf -j $1 > $HOME/Mail/lastpost -args="$args $HOME/Mail/lastpost" -%PREFIX%/lib/mh/post $args diff -aurN ../../current/japanese/mew/files/MH-postproc.tmpl ./files/MH-postproc.tmpl --- ../../current/japanese/mew/files/MH-postproc.tmpl Tue Jun 10 19:14:45 1997 +++ ./files/MH-postproc.tmpl Thu Jan 1 09:00:00 1970 @@ -1,12 +0,0 @@ -#!/bin/sh - -while [ $# != 1 ] -do - args="$args $1" - shift -done - -/bin/cat $1 >> $HOME/Mail/.mailpost -/bin/cp $1 $HOME/Mail/lastpost -args="$args $HOME/Mail/lastpost" -%PREFIX%/lib/mh/post $args diff -aurN ../../current/japanese/mew/files/aliases ./files/aliases --- ../../current/japanese/mew/files/aliases Thu Jun 12 11:32:55 1997 +++ ./files/aliases Thu Jan 1 09:00:00 1970 @@ -1,26 +0,0 @@ -; See comments at end of this file -; This file is almost empty as MH now supports personal aliases. -; @(#)$Id: aliases,v 1.2 1997/06/10 10:14:45 asami Exp $ - -;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 (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 -aurN ../../current/japanese/mew/files/dot.emacs ./files/dot.emacs --- ../../current/japanese/mew/files/dot.emacs Thu Jun 12 11:32:55 1997 +++ ./files/dot.emacs Thu Jan 1 09:00:00 1970 @@ -1,44 +0,0 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Mew ;;;;;;;;; -;; Mew (Ver.%version%) ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(setq mew-mail-domain-list - '("%nameserver%")) - -(cond - ((and window-system (string-match "^19" emacs-version)) - (setq hilit-mode-enable-list nil - hilit-background-mode 'light - hilit-inhibit-hooks nil - hilit-inhibit-rebinding nil) - (require 'hilit19) - ;; - (add-hook 'mew-message-hook - 'hilit-rehighlight-buffer-quietly) - (hilit-set-mode-patterns - '(mew-message-mode) - '(("^Subject:.*$" nil msg-subject) - ("^From:.*$" nil msg-from) - ("^X-.*:.*$" nil msg-quote) - ("^[A-Za-z\-]*>.*$" nil msg-quote) - ("^ [\*].*$" nil msg-quote) - ("^[A-Za-z][A-Za-z0-9-]+:" nil msg-header))) - ;; - (add-hook 'mew-draft-mode-hook - 'hilit-rehighlight-buffer-quietly) - (hilit-set-mode-patterns - '(mew-draft-mode) - '(("^Subject:.*$" nil msg-subject) - ("^From:.*$" nil msg-from) - ("^[A-Za-z\-]*>.*$" nil msg-quote) - ("^ [\*].*$" nil msg-quote) - ("^[A-Za-z][A-Za-z0-9-]+:" nil msg-header))) - ) - ) -(setq mew-underline-lines-use t) -(setq mew-cite-fields '("Message-ID:" "From:")) -(setq mew-cite-format "In %s \n%s writes :\n\n") -(setq mew-signature-insert-last t) -(add-hook 'mew-send-hook 'mew-draft-insert-signature) - -;; Mew end - diff -aurN ../../current/japanese/mew/files/dot.emacs.jp ./files/dot.emacs.jp --- ../../current/japanese/mew/files/dot.emacs.jp Tue Jun 10 19:14:46 1997 +++ ./files/dot.emacs.jp Thu Jan 1 09:00:00 1970 @@ -1,47 +0,0 @@ -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Mew ;;;;;;;;; -;; Mew (Ver.%version%) ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(setq mew-mail-domain-list - '("%nameserver%")) - -(cond - ((and window-system (string-match "^19" emacs-version)) - (setq hilit-mode-enable-list nil - hilit-background-mode 'light - hilit-inhibit-hooks nil - hilit-inhibit-rebinding nil) - (require 'hilit19) - ;; - (add-hook 'mew-message-hook - 'hilit-rehighlight-buffer-quietly) - (hilit-set-mode-patterns - '(mew-message-mode) - '(("^Subject:.*$" nil msg-subject) - ("^From:.*$" nil msg-from) - ("^X-.*:.*$" nil msg-quote) - ("^[A-Za-z\-ぁ-ヶ亜-煕]*>.*$" nil msg-quote) - ("^>.*$" nil msg-quote) - ("^|.*$" nil msg-quote) - ("^ [\*].*$" nil msg-quote) - ("^[A-Za-z][A-Za-z0-9-]+:" nil msg-header))) - ;; - (add-hook 'mew-draft-mode-hook - 'hilit-rehighlight-buffer-quietly) - (hilit-set-mode-patterns - '(mew-draft-mode) - '(("^Subject:.*$" nil msg-subject) - ("^From:.*$" nil msg-from) - ("^[A-Za-z\-ぁ-ヶ亜-煕]*>.*$" nil msg-quote) - ("^>.*$" nil msg-quote) - ("^|.*$" nil msg-quote) - ("^ [\*].*$" nil msg-quote) - ("^[A-Za-z][A-Za-z0-9-]+:" nil msg-header))) - ) - ) -(setq mew-underline-lines-use t) -(setq mew-cite-fields '("Message-ID:" "From:")) -(setq mew-cite-format "Message-ID: %s の記事にて\n%s さんは書かれました :\n\n") -(setq mew-signature-insert-last t) -(add-hook 'mew-send-hook 'mew-draft-insert-signature) - -;; Mew end diff -aurN ../../current/japanese/mew/files/dot.mh_profile ./files/dot.mh_profile --- ../../current/japanese/mew/files/dot.mh_profile Thu Jun 12 11:32:55 1997 +++ ./files/dot.mh_profile Thu Jan 1 09:00:00 1970 @@ -1,13 +0,0 @@ -Path: Mail -postproc: MH-postproc -Draft-Folder: drafts -rmmprocc: %prefix%/bin/rmm -Msg-Protect: 600 -Folder-Protect: 700 -Draft-Protect: 600 -automhnproc: mhn -Aliasfile: aliases -Signature: %signature% -show: -showproc mhl -inc: -form scan.form -scan: -form scan.form diff -aurN ../../current/japanese/mew/files/dot.mh_profile.jp ./files/dot.mh_profile.jp --- ../../current/japanese/mew/files/dot.mh_profile.jp Tue Jun 10 19:14:47 1997 +++ ./files/dot.mh_profile.jp Thu Jan 1 09:00:00 1970 @@ -1,18 +0,0 @@ -Path: Mail -postproc: MH-postproc -file-coding: ja_JP.jis7 -display-coding: ja_JP.jis7 -process-coding: ja_JP.jis7 -Draft-Folder: drafts -rmmprocc: %prefix%/bin/rmm -Msg-Protect: 600 -Folder-Protect: 700 -Draft-Protect: 600 -automhnproc: mhn -Aliasfile: aliases -Signature: %signature% -send: -hencode -whom: -hencode -show: -showproc mhl -inc: -form scan.form -scan: -form scan.form diff -aurN ../../current/japanese/mew/files/md5 ./files/md5 --- ../../current/japanese/mew/files/md5 Thu Jun 12 11:32:55 1997 +++ ./files/md5 Thu Jan 1 09:00:00 1970 @@ -1 +0,0 @@ -MD5 (mew-1.70.tar.gz) = 4a2b710da18a5a3489ec6995d673b2bd diff -aurN ../../current/japanese/mew/files/scan.form ./files/scan.form --- ../../current/japanese/mew/files/scan.form Thu Jun 12 11:32:55 1997 +++ ./files/scan.form Thu Jan 1 09:00:00 1970 @@ -1,4 +0,0 @@ -%5(msg)%<(cur)+%| %>%<{replied}-%?{encrypted}E%| %>\ -%02(mon{date})/%02(mday{date})%<{date} %|*%>\ -%<(mymbox{from})%<{to}To:%14(friendly{to})%>%>%<(zero)%17(friendly{from})%>\ -%{subject}%<{body}<<%{body}>>%> diff -aurN ../../current/japanese/mew/files/scan.form.jp ./files/scan.form.jp --- ../../current/japanese/mew/files/scan.form.jp Tue Jun 10 19:14:47 1997 +++ ./files/scan.form.jp Thu Jan 1 09:00:00 1970 @@ -1,6 +0,0 @@ -%5(msg)%<(cur)+%| %>%<{replied}-%|%<{encrypted}E%|\ -%<(eq)%(trim{content-type})%<(amatch multipart)M%| %>%>%>%>\ -%02(mon{date})/%02(mday{date})%<{date} %|*%>\ -%<(mymbox{from})%<{to}To:%14(hdecode(friendly{to}))%>%>\ -%<(zero)%17(hdecode(friendly{from}))%> \ -%(hdecode{subject})%<{body}<<%{body}%> diff -aurN ../../current/japanese/mew/files/user-install.tmpl ./files/user-install.tmpl --- ../../current/japanese/mew/files/user-install.tmpl Tue Jun 10 19:14:48 1997 +++ ./files/user-install.tmpl Thu Jan 1 09:00:00 1970 @@ -1,147 +0,0 @@ -#!/bin/sh - -PREFIX=%PREFIX% -SAMPLEDIR=%SAMPLEDIR% - -SED=/usr/bin/sed -DIALOG=/usr/bin/dialog - -case ${TERM} in -emacs) - echo "Here is \"Emacs\" shell. Try on other terminal." - exit 1 - ;; -esac - -MainMenu="This is a Set up Menu for specifying the User mail environment \n\ -correctly. You must at least name server Domain name and your \n\ -signature. \n\ -Please specify these issues by selecting followng items." - -NameserverMenu="Specify your Name server Domain name you refer." - -SignatureMenu="Specify your Signature Mew add when posting" - -version="%VERSION%" -nameserver="" -signature="" - -CPFILES="${SAMPLEDIR}/scan.form ${HOME}/Mail/scan.form - ${SAMPLEDIR}/dot.emacs /tmp/.emacs.mew ${HOME}/.emacs - ${SAMPLEDIR}/dot.mh_profile ${HOME}/.mh_profile" - -SEDARG='-e \"s@%prefix%@${PREFIX}@g\" - -e \"s@%version%@${version}@g\" - -e \"s@%nameserver%@${nameserver}@g\" - -e \"s@%signature%@${signature}@g\"' - -### -### Set user environment : nameserver, signature -### - -answer=None -while [ ! X"${answer}" = "XQuit" ]; do - ${DIALOG} --title "Mew Set up User Environment" \ - --hline "Select Set up Items" \ - --hfile printer_cfg.hlp \ - --menu "${MainMenu}" -1 -1 3 \ - Nameserver "Set the Name server Domain name you refer" \ - Signature "Set your Signature Mew adds at posting" \ - Quit "Quit this menu" \ - 2> /tmp/menu.tmp.$$ - retval=$? - answer=`cat /tmp/menu.tmp.$$` - rm -f /tmp/menu.tmp.$$ - case $retval in - 0) if [ -z ${answer} ]; then - echo "Nothing selected" - exit 1 - fi - ;; - 1) echo "Cancel pressed." - exit 1 - ;; - esac - case ${answer} in - Nameserver) - if [ ! -z "${nameserver}" ]; then - ${DIALOG} --title "Confirm Name server" \ - --hline "Press Yes/No" \ - --hfile printer_cfg.hlp \ - --yesno "Your Name server has set \"${nameserver}\". Is this OK?" -1 -1 - retval=$? - if [ X"${retval}" = "X0" ]; then continue; fi - fi - ${DIALOG} --title "Enter your Name server IP address" \ - --hline "Write your name server" \ - --hfile printer_cfg.hlp \ - --inputbox "${NameserverMenu}" -1 -1 \ - 2> /tmp/input.tmp.$$ - nameserver=`cat /tmp/input.tmp.$$` - rm -f /tmp/input.tmp.$$ - ;; - Signature) - if [ ! -z "${signature}" ]; then - ${DIALOG} --title "Confirm your Signature" \ - --hline "Press Yes/No" \ - --hfile printer_cfg.hlp \ - --yesno "Your Signature has set \"${signature}\". Is this OK?" -1 -1 - retval=$? - if [ X"${retval}" = "X0" ]; then continue; fi - fi - ${DIALOG} --title "Set Your Signature" \ - --hline "Write your Signature" \ - --hfile printer_cfg.hlp \ - --inputbox "${SignatureMenu}" -1 -1 \ - 2> /tmp/input.tmp.$$ - signature=`cat /tmp/input.tmp.$$` - rm -f /tmp/input.tmp.$$ - ;; - esac -done -### -### When 1st installation, do "inc" and make "drafts" directory. -### - -if [ ! -d ${HOME}/Mail ]; then ${PREFIX}/bin/inc; fi -if [ ! -d ${HOME}/Mail/drafts ]; then mkdir -p ${HOME}/Mail/drafts; fi - -### -### Copy "aliases" if none -### - -if [ ! -f ${HOME}/Mail/aliases ]; then - cp ${SAMPLEDIR}/aliases ${HOME}/Mail -fi - -### -### Backup ".mh_profile", ".emacs", "scan.form" -### - -chk_files=`echo "${CPFILES}" \ - | awk '$3 == "" || $2 == $3{print $2; next}{print $3}` - -for f in ${chk_files}; do - if [ -f ${f} ]; then cp ${f} ${f}.$$ ; fi -done - -### -### Set ".mh_profile", ".emacs" with correct variables . -### - -sed -e '/^;;* Mew ;*$/,/^;; *Mew end$/d' < ${HOME}/.emacs \ - > /tmp/.emacs - -sedcmd=`eval echo ${SED} ${SEDARG}` -echo "${CPFILES}" | awk -v sedcmd="${sedcmd}" \ - '{sedexe = sedcmd "<" $1 ">" $2; system(sedexe)}' - -dot_emacs=`echo "${CPFILES}" |\ - awk '$2~/^.*\/\.emacs.*$/{ - print substr($2,match($2,/\/dot\.emacs.*$/)+1,length($2))}'` -for f in ${dot_emacs}; do - cat ${f} >> /tmp/.emacs -done -cp /tmp/.emacs ${HOME}/.emacs - -rm -f /tmp/.emacs ${dot_emacs} /tmp/.mh_profile diff -aurN ../../current/japanese/mew/patches/patch-aa ./patches/patch-aa --- ../../current/japanese/mew/patches/patch-aa Thu Jun 12 11:32:56 1997 +++ ./patches/patch-aa Thu Jan 1 09:00:00 1970 @@ -1,37 +0,0 @@ ---- Makefile~ Sun Mar 23 10:21:27 1997 -+++ Makefile Sat Apr 26 13:39:02 1997 -@@ -16,20 +16,20 @@ - - CC = gcc - CFLAGS = -O --BINDIR = /usr/local/bin -+BINDIR = ${PREFIX}/bin - - ## - ## for byte-compile - ## - - #EMACS = emacs --EMACS = xemacs --#EMACS = mule -+#EMACS = xemacs -+EMACS = ${EMACSCMD} - #EMACS = mule2 - #EMACS = mule19 - - #ELISPDIR = /usr/local/share/emacs/site-lisp --ELISPDIR = /usr/local/lib/$(EMACS)/site-lisp -+ELISPDIR ?= /usr/local/lib/$(EMACS)/site-lisp - #ELISPDIR = /usr/local/lib/emacs - - -@@ -65,7 +65,8 @@ - $(EMACS) -batch -l ./$(LDPATH) -l ./mew-attach.el -f batch-byte-compile mew.el - - install: $(TARGETS) $(MEW) -- cp $(MEW) $(TARGETS) $(SRCS) $(ELISPDIR) -+ ${MKDIR} $(ELISPDIR) -+ ${INSTALL_DATA} $(MEW) $(TARGETS) $(ELISPDIR) - cd $(BIN); $(MAKE) install CFLAGS="$(CFLAGS)" CC="$(CC)" BINDIR="$(BINDIR)" - - clean: diff -aurN ../../current/japanese/mew/patches/patch-ab ./patches/patch-ab --- ../../current/japanese/mew/patches/patch-ab Thu Jun 12 11:32:56 1997 +++ ./patches/patch-ab Thu Jan 1 09:00:00 1970 @@ -1,37 +0,0 @@ ---- bin/Makefile~ Tue Nov 26 01:34:52 1996 -+++ bin/Makefile Sat Apr 26 13:42:22 1997 -@@ -7,7 +7,7 @@ - CNF = config.status config.cache config.log - RM = rm -f - --BINDIR = /usr/local/bin -+BINDIR = ${PREFIX}/bin - - #CFLAGS = -g - -@@ -17,8 +17,8 @@ - $(CC) -o $@ $(OBJ) - $(RM) $(AL1) - $(RM) $(AL2) -- ln $(PRG) $(AL1) -- ln $(PRG) $(AL2) -+ ln -fs $(PRG) $(AL1) -+ ln -fs $(PRG) $(AL2) - - $(OTH) : - ./configure -@@ -26,10 +26,10 @@ - install: $(PRG) $(OTH) - $(RM) $(BINDIR)/$(AL1) - $(RM) $(BINDIR)/$(AL2) -- cp $(PRG) $(BINDIR) -- ln $(BINDIR)/$(PRG) $(BINDIR)/$(AL1) -- ln $(BINDIR)/$(PRG) $(BINDIR)/$(AL2) -- cp $(OTH) $(BINDIR) -+ ${INSTALL_PROGRAM} $(PRG) $(BINDIR) -+ ln -fs $(BINDIR)/$(PRG) $(BINDIR)/$(AL1) -+ ln -fs $(BINDIR)/$(PRG) $(BINDIR)/$(AL2) -+ ${INSTALL_SCRIPT} $(OTH) $(BINDIR) - - clean: - $(RM) $(OBJ) $(PRG) $(AL1) $(AL2) $(CNF) $(OTH) diff -aurN ../../current/japanese/mew/patches/patch-ac ./patches/patch-ac --- ../../current/japanese/mew/patches/patch-ac Tue Jun 10 19:14:50 1997 +++ ./patches/patch-ac Thu Jan 1 09:00:00 1970 @@ -1,15 +0,0 @@ -=================================================================== -RCS file: RCS/mew-draft.el,v -retrieving revision 1.1 -diff -u -r1.1 mew-draft.el ---- mew-draft.el 1997/04/21 04:46:50 1.1 -+++ mew-draft.el 1997/04/21 04:47:20 -@@ -348,6 +348,8 @@ - (setq file-coding-system-for-read mew-cs-autoconv) - (setq file-coding-system mew-cs-draft)) - ((equal mew-mule-version 3) -+ (make-local-variable 'coding-system-for-read) -+ (make-local-variable 'coding-system-for-write) - (setq coding-system-for-read mew-cs-autoconv) - (setq coding-system-for-write mew-cs-draft)) - ) diff -aurN ../../current/japanese/mew/patches/patch-ad ./patches/patch-ad --- ../../current/japanese/mew/patches/patch-ad Tue Jun 10 19:14:50 1997 +++ ./patches/patch-ad Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- mew-summary.el Tue Apr 22 01:44:42 1997 -+++ mew-summary.el Tue Apr 22 02:03:44 1997 -@@ -1962,7 +1962,7 @@ - (widen) - (erase-buffer) - (insert-file-contents target) -- (setq syntax (mew-decode (mew-decode-syntax-rfc822-head) t)) -+ (setq syntax (mew-decode-message (mew-decode-syntax-rfc822-head) t)) - (setq multi (mew-syntax-get-part syntax)) - (if (not (mew-syntax-multipart-p multi)) - (message "Can't burst") diff -aurN ../../current/japanese/mew/patches/patch-ae ./patches/patch-ae --- ../../current/japanese/mew/patches/patch-ae Tue Jun 10 19:14:50 1997 +++ ./patches/patch-ae Thu Jan 1 09:00:00 1970 @@ -1,18 +0,0 @@ -=================================================================== -RCS file: RCS/mew-decode.el,v -retrieving revision 1.2 -diff -u -r1.2 mew-decode.el ---- mew-decode.el 1997/04/23 00:49:09 1.2 -+++ mew-decode.el 1997/04/23 05:25:23 -@@ -751,7 +751,10 @@ - )) - (if (not mew-field-other-visible) - (and others (insert others))) -- (recenter 0) -+ (if (save-excursion -+ (set-buffer (window-buffer (previous-window))) -+ mew-summary-buffer-disp-msg) -+ (recenter 0)) - (setq n 0) - (while (< n len) - (if (aref visible n) (insert (aref visible n))) diff -aurN ../../current/japanese/mew/patches/patch-af ./patches/patch-af --- ../../current/japanese/mew/patches/patch-af Tue Jun 10 19:14:51 1997 +++ ./patches/patch-af Thu Jan 1 09:00:00 1970 @@ -1,76 +0,0 @@ -=================================================================== -RCS file: RCS/mew-summary.el,v -retrieving revision 1.2 -diff -c -r1.2 mew-summary.el -*** mew-summary.el 1997/04/23 04:09:21 1.2 ---- mew-summary.el 1997/04/23 07:21:46 -*************** -*** 881,906 **** - (funcall program begin end params execute)) - (t - (funcall program begin end params)))) -! (save-excursion -! (set-buffer (mew-current-get 'cache)) -! (if (not (mew-which program exec-path)) -! (message "Program %s is not found" program) -! (if (not (or mew-icon-p -! ;; gee, the following has a bug that multipart -! ;; icons disappear from toolbar... -! ;;(and mew-icon-p (button-event-p last-command-event)) -! (mew-y-or-n-p (format "Start %s? " program)))) -! () - (if (not (file-exists-p mew-temp-dir)) - (mew-make-directory mew-temp-dir)) ;; just in case - (setq file (make-temp-name mew-temp-file)) - ;; NEVER use call-process-region for privary reasons - (mew-flet - (write-region begin end file)) - (if async - (mew-mime-start-process program options file) - (mew-mime-call-process program options file)) -! )))) - (mew-current-set 'part num) ;; should be after funcall - (if non-erase - () ---- 881,921 ---- - (funcall program begin end params execute)) - (t - (funcall program begin end params)))) -! (if (not (mew-which program exec-path)) -! (message "Program %s is not found" program) -! (save-excursion -! (set-buffer (mew-buffer-message)) -! (let ((buffer-read-only nil)) -! (insert " ##### ##### #### #### ##### ## # #\n" -! " # # # # # # # # # # # # ## ##\n" -! " # # # # # # # # # # # # ## #\n" -! " ##### ##### # # # ### ##### ###### # #\n" -! " # # # # # # # # # # # # #\n" -! " # # # #### #### # # # # # #\n" -! "\n\n") -! (insert (format "Content-Type:\t%s\n" ct)) -! (insert (format "Size:\t\t%dbytes\n" (- end begin))) -! (insert (format "Program:\t%s\n" program)) -! (if (not (and execute -! (or mew-icon-p -! ;; gee, the following has a bug that multipart -! ;; icons disappear from toolbar... -! ;;(and mew-icon-p (button-event-p last-command-event)) -! (mew-y-or-n-p (format "Start %s? " program))))) -! (insert "\nTo execute this external command, type " -! (substitute-command-keys -! "\\\\[mew-summary-execute-external].")) - (if (not (file-exists-p mew-temp-dir)) - (mew-make-directory mew-temp-dir)) ;; just in case - (setq file (make-temp-name mew-temp-file)) -+ (set-buffer (mew-current-get 'cache)) - ;; NEVER use call-process-region for privary reasons - (mew-flet - (write-region begin end file)) - (if async - (mew-mime-start-process program options file) - (mew-mime-call-process program options file)) -! ))))) - (mew-current-set 'part num) ;; should be after funcall - (if non-erase - () diff -aurN ../../current/japanese/mew/pkg/COMMENT ./pkg/COMMENT --- ../../current/japanese/mew/pkg/COMMENT Wed Dec 18 14:08:39 1996 +++ ./pkg/COMMENT Mon Nov 24 20:09:19 1997 @@ -1 +1 @@ -Message interface to Emacs Window +Message interface to Emacs Window(for japanese mule) diff -aurN ../../current/japanese/mew/pkg/DESCR ./pkg/DESCR --- ../../current/japanese/mew/pkg/DESCR Thu Jun 12 11:33:01 1997 +++ ./pkg/DESCR Fri Nov 21 16:57:50 1997 @@ -1,9 +1,8 @@ Mew is a "Message interface to Emacs Window" to integrate - - electronic mail + - Email - NetNews - MIME(Multipurpose Internet Mail Extensions) - - PEM(Privacy Enhanced Mail) - PGP(Pretty Good Privacy) and to make it easy to view and compose them. With Mew you can send a @@ -17,11 +16,8 @@ You must be setting your own environment: - 1st - Do "inc" in your home directory - 2nd - Set up "~/.mh_profile" correctry - 3rd - make "~/Mail/scan.form" correctry - 4th - make directory "~/Mail/drafts" - 5th - Set up "~/.emacs" correctry + 1st - Set up "~/.im/Config" correctry (use imsetup) + 2nd - Set up "~/.emacs" correctry (See info by C-h i and selecting "Mew", "Install" and "User" ). diff -aurN ../../current/japanese/mew/pkg/PLIST ./pkg/PLIST --- ../../current/japanese/mew/pkg/PLIST Thu Jun 12 11:33:01 1997 +++ ./pkg/PLIST Sun Nov 23 16:13:12 1997 @@ -1,48 +0,0 @@ -bin/MH-postproc -bin/mew-refile -bin/mewencode -bin/mewdecode -bin/mewcat -bin/uumerge -bin/vscan -info/mew.info -info/mew.info-1 -info/mew.info-2 -info/mew.jis.info -info/mew.jis.info-1 -info/mew.jis.info-2 -info/mew.jis.info-3 -lib/mule/site-lisp/mew/mew-mule2.el -lib/mule/site-lisp/mew/mew-cache.elc -lib/mule/site-lisp/mew/mew-env.elc -lib/mule/site-lisp/mew/mew-func.elc -lib/mule/site-lisp/mew/mew-mark.elc -lib/mule/site-lisp/mew/mew-mime.elc -lib/mule/site-lisp/mew/mew-minibuf.elc -lib/mule/site-lisp/mew/mew-attach.elc -lib/mule/site-lisp/mew/mew-decode.elc -lib/mule/site-lisp/mew/mew-demo.elc -lib/mule/site-lisp/mew/mew-draft.elc -lib/mule/site-lisp/mew/mew-encode.elc -lib/mule/site-lisp/mew/mew-ext.elc -lib/mule/site-lisp/mew/mew-fib.elc -lib/mule/site-lisp/mew/mew-header.elc -lib/mule/site-lisp/mew/mew-message.elc -lib/mule/site-lisp/mew/mew-pgp.elc -lib/mule/site-lisp/mew/mew-pick.elc -lib/mule/site-lisp/mew/mew-refile.elc -lib/mule/site-lisp/mew/mew-scan.elc -lib/mule/site-lisp/mew/mew-summary.elc -lib/mule/site-lisp/mew/mew-syntax.elc -lib/mule/site-lisp/mew/mew-virtual.elc -lib/mule/site-lisp/mew/mew.elc -share/doc/mew-jp/mew.texi -share/doc/mew-jp/mew.jis.texi -share/examples/mew-jp/dot.emacs -share/examples/mew-jp/dot.mh_profile -share/examples/mew-jp/aliases -share/examples/mew-jp/scan.form -share/examples/mew-jp/user-install -@dirrm lib/mule/site-lisp/mew -@dirrm share/doc/mew-jp -@dirrm share/examples/mew-jp >Audit-Trail: >Unformatted: