Repositry copy ports/mail/mew -> ports/mail/mew2-emacs20.
This commit is contained in:
parent
1f7ae535a0
commit
a1a4bf835e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46853
@ -75,6 +75,7 @@
|
||||
SUBDIR += lfhex
|
||||
SUBDIR += lpe
|
||||
SUBDIR += manedit
|
||||
SUBDIR += mew2-emacs20
|
||||
SUBDIR += mg
|
||||
SUBDIR += moleskine
|
||||
SUBDIR += mp
|
||||
|
113
editors/mew2-emacs20/Makefile
Normal file
113
editors/mew2-emacs20/Makefile
Normal file
@ -0,0 +1,113 @@
|
||||
# New ports collection makefile for: Mew
|
||||
# Date created: 21 November 1997
|
||||
# Whom: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mew
|
||||
PORTVERSION= ${MEW_VER}
|
||||
CATEGORIES= editors elisp
|
||||
MASTER_SITES= ftp://ftp.mew.org/pub/Mew/old/ \
|
||||
ftp://ftp.kyushu-u.ac.jp/pub/Misc/mew/old/ \
|
||||
${MASTER_SITE_PORTS_JP}
|
||||
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
||||
|
||||
MAINTAINER?= kiri@FreeBSD.org
|
||||
|
||||
# distfile version
|
||||
MEW_VER= 1.94.2
|
||||
|
||||
.if !defined(EMACS_PORT_NAME)
|
||||
# setup.el filename
|
||||
EMACS_SETUPEL= ${PORTNAME}-setup.el
|
||||
.endif
|
||||
|
||||
# document install directory by install-doc target
|
||||
MEW_DOCDIR?= share/doc/${PORTNAME}
|
||||
|
||||
# emacs port setup
|
||||
EMACS_PORT_NAME?= emacs
|
||||
|
||||
# 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
|
||||
|
||||
# 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}
|
||||
|
||||
pre-configure:
|
||||
.if defined(EMACS_SETUPEL)
|
||||
@${CP} ${FILESDIR}/${EMACS_SETUPEL}.in ${WRKDIR}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if defined(EMACS_SETUPEL)
|
||||
${INSTALL_DATA} ${WRKDIR}/${EMACS_SETUPEL} \
|
||||
${PREFIX}/${EMACS_LIBDIR}/site-lisp
|
||||
.endif
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/${MEW_DOCDIR}
|
||||
(cd ${WRKSRC} ; \
|
||||
${INSTALL_DATA} 00* ${PREFIX}/${MEW_DOCDIR}/ ; \
|
||||
for dir in contrib patches; do \
|
||||
${CP} -R $${dir} ${PREFIX}/${MEW_DOCDIR}/ ; \
|
||||
done)
|
||||
${CHOWN} -R ${SHAREOWN}.${SHAREGRP} ${PREFIX}/${MEW_DOCDIR}
|
||||
.endif
|
||||
|
||||
############################################################
|
||||
## Make DESCR,COMMENT and PLIST (only for MAINTAINER use)
|
||||
############################################################
|
||||
#COMMENT_TEXT= Message interface to Emacs Window for ${EMACS_PORT_NAME}
|
||||
#.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:
|
||||
# ${ECHO} ${COMMENT_TEXT} > ${PKGDIR}/pkg-comment
|
||||
# ${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}
|
||||
|
||||
.include <bsd.port.mk>
|
1
editors/mew2-emacs20/distinfo
Normal file
1
editors/mew2-emacs20/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (mew-1.94.2.tar.gz) = 8b86e26586c07e9425e470706734a35d
|
25
editors/mew2-emacs20/files/Addrbook
Normal file
25
editors/mew2-emacs20/files/Addrbook
Normal file
@ -0,0 +1,25 @@
|
||||
; 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
|
95
editors/mew2-emacs20/files/dot.emacs.el.in
Normal file
95
editors/mew2-emacs20/files/dot.emacs.el.in
Normal file
@ -0,0 +1,95 @@
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 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)
|
26
editors/mew2-emacs20/files/message.sh
Normal file
26
editors/mew2-emacs20/files/message.sh
Normal file
@ -0,0 +1,26 @@
|
||||
#!/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
|
4
editors/mew2-emacs20/files/mew-setup.el.in
Normal file
4
editors/mew2-emacs20/files/mew-setup.el.in
Normal file
@ -0,0 +1,4 @@
|
||||
(setq load-path (append '(
|
||||
"%%LOCALBASE%%/%%EMACS_LIBDIR%%/site-lisp/mew"
|
||||
) load-path))
|
||||
(provide '%%EMACS_SETUPEL%%)
|
5
editors/mew2-emacs20/files/mew-xemacs-setup.el.in
Normal file
5
editors/mew2-emacs20/files/mew-xemacs-setup.el.in
Normal file
@ -0,0 +1,5 @@
|
||||
(setq load-path (append '(
|
||||
"%%LOCALBASE%%/%%EMACS_LIBDIR%%/site-lisp/mew"
|
||||
) load-path))
|
||||
(setq mew-icon-directory "%%LOCALBASE%%/%%EMACS_LIBDIR%%/etc/mew")
|
||||
(provide '%%EMACS_SETUPEL%%)
|
172
editors/mew2-emacs20/files/patch-aa
Normal file
172
editors/mew2-emacs20/files/patch-aa
Normal file
@ -0,0 +1,172 @@
|
||||
--- 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
|
25
editors/mew2-emacs20/files/patch-ab
Normal file
25
editors/mew2-emacs20/files/patch-ab
Normal file
@ -0,0 +1,25 @@
|
||||
--- 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)
|
52
editors/mew2-emacs20/files/patch-ac
Normal file
52
editors/mew2-emacs20/files/patch-ac
Normal file
@ -0,0 +1,52 @@
|
||||
--- 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
|
||||
##
|
13
editors/mew2-emacs20/files/patch-ad
Normal file
13
editors/mew2-emacs20/files/patch-ad
Normal file
@ -0,0 +1,13 @@
|
||||
--- 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)))
|
20
editors/mew2-emacs20/files/pkg-descr.tmpl
Normal file
20
editors/mew2-emacs20/files/pkg-descr.tmpl
Normal file
@ -0,0 +1,20 @@
|
||||
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%%
|
14
editors/mew2-emacs20/files/tmpl2file.sh
Normal file
14
editors/mew2-emacs20/files/tmpl2file.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/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
|
374
editors/mew2-emacs20/files/user-install.in
Normal file
374
editors/mew2-emacs20/files/user-install.in
Normal file
@ -0,0 +1,374 @@
|
||||
#!/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
|
1
editors/mew2-emacs20/pkg-comment
Normal file
1
editors/mew2-emacs20/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Message interface to Emacs Window for emacs
|
20
editors/mew2-emacs20/pkg-descr
Normal file
20
editors/mew2-emacs20/pkg-descr
Normal file
@ -0,0 +1,20 @@
|
||||
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-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
|
9
editors/mew2-emacs20/pkg-message
Normal file
9
editors/mew2-emacs20/pkg-message
Normal file
@ -0,0 +1,9 @@
|
||||
*************************************************************************
|
||||
* 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")) *
|
||||
* *
|
||||
*************************************************************************
|
164
editors/mew2-emacs20/pkg-plist
Normal file
164
editors/mew2-emacs20/pkg-plist
Normal file
@ -0,0 +1,164 @@
|
||||
bin/mewcat
|
||||
bin/mewdecode
|
||||
bin/mewencode
|
||||
bin/uumerge
|
||||
@exec [ -f %D/info/dir ] || sed -ne 1,/Menu:/p /usr/share/info/dir > %D/info/dir
|
||||
@unexec install-info --delete %D/info/mew.info %D/info/dir
|
||||
info/mew.info
|
||||
@exec install-info %D/info/mew.info %D/info/dir
|
||||
info/mew.info-1
|
||||
info/mew.info-2
|
||||
info/mew.info-3
|
||||
%%MEW_DOCDIR%%/00changes
|
||||
%%MEW_DOCDIR%%/00copyright
|
||||
%%MEW_DOCDIR%%/00copyright.jis
|
||||
%%MEW_DOCDIR%%/00diff
|
||||
%%MEW_DOCDIR%%/00readme
|
||||
%%MEW_DOCDIR%%/contrib/00readme
|
||||
%%MEW_DOCDIR%%/contrib/00readme-namazu.jis
|
||||
%%MEW_DOCDIR%%/contrib/im+.el
|
||||
%%MEW_DOCDIR%%/contrib/im+.readme.jis
|
||||
%%MEW_DOCDIR%%/contrib/imget.sh
|
||||
%%MEW_DOCDIR%%/contrib/imls.sh
|
||||
%%MEW_DOCDIR%%/contrib/imput.sh
|
||||
%%MEW_DOCDIR%%/contrib/ja.Emacs
|
||||
%%MEW_DOCDIR%%/contrib/mailto.el
|
||||
%%MEW_DOCDIR%%/contrib/mew-browse.el
|
||||
%%MEW_DOCDIR%%/contrib/mew-caesar.el
|
||||
%%MEW_DOCDIR%%/contrib/mew-cite-color.el
|
||||
%%MEW_DOCDIR%%/contrib/mew-f.el
|
||||
%%MEW_DOCDIR%%/contrib/mew-fake-imap.el
|
||||
%%MEW_DOCDIR%%/contrib/mew-gnus.el
|
||||
%%MEW_DOCDIR%%/contrib/mew-guess.el
|
||||
%%MEW_DOCDIR%%/contrib/mew-mailto.el
|
||||
%%MEW_DOCDIR%%/contrib/mew-ml.el
|
||||
%%MEW_DOCDIR%%/contrib/mew-nmz.el
|
||||
%%MEW_DOCDIR%%/contrib/mew-petname.el
|
||||
%%MEW_DOCDIR%%/contrib/mew-refile-misc.el
|
||||
%%MEW_DOCDIR%%/contrib/mew-refile-view.el
|
||||
%%MEW_DOCDIR%%/contrib/mew-sol.el
|
||||
%%MEW_DOCDIR%%/contrib/mew-summary-hl.el
|
||||
%%MEW_DOCDIR%%/contrib/mew-toolbar-frame.el
|
||||
%%MEW_DOCDIR%%/contrib/mew-virtual-thread.el
|
||||
%%MEW_DOCDIR%%/contrib/mew-wheel.el
|
||||
%%MEW_DOCDIR%%/contrib/mknmz-inc.pl
|
||||
%%MEW_DOCDIR%%/contrib/rfc2368.el
|
||||
%%MEW_DOCDIR%%/patches/00readme.jis
|
||||
%%MEW_DOCDIR%%/patches/canna.el-%%EMACS_VER%%.patch
|
||||
%%MEW_DOCDIR%%/patches/egg.el-%%EMACS_VER%%.patch
|
||||
%%MEW_DOCDIR%%/patches/egg.el-%%EMACS_VER%%.patch2
|
||||
%%EMACS_LIBDIR%%/etc/mew/Mew.img
|
||||
%%EMACS_LIBDIR%%/etc/mew/Mew.png
|
||||
%%EMACS_LIBDIR%%/etc/mew/Mew.xbm
|
||||
%%EMACS_LIBDIR%%/etc/mew/Mew.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/etc/COLOR
|
||||
%%EMACS_LIBDIR%%/etc/mew/etc/mew-Plain.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/etc/mew-curr.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/etc/mew-folder.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/etc/mew-inc2.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/etc/mew-kill.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-Audio.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-Blank.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-External.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-Folder.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-Image.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-Octet-Stream.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-Postscript.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-Rfc822.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-Text.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-Unknown.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-Video.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-attach.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-cite.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-comp.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-forward.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-inc.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-next.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-pgp-enc.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-pgp-sigenc.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-pgp-sign.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-prev.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-refile.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-reply.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-send.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-sep.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-show.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-write.xpm
|
||||
%%EMACS_LIBDIR%%/etc/mew/mew-yank.xpm
|
||||
%%EMACS_LIBDIR%%/site-lisp/%%EMACS_SETUPEL%%
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-addrbook.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-addrbook.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-attach.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-attach.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-bq.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-bq.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-cache.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-cache.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-complete.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-complete.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-decode.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-decode.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-demo.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-demo.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-draft.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-draft.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-encode.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-encode.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-env.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-env.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-ext.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-ext.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-fib.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-fib.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-func.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-func.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-header.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-header.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-highlight.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-highlight.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-lang-jp.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-mark.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-mark.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-message.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-message.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-mime.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-mime.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-minibuf.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-minibuf.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-mule.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-mule0.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-mule2.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-mule3.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-os2.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-pgp.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-pgp.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-pick.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-pick.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-refile.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-refile.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-scan.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-scan.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-sort.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-sort.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-summary.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-summary.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-syntax.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-syntax.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-temacs.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-unix.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-vars.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-vars.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-virtual.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-virtual.elc
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-win32.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew-xemacs.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew.el
|
||||
%%EMACS_LIBDIR%%/site-lisp/mew/mew.elc
|
||||
@dirrm %%EMACS_LIBDIR%%/site-lisp/mew
|
||||
@unexec rmdir %D/%%EMACS_LIBDIR%%/site-lisp 2>/dev/null || true
|
||||
@dirrm %%EMACS_LIBDIR%%/etc/mew/etc
|
||||
@dirrm %%EMACS_LIBDIR%%/etc/mew
|
||||
@unexec rmdir %D/%%EMACS_LIBDIR%%/etc 2>/dev/null || true
|
||||
@dirrm %%MEW_DOCDIR%%/patches
|
||||
@dirrm %%MEW_DOCDIR%%/contrib
|
||||
@dirrm %%MEW_DOCDIR%%
|
12
editors/mew2-emacs20/scripts/configure
vendored
Normal file
12
editors/mew2-emacs20/scripts/configure
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
#!/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
|
Loading…
Reference in New Issue
Block a user