aboutsummaryrefslogtreecommitdiffstats
path: root/mail/exmh2
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-10-10 23:00:53 +0800
committerpeter <peter@FreeBSD.org>1996-10-10 23:00:53 +0800
commitdc9198bdc1f4b51db6e1bd3ff9d3ac4fcc97dc80 (patch)
tree657d14dc3393696e68bc9d664beb2d626b682375 /mail/exmh2
parentca35e5251fa5c8992e590453713f99b2928ee8b3 (diff)
downloadfreebsd-ports-gnome-dc9198bdc1f4b51db6e1bd3ff9d3ac4fcc97dc80.tar.gz
freebsd-ports-gnome-dc9198bdc1f4b51db6e1bd3ff9d3ac4fcc97dc80.tar.zst
freebsd-ports-gnome-dc9198bdc1f4b51db6e1bd3ff9d3ac4fcc97dc80.zip
Port for build exmh-1.6.9
NOTE: this does not use the GUI build/install, it does the equivalent work with some scripts.
Diffstat (limited to 'mail/exmh2')
-rw-r--r--mail/exmh2/Makefile49
-rw-r--r--mail/exmh2/distinfo1
-rw-r--r--mail/exmh2/pkg-comment1
-rw-r--r--mail/exmh2/pkg-descr134
-rw-r--r--mail/exmh2/pkg-plist119
-rw-r--r--mail/exmh2/scripts/build68
-rw-r--r--mail/exmh2/scripts/install30
7 files changed, 402 insertions, 0 deletions
diff --git a/mail/exmh2/Makefile b/mail/exmh2/Makefile
new file mode 100644
index 000000000000..470d5cea2671
--- /dev/null
+++ b/mail/exmh2/Makefile
@@ -0,0 +1,49 @@
+# New ports collection Makefile for: exmh
+# Version required: 1.6.9
+# Date released: 10 Oct 96
+# Whom: Peter Wemm <peter@freebsd.org>
+
+DISTNAME= exmh-1.6.9
+CATEGORIES+= mail
+MASTER_SITES= ftp://ftp.sunlabs.com/pub/tcl/exmh/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= peter@FreeBSD.org
+
+RUN_DEPENDS= wish4.1:${PORTSDIR}/x11/tk41
+WISH= wish4.1
+
+# exmh is pretty useless without this, but it's not needed to build it.
+RUN_DEPENDS+= repl:${PORTSDIR}/mail/mh
+
+# full mime support needs mmencode/mmdecode from metamail
+RUN_DEPENDS+= mmencode:${PORTSDIR}/mail/metamail
+
+# Additionally, exmh will use the following ports if present:
+# lang/expect
+# misc/glimpse
+# security/pgp
+
+# It will use these commands to view faces or play audio, we dont have ports.
+# faces
+# play
+
+post-extract:
+ @rm -rf ${WRKSRC}/lib/*.orig
+
+do-build:
+ @cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} \
+ WISH=${PREFIX}/bin/${WISH} WRKSRC=${WRKSRC} \
+ FILESDIR=${FILESDIR} ${SCRIPTDIR}/build
+
+do-install:
+ @cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} \
+ WRKSRC=${WRKSRC} ${SCRIPTDIR}/install
+.if !defined(NOMANCOMPRESS)
+ gzip -9f ${PREFIX}/man/man1/exmh-custom.1
+ gzip -9f ${PREFIX}/man/man1/exmh-ref.1
+ gzip -9f ${PREFIX}/man/man1/exmh-use.1
+ gzip -9f ${PREFIX}/man/man1/exmh.1
+.endif
+
+.include <bsd.port.mk>
diff --git a/mail/exmh2/distinfo b/mail/exmh2/distinfo
new file mode 100644
index 000000000000..17173603a37e
--- /dev/null
+++ b/mail/exmh2/distinfo
@@ -0,0 +1 @@
+MD5 (exmh-1.6.9.tar.Z) = 5e2af4d6bb5588c730b7ba000d095efc
diff --git a/mail/exmh2/pkg-comment b/mail/exmh2/pkg-comment
new file mode 100644
index 000000000000..f94fc5265f5b
--- /dev/null
+++ b/mail/exmh2/pkg-comment
@@ -0,0 +1 @@
+X11/TK based mail reader front end to MH.
diff --git a/mail/exmh2/pkg-descr b/mail/exmh2/pkg-descr
new file mode 100644
index 000000000000..df8a9c548701
--- /dev/null
+++ b/mail/exmh2/pkg-descr
@@ -0,0 +1,134 @@
+exmh version: 1.6.7
+Brent.Welch@eng.sun.com
+
+exmh is a TCL/TK based interface to the MH mail system.
+
+Version 1.6* is compatible with Tk 4.1, Tk4.0, Tk3.6, and Tk3.3
+ Some features (e.g., color face icons) only work with Tk 4.0 or greater.
+exmh is known to work with MH versions 6.7 and 6.8.*
+
+**************************************************
+VERY IMPORTANT. PLEASE READ. SOURCE OF MANY PROBLEMS. READ THIS HERE :-)
+
+exmh depends on the TK send facility for its background processing.
+With TK 3.3, send now uses xauthority mechanisms by default, unless
+you compile TK with -DTK_NO_SECURITY. A manifestation of problems are
+that background processing doesn't work: new messages are not scanned
+into the current folder, the flag icon doesn't behave, and so on.
+Similarly, use of the exmh-async wrapper script also fails.
+If you cannot recompile wish, then the trick is to get your X server process
+started with the right incantation.
+
+Generally, this means that you must run xdm to start your Xserver.
+**************************************************
+
+EXMH lives "high in the food chain". You'll need some additional softare:
+**************************************************
+REQUIRED PACKAGES
+Find TCL and TK on
+ ftp.sunlabs.com:/pub/tcl
+ ftp.aud.alcatel.com:/tcl
+ ftp.cs.berkeley.edu:/ucb/tcl
+Find MH on
+ ftp.ics.uci.edu:/pub/mh
+Find Metamail (for MIME support, including 8-bit charsets) on
+ ftp.bellcore.com:/pub/nsb
+****************************************************
+OPTIONAL PACKAGES
+Find Faces on
+ cs.indiana.edu:/pub/faces
+Expect is available as
+ pub/expect/expect.tar.Z from ftp.cme.nist.gov
+Japanization patch for Tcl and Tk
+ srawgw.sra.co.jp:/pub/lang/tcl/jp
+ tcl7.3jp-patch.gz, tcl7.3jp-update1.gz, tcl7.3jp-update2.gz,
+ tk3.6jp-patch.gz, tk3.6jp-update1.gz, tk3.6jp-update2.gz.
+ It seems that they will move the archives to ftp.sra.co.jp near future.
+Find Glimpse, the full text search engine, at University of Arizona:
+ http://glimpse.cs.arizona.edu:1994/
+****************************************************
+
+FEATURES
+
+As well as providing the usual layer on top of MH commands, exmh
+has a number of other features:
+
+ MIME support! Displays richtext and enriched directly. Parses
+ multipart messages. A popup menu under the right button can invoke
+ external viewers (metamail) for things not directly supported.
+ Built-in editor allows simple composition of text/enriched format
+ and multipart messages (via Insert Part).
+
+ Color feedback in the scan listing so you can easily identify
+ unseen messages (blue), the current message (red), deleted
+ messages (gray background), and moved messages (yellow background).
+ Xresources control these color choices.
+
+ Monochrome displays highlight unseen messages with underline,
+ current message in reverse video, deleted messages with cross-hatching
+ background, and moved messages with stippled background.
+
+ A folder display with one label per folder. Color highlights
+ indicate the current folder (red), folders with unseen messages
+ in them (blue), and the target folder for moves (yellow background).
+ Nested folders are highlighted by a shadow box. A cache of
+ recently visted folder buttons is also maintained. Monochrome
+ highlights are reverse video for the current folder, bold box
+ for folders with unseen messages, and stippled box for the
+ target of move operations.
+
+ Clever scan caching. MH users know that scan is slow, so
+ exmh tries hard to cache the current state of the folder to
+ avoid scanning. Moves and deletes within exmh do not
+ invalidate the cache, and background incs that add new messages
+ are handled by merging them into the scan listing. The
+ scan cache is compatible with xmh.
+
+ Facesaver bitmap display. If you have a facesaver database
+ on your system, exmh displays the bitmap face of the person
+ that sent the current message (or their organization).
+ Otherwise, it just displays a boring EXMH logo.
+
+ Background inc. You can set exmh to run inc periodically,
+ or just to periodically count up the messages in your mail spool file.
+ (Depends on proper TK send functioning. See notes below.)
+
+ Various inc styles. Exmh knows about three styles of inc usage:
+ Inc from your spool file to your inbox folder.
+ Inc from your spool file or POP host to a set of dropboxes as specified
+ by your ~/.xmhcheck file.
+ Inc from your spool file directly into folders. Exmh can run the MH
+ filtering program (slocal) for you, or you can let an external agent
+ presort mail into folders for you.
+
+ Searching over folder listing and message body.
+
+ A dialog-box interface to MH pick.
+
+ A simple editor with emacs-like bindings is provided by default.
+ It has an interface that lets you tweak key bindings.
+
+ Editor interface. You can hook up exmh to TCL based-editors
+ like mxedit quite easily. A script is also provided, exmh-async,
+ for using terminal based editors like vi. The emacsclient.README
+ file has hand-wavy instructions for using emacsclient to talk
+ to an emacs server.
+
+ Glimpse interface. You can index all your mail with glimpse
+ and search for messages by content. The search works across
+ all folders and runs quite fast. The indexes are only about 10%
+ of the space of your mail database.
+
+ User preferences. You can tune exmh through a dialog box. The settings
+ are saved in an Xresource-style file named .exmh-defaults. You can
+ also put font and color resource specifications in this file, plus
+ there are a few random parameters not exposed via preferences.
+
+ User hacking support. A user library of TCL routines is supported.
+ The main implementation is chopped up into many smallish modules.
+ So, you can modify a copy of some module to put your favorite mail
+ reader hack in without affecting others (or convincing me to put
+ it into the main line). There are also a number of places where
+ hook procedures are used so you can refine the behavior of things
+ like composing a reply message. Details in the man page.
+
diff --git a/mail/exmh2/pkg-plist b/mail/exmh2/pkg-plist
new file mode 100644
index 000000000000..531c87067285
--- /dev/null
+++ b/mail/exmh2/pkg-plist
@@ -0,0 +1,119 @@
+bin/exmh
+bin/exmh-async
+bin/exmh-bg
+bin/ftp.expect
+lib/exmh-1.6.9/aliases.tcl
+lib/exmh-1.6.9/app-defaults
+lib/exmh-1.6.9/app-defaults-color
+lib/exmh-1.6.9/app-defaults-mono
+lib/exmh-1.6.9/audit.tcl
+lib/exmh-1.6.9/background.tcl
+lib/exmh-1.6.9/bindings.tcl
+lib/exmh-1.6.9/busy.tcl
+lib/exmh-1.6.9/buttons.tcl
+lib/exmh-1.6.9/clink.au
+lib/exmh-1.6.9/cutbuffer.tcl
+lib/exmh-1.6.9/dragNdrop.tcl
+lib/exmh-1.6.9/drip.au
+lib/exmh-1.6.9/editor.tcl
+lib/exmh-1.6.9/env.tcl
+lib/exmh-1.6.9/error.tcl
+lib/exmh-1.6.9/exmh.bitmap
+lib/exmh-1.6.9/extrasInit.tcl
+lib/exmh-1.6.9/exwin.tcl
+lib/exmh-1.6.9/faces.tcl
+lib/exmh-1.6.9/fcache.tcl
+lib/exmh-1.6.9/fdisp.tcl
+lib/exmh-1.6.9/fdispColor.tcl
+lib/exmh-1.6.9/fdispPopup.tcl
+lib/exmh-1.6.9/fileselect.tcl
+lib/exmh-1.6.9/find.tcl
+lib/exmh-1.6.9/flag.tcl
+lib/exmh-1.6.9/flagdown.bitmap
+lib/exmh-1.6.9/flagup.bitmap
+lib/exmh-1.6.9/flist.tcl
+lib/exmh-1.6.9/folder.tcl
+lib/exmh-1.6.9/folderNew.tcl
+lib/exmh-1.6.9/fontsel.tcl
+lib/exmh-1.6.9/ftoc.tcl
+lib/exmh-1.6.9/ftocColor.tcl
+lib/exmh-1.6.9/ftocFind.tcl
+lib/exmh-1.6.9/glimpse.tcl
+lib/exmh-1.6.9/help.Aliases
+lib/exmh-1.6.9/help.Bindings
+lib/exmh-1.6.9/help.FAQ
+lib/exmh-1.6.9/help.Font
+lib/exmh-1.6.9/help.Import
+lib/exmh-1.6.9/help.Intro
+lib/exmh-1.6.9/help.Lists
+lib/exmh-1.6.9/help.PGP
+lib/exmh-1.6.9/help.Preferences
+lib/exmh-1.6.9/help.Reply
+lib/exmh-1.6.9/help.Search
+lib/exmh-1.6.9/help.Sedit
+lib/exmh-1.6.9/help.Seditpref
+lib/exmh-1.6.9/help.tcl
+lib/exmh-1.6.9/hourglass.bitmap
+lib/exmh-1.6.9/hourglass.mask
+lib/exmh-1.6.9/hourglass1.bitmap
+lib/exmh-1.6.9/hourglass2.bitmap
+lib/exmh-1.6.9/hourglass2.mask
+lib/exmh-1.6.9/import.tcl
+lib/exmh-1.6.9/inc.tcl
+lib/exmh-1.6.9/labels.tcl
+lib/exmh-1.6.9/linethru.bitmap
+lib/exmh-1.6.9/mailcap.tcl
+lib/exmh-1.6.9/main.tcl
+lib/exmh-1.6.9/mbempty.bitmap
+lib/exmh-1.6.9/mbtidy.bitmap
+lib/exmh-1.6.9/mbuntidy.bitmap
+lib/exmh-1.6.9/mh.tcl
+lib/exmh-1.6.9/mime.tcl
+lib/exmh-1.6.9/mime.types
+lib/exmh-1.6.9/mimeSun.tcl
+lib/exmh-1.6.9/mosaic.tcl
+lib/exmh-1.6.9/msg.tcl
+lib/exmh-1.6.9/msgShow.tcl
+lib/exmh-1.6.9/partial.tcl
+lib/exmh-1.6.9/pgp.tcl
+lib/exmh-1.6.9/pgpEWN.tcl
+lib/exmh-1.6.9/pgpExec.tcl
+lib/exmh-1.6.9/pgpMatch.tcl
+lib/exmh-1.6.9/pgpMisc.tcl
+lib/exmh-1.6.9/pick.tcl
+lib/exmh-1.6.9/preferences.tcl
+lib/exmh-1.6.9/print.tcl
+lib/exmh-1.6.9/ps.tcl
+lib/exmh-1.6.9/report.tcl
+lib/exmh-1.6.9/rich2tk.tcl
+lib/exmh-1.6.9/scan.tcl
+lib/exmh-1.6.9/sedit.tcl
+lib/exmh-1.6.9/seditBind.tcl
+lib/exmh-1.6.9/seditCompose.tcl
+lib/exmh-1.6.9/seditEnriched.tcl
+lib/exmh-1.6.9/seditExtras.tcl
+lib/exmh-1.6.9/seditMime.tcl
+lib/exmh-1.6.9/seditQP.tcl
+lib/exmh-1.6.9/select.tcl
+lib/exmh-1.6.9/send.tcl
+lib/exmh-1.6.9/sound.tcl
+lib/exmh-1.6.9/tclIndex
+lib/exmh-1.6.9/text.tcl
+lib/exmh-1.6.9/textButton.tcl
+lib/exmh-1.6.9/textSelect.tcl
+lib/exmh-1.6.9/thread.tcl
+lib/exmh-1.6.9/timer.bitmap
+lib/exmh-1.6.9/tioga.tcl
+lib/exmh-1.6.9/uri.tcl
+lib/exmh-1.6.9/url.bitmap
+lib/exmh-1.6.9/user.tcl
+lib/exmh-1.6.9/widgetMenu.tcl
+lib/exmh-1.6.9/widgetText.tcl
+lib/exmh-1.6.9/widgets.tcl
+lib/exmh-1.6.9/xns.tcl
+lib/exmh-1.6.9/xnsgetmail.exp
+@dirrm lib/exmh-1.6.9
+man/man1/exmh-custom.1.gz
+man/man1/exmh-ref.1.gz
+man/man1/exmh-use.1.gz
+man/man1/exmh.1.gz
diff --git a/mail/exmh2/scripts/build b/mail/exmh2/scripts/build
new file mode 100644
index 000000000000..c7a301040b31
--- /dev/null
+++ b/mail/exmh2/scripts/build
@@ -0,0 +1,68 @@
+#! /bin/sh
+#
+# $Id$
+#
+
+VERSION="`sed -ne 's/^set vers \(.*\)/\1/p' ${WRKSRC}/exmh.install`"
+DATE="`sed -ne 's/^set date \(.*\)/\1/p' ${WRKSRC}/exmh.install`"
+
+SEDFILE=sed.$$
+
+EXPECT="{}"
+FACES="{}"
+DOMAIN="{}"
+PGP="{}"
+GLIMPSE="{}"
+PLAY="{}"
+
+if [ -f ${PREFIX}/bin/expect ]; then
+ EXPECT=${PREFIX}/bin/expect #executable
+fi
+
+if [ -f ${PREFIX}/faces/faces ]; then
+ FACES=${PREFIX}/faces/faces #dir
+ shortname="`hostname -s`"
+ domain="`hostname | sed -e s/^${shortname}// -e s/^.//`"
+ if [ "${domain}" != "" ]; then
+ DOMAIN="{${domain}}"
+ fi
+fi
+
+if [ -f ${PREFIX}/bin/pgp ]; then
+ PGP=${PREFIX}/bin #bindir
+fi
+
+if [ -f ${PREFIX}/bin/glimpse ]; then
+ GLIMPSE=${PREFIX}/bin #bindir
+fi
+
+if [ -f ${PREFIX}/bin/play ]; then
+ PLAY=${PREFIX}/bin/play #executable
+fi
+
+echo "s@^#!wish@#!${WISH}@" >${SEDFILE}
+echo "/^#CONFIGURATION/a\\" >>${SEDFILE}
+
+sed <${FILESDIR}/config \
+ -e "s+!!PREFIX!!+${PREFIX}+g" \
+ -e "s+!!WISH!!+${WISH}+g" \
+ -e "s+!!EXPECT!!+${EXPECT}+g" \
+ -e "s+!!FACES!!+${FACES}+g" \
+ -e "s+!!DOMAIN!!+${DOMAIN}+g" \
+ -e "s+!!PGP!!+${PGP}+g" \
+ -e "s+!!GLIMPSE!!+${GLIMPSE}+g" \
+ -e "s+!!PLAY!!+${PLAY}+g" \
+ -e "s+!!VERSION!!+${VERSION}+g" \
+ -e "s+!!DATE!!+${DATE}+g" \
+ | sed -e 's/$/\\/' >> ${SEDFILE}
+
+for i in exmh-async exmh-bg exmh ftp.expect
+do
+ echo "sed -f ${SEDFILE} < $i.MASTER > $i"
+ sed -f ${SEDFILE} < $i.MASTER > $i
+done
+
+rm -f ${SEDFILE}
+
+echo "cd lib ; echo 'auto_mkindex . *.tcl ; exit' | tclsh"
+cd lib ; echo 'auto_mkindex . *.tcl ; exit' | tclsh
diff --git a/mail/exmh2/scripts/install b/mail/exmh2/scripts/install
new file mode 100644
index 000000000000..72d8f603b1df
--- /dev/null
+++ b/mail/exmh2/scripts/install
@@ -0,0 +1,30 @@
+#! /bin/sh
+#
+# $Id$
+#
+
+VERSION="`sed -ne 's/^set vers \(.*\)/\1/p' ${WRKSRC}/exmh.install`"
+
+# Rename while installing..
+for i in exmh-custom exmh-ref exmh-use exmh
+do
+ echo "install -c -o bin -g bin -m 444 $i.l ${PREFIX}/man/man1/$i.1"
+ install -c -o bin -g bin -m 444 $i.l ${PREFIX}/man/man1/$i.1
+done
+
+BINS="exmh-async exmh-bg exmh ftp.expect"
+
+echo "install -c -o bin -g bin -m 755 ${BINS} ${PREFIX}/bin"
+install -c -o bin -g bin -m 755 ${BINS} ${PREFIX}/bin
+
+if [ ! -d ${PREFIX}/lib/exmh-${VERSION} ]
+then
+ echo "mkdir ${PREFIX}/lib/exmh-${VERSION}"
+ mkdir ${PREFIX}/lib/exmh-${VERSION}
+fi
+
+LIBFILES='lib/*.tcl lib/*.bitmap lib/help.* lib/*.FAQ lib/tclIndex lib/app-defaults* lib/*.mask lib/*.exp lib/mime.types lib/*.au'
+
+echo "install -c -o bin -g bin -m 444 ${LIBFILES} ${PREFIX}/lib/exmh-${VERSION}"
+install -c -o bin -g bin -m 444 ${LIBFILES} ${PREFIX}/lib/exmh-${VERSION}
+