summaryrefslogtreecommitdiff
path: root/mail/exmh
diff options
context:
space:
mode:
authoragc <agc>1997-11-19 14:46:18 +0000
committeragc <agc>1997-11-19 14:46:18 +0000
commit705b06b1b3af251d9913d611cd2654618679055d (patch)
tree8a6ce119dea67197cad4c71c4e8727625bfad389 /mail/exmh
parent0490dbe36a2856e6730f354533e829be8553c350 (diff)
downloadpkgsrc-705b06b1b3af251d9913d611cd2654618679055d.tar.gz
Initial import of exmh-2.0zeta from FreeBSD ports collection into
NetBSD packages collection.
Diffstat (limited to 'mail/exmh')
-rw-r--r--mail/exmh/Makefile58
-rw-r--r--mail/exmh/files/config22
-rw-r--r--mail/exmh/files/md510
-rw-r--r--mail/exmh/pkg/COMMENT1
-rw-r--r--mail/exmh/pkg/DESCR23
-rw-r--r--mail/exmh/pkg/PLIST169
-rw-r--r--mail/exmh/scripts/build76
-rw-r--r--mail/exmh/scripts/install38
8 files changed, 397 insertions, 0 deletions
diff --git a/mail/exmh/Makefile b/mail/exmh/Makefile
new file mode 100644
index 00000000000..c3b006f1ecc
--- /dev/null
+++ b/mail/exmh/Makefile
@@ -0,0 +1,58 @@
+# New ports collection Makefile for: exmh2
+# Version required: 2.0zeta
+# Date released: 1 Jan 97
+# Whom: Peter Wemm <peter@freebsd.org>
+#
+# FreeBSD Id: Makefile,v 1.17 1997/10/06 06:49:45 peter Exp
+#
+
+DISTNAME= exmh-2.0zeta
+PKGNAME= exmh-2.0z
+CATEGORIES= mail tk41
+MASTER_SITES= ftp://ftp.sunlabs.com/pub/tcl/exmh/
+EXTRACT_SUFX= .tar.Z
+
+PATCH_SITES= http://www.sunlabs.com/~bwelch/exmh/patches/2.0zeta/
+PATCHFILES= ispell.patch koir.patch mime.patch seditMime.patch scan.patch \
+ addr.patch html.patch html_dpackage.patch pgpExec.patch
+
+.if defined(PATCH_DEBUG)
+PATCH_DIST_ARGS= -d ${WRKSRC}/lib -E ${PATCH_DIST_STRIP}
+.else
+PATCH_DIST_ARGS= -d ${WRKSRC}/lib --forward --quiet -E ${PATCH_DIST_STRIP}
+.endif
+
+MAINTAINER= peter@FreeBSD.org
+
+DIST_SUBDIR= ${PKGNAME}
+
+RUN_DEPENDS= wish8.0:${PORTSDIR}/x11/tk80
+BUILD_DEPENDS= tclsh8.0:${PORTSDIR}/lang/tcl80
+WISH= wish8.0
+TCLSH= tclsh8.0
+
+# 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
+# mail/faces
+# audio/rplay
+
+MAN1= exmh.1
+
+do-build:
+ @cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} TCLSH=${TCLSH} \
+ WISH=${PREFIX}/bin/${WISH} WRKSRC=${WRKSRC} \
+ FILESDIR=${FILESDIR} ${SH} ${SCRIPTDIR}/build
+
+do-install:
+ @cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} \
+ WRKSRC=${WRKSRC} ${SH} ${SCRIPTDIR}/install
+
+.include <bsd.port.mk>
diff --git a/mail/exmh/files/config b/mail/exmh/files/config
new file mode 100644
index 00000000000..1cbbedf4b77
--- /dev/null
+++ b/mail/exmh/files/config
@@ -0,0 +1,22 @@
+set wish !!WISH!!
+set exmh(version) {version !!VERSION!! !!DATE!!}
+set exmh(name) exmh
+set exmh(maintainer) welch@acm.org
+set mh_path !!PREFIX!!/bin
+set exmh(slocal) !!PREFIX!!/lib/mh/slocal
+set mime(dir) !!PREFIX!!/bin
+set mailcap_default !!PREFIX!!/etc/mailcap
+set exmh(expect) !!EXPECT!!
+set exmh(expectk) !!EXPECTK!!
+set faces(dir) !!FACES!!
+set faces(set,user) {local users usenix misc}
+set faces(set,unknown) {domains unknown}
+set faces(defaultDomain) !!DOMAIN!!
+set faces(suffix) {xpm gif xbm}
+set pgp(path) !!PGP!!
+set glimpse(path) !!GLIMPSE!!
+set sound(cmd) !!PLAY!!
+set exmh(library) !!PREFIX!!/lib/exmh-!!VERSION!!
+set install(dir,bin) !!PREFIX!!/bin
+set install(dir,man) !!PREFIX!!/man/man1
+set install(dir,lib) !!PREFIX!!/lib/exmh-!!VERSION!!
diff --git a/mail/exmh/files/md5 b/mail/exmh/files/md5
new file mode 100644
index 00000000000..3d14dd0b99b
--- /dev/null
+++ b/mail/exmh/files/md5
@@ -0,0 +1,10 @@
+MD5 (exmh-2.0z/exmh-2.0zeta.tar.Z) = 9a8c1026c57357ce3b4aa9ae6f612d3c
+MD5 (exmh-2.0z/ispell.patch) = ee3bdbdf2a1f3ef7fce911d5836bde27
+MD5 (exmh-2.0z/koir.patch) = faf27cf0a7e986631de58f872dd60f84
+MD5 (exmh-2.0z/mime.patch) = c4ca30bb6c553243a193850a192c8586
+MD5 (exmh-2.0z/seditMime.patch) = 74006191c5ed6fe50a0b38e90f9b1a56
+MD5 (exmh-2.0z/scan.patch) = 9f610082a0871fc35c6817b0f06ea234
+MD5 (exmh-2.0z/addr.patch) = a57c3391f853a1fafd80c6db249370a0
+MD5 (exmh-2.0z/html.patch) = 95fc62a5397bf22669c7436f1d0e89ae
+MD5 (exmh-2.0z/html_dpackage.patch) = 8ba20db08bef2673cdfb4676000b5892
+MD5 (exmh-2.0z/pgpExec.patch) = 9dd6df806ba0df56c48350ce08037608
diff --git a/mail/exmh/pkg/COMMENT b/mail/exmh/pkg/COMMENT
new file mode 100644
index 00000000000..f94fc5265f5
--- /dev/null
+++ b/mail/exmh/pkg/COMMENT
@@ -0,0 +1 @@
+X11/TK based mail reader front end to MH.
diff --git a/mail/exmh/pkg/DESCR b/mail/exmh/pkg/DESCR
new file mode 100644
index 00000000000..456b9847cde
--- /dev/null
+++ b/mail/exmh/pkg/DESCR
@@ -0,0 +1,23 @@
+exmh is a TCL/TK based interface to the MH mail system.
+
+IMPORTANT: 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. Generally, this means that
+you **MUST** must run xdm to start your Xserver.
+
+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.
+ Color feedback in the scan listing.
+ A colour coded folder display with one label per folder.
+ Smart scan caching. News read/post. koi8-r support.
+ Facesaver bitmap display. Ispell support.
+ Background inc. You can set exmh to run inc periodically.
+ Searching over folder listing and message body.
+ A dialog-box interface to MH pick.
+ A editor editor with emacs-like bindings with MIME support.
+ Glimpse interface. You can index all your mail with glimpse
+ and search for messages by content.
+ User preferences. You can tune exmh through a dialog box.
+ User hacking support. A user library of TCL routines is supported.
diff --git a/mail/exmh/pkg/PLIST b/mail/exmh/pkg/PLIST
new file mode 100644
index 00000000000..3f9e961435b
--- /dev/null
+++ b/mail/exmh/pkg/PLIST
@@ -0,0 +1,169 @@
+bin/exmh
+bin/exmh-async
+bin/exmh-bg
+bin/ftp.expect
+lib/exmh-2.0zeta/addr.tcl
+lib/exmh-2.0zeta/aliases.tcl
+lib/exmh-2.0zeta/app-defaults
+lib/exmh-2.0zeta/app-defaults-color
+lib/exmh-2.0zeta/app-defaults-mono
+lib/exmh-2.0zeta/audit.tcl
+lib/exmh-2.0zeta/autorefile.tcl
+lib/exmh-2.0zeta/background.tcl
+lib/exmh-2.0zeta/base64.tcl
+lib/exmh-2.0zeta/bindings.tcl
+lib/exmh-2.0zeta/busy.tcl
+lib/exmh-2.0zeta/buttons.tcl
+lib/exmh-2.0zeta/clink.au
+lib/exmh-2.0zeta/crypt.tcl
+lib/exmh-2.0zeta/cutbuffer.tcl
+lib/exmh-2.0zeta/dragNdrop.tcl
+lib/exmh-2.0zeta/drip.au
+lib/exmh-2.0zeta/editor.tcl
+lib/exmh-2.0zeta/env.tcl
+lib/exmh-2.0zeta/error.tcl
+lib/exmh-2.0zeta/exmh.bitmap
+lib/exmh-2.0zeta/extrasInit.tcl
+lib/exmh-2.0zeta/exwin.tcl
+lib/exmh-2.0zeta/faces.tcl
+lib/exmh-2.0zeta/fcache.tcl
+lib/exmh-2.0zeta/fdisp.tcl
+lib/exmh-2.0zeta/fdispColor.tcl
+lib/exmh-2.0zeta/fdispPopup.tcl
+lib/exmh-2.0zeta/fileselect.tcl
+lib/exmh-2.0zeta/find.tcl
+lib/exmh-2.0zeta/flag.tcl
+lib/exmh-2.0zeta/flagdown.bitmap
+lib/exmh-2.0zeta/flagup.bitmap
+lib/exmh-2.0zeta/flist.tcl
+lib/exmh-2.0zeta/folder.tcl
+lib/exmh-2.0zeta/folderNew.tcl
+lib/exmh-2.0zeta/fontsel.tcl
+lib/exmh-2.0zeta/ftoc.tcl
+lib/exmh-2.0zeta/ftocColor.tcl
+lib/exmh-2.0zeta/ftocFind.tcl
+lib/exmh-2.0zeta/getnews.tcl
+lib/exmh-2.0zeta/glimpse.tcl
+lib/exmh-2.0zeta/help.tcl
+lib/exmh-2.0zeta/hourglass.bitmap
+lib/exmh-2.0zeta/hourglass.mask
+lib/exmh-2.0zeta/hourglass1.bitmap
+lib/exmh-2.0zeta/hourglass2.bitmap
+lib/exmh-2.0zeta/hourglass2.mask
+lib/exmh-2.0zeta/html.tcl
+lib/exmh-2.0zeta/html/AddrEdit.html
+lib/exmh-2.0zeta/html/AddressBk.html
+lib/exmh-2.0zeta/html/AliasAddr.html
+lib/exmh-2.0zeta/html/Aliases.html
+lib/exmh-2.0zeta/html/Bindings.html
+lib/exmh-2.0zeta/html/Font.html
+lib/exmh-2.0zeta/html/Import.html
+lib/exmh-2.0zeta/html/Intro.html
+lib/exmh-2.0zeta/html/Keys.html
+lib/exmh-2.0zeta/html/Lists.html
+lib/exmh-2.0zeta/html/PGP.html
+lib/exmh-2.0zeta/html/Preferences.html
+lib/exmh-2.0zeta/html/Reply.html
+lib/exmh-2.0zeta/html/Search.html
+lib/exmh-2.0zeta/html/Sedit.html
+lib/exmh-2.0zeta/html/Seditpref.html
+lib/exmh-2.0zeta/html/blu-ball.gif
+lib/exmh-2.0zeta/html/copyright.html
+lib/exmh-2.0zeta/html/exmh-custom.n.html
+lib/exmh-2.0zeta/html/exmh-fans.html
+lib/exmh-2.0zeta/html/exmh-faq.html
+lib/exmh-2.0zeta/html/exmh-ref.n.html
+lib/exmh-2.0zeta/html/exmh-use.n.html
+lib/exmh-2.0zeta/html/exmh.README.html
+lib/exmh-2.0zeta/html/exmh.n.html
+lib/exmh-2.0zeta/html/exmh.pref.gif
+lib/exmh-2.0zeta/html/exmh.snap1.gif
+lib/exmh-2.0zeta/html/index.html
+lib/exmh-2.0zeta/html/left-arrow.gif
+lib/exmh-2.0zeta/html/maillist.html
+lib/exmh-2.0zeta/html/overview.html
+lib/exmh-2.0zeta/html/red-ball.gif
+lib/exmh-2.0zeta/html/right-arrow.gif
+lib/exmh-2.0zeta/html/software.html
+lib/exmh-2.0zeta/html/whatis.html
+lib/exmh-2.0zeta/html/yel-ball.gif
+lib/exmh-2.0zeta/html_cache.tcl
+lib/exmh-2.0zeta/html_content.tcl
+lib/exmh-2.0zeta/html_dpackage.tcl
+lib/exmh-2.0zeta/html_formtag.tcl
+lib/exmh-2.0zeta/html_frame.tcl
+lib/exmh-2.0zeta/html_get_http.tcl
+lib/exmh-2.0zeta/html_head.tcl
+lib/exmh-2.0zeta/html_hr.tcl
+lib/exmh-2.0zeta/html_images.tcl
+lib/exmh-2.0zeta/html_links.tcl
+lib/exmh-2.0zeta/html_maps.tcl
+lib/exmh-2.0zeta/html_stubs.tcl
+lib/exmh-2.0zeta/html_tags.tcl
+lib/exmh-2.0zeta/html_text.tcl
+lib/exmh-2.0zeta/http_proxy.tcl
+lib/exmh-2.0zeta/import.tcl
+lib/exmh-2.0zeta/inc.tcl
+lib/exmh-2.0zeta/ispell.tcl
+lib/exmh-2.0zeta/labels.tcl
+lib/exmh-2.0zeta/linethru.bitmap
+lib/exmh-2.0zeta/mailcap.tcl
+lib/exmh-2.0zeta/main.tcl
+lib/exmh-2.0zeta/mbempty.bitmap
+lib/exmh-2.0zeta/mbtidy.bitmap
+lib/exmh-2.0zeta/mbuntidy.bitmap
+lib/exmh-2.0zeta/mh.tcl
+lib/exmh-2.0zeta/mime.tcl
+lib/exmh-2.0zeta/mime.types
+lib/exmh-2.0zeta/mimeSun.tcl
+lib/exmh-2.0zeta/mosaic.tcl
+lib/exmh-2.0zeta/msg.tcl
+lib/exmh-2.0zeta/msgShow.tcl
+lib/exmh-2.0zeta/partial.tcl
+lib/exmh-2.0zeta/pgp.tcl
+lib/exmh-2.0zeta/pgpEWN.tcl
+lib/exmh-2.0zeta/pgpExec.tcl
+lib/exmh-2.0zeta/pgpMatch.tcl
+lib/exmh-2.0zeta/pgpMisc.tcl
+lib/exmh-2.0zeta/pgpwww.tcl
+lib/exmh-2.0zeta/pick.tcl
+lib/exmh-2.0zeta/post.tcl
+lib/exmh-2.0zeta/preferences.tcl
+lib/exmh-2.0zeta/print.tcl
+lib/exmh-2.0zeta/ps.tcl
+lib/exmh-2.0zeta/quote.tcl
+lib/exmh-2.0zeta/receipt.tcl
+lib/exmh-2.0zeta/report.tcl
+lib/exmh-2.0zeta/rich2tk.tcl
+lib/exmh-2.0zeta/scan.tcl
+lib/exmh-2.0zeta/sedit.tcl
+lib/exmh-2.0zeta/seditBind.tcl
+lib/exmh-2.0zeta/seditCompose.tcl
+lib/exmh-2.0zeta/seditEnriched.tcl
+lib/exmh-2.0zeta/seditExtras.tcl
+lib/exmh-2.0zeta/seditMime.tcl
+lib/exmh-2.0zeta/seditQP.tcl
+lib/exmh-2.0zeta/seditSel.tcl
+lib/exmh-2.0zeta/select.tcl
+lib/exmh-2.0zeta/send.tcl
+lib/exmh-2.0zeta/sound.tcl
+lib/exmh-2.0zeta/tclIndex
+lib/exmh-2.0zeta/text.tcl
+lib/exmh-2.0zeta/textButton.tcl
+lib/exmh-2.0zeta/textSelect.tcl
+lib/exmh-2.0zeta/thread.tcl
+lib/exmh-2.0zeta/timer.bitmap
+lib/exmh-2.0zeta/tioga.tcl
+lib/exmh-2.0zeta/unseenwin.tcl
+lib/exmh-2.0zeta/uri.tcl
+lib/exmh-2.0zeta/url.bitmap
+lib/exmh-2.0zeta/user.tcl
+lib/exmh-2.0zeta/utils.tcl
+lib/exmh-2.0zeta/widgetMenu.tcl
+lib/exmh-2.0zeta/widgetText.tcl
+lib/exmh-2.0zeta/widgets.tcl
+lib/exmh-2.0zeta/xns.tcl
+lib/exmh-2.0zeta/xnsgetmail.exp
+man/man1/exmh.1.gz
+@dirrm lib/exmh-2.0zeta/html
+@dirrm lib/exmh-2.0zeta
diff --git a/mail/exmh/scripts/build b/mail/exmh/scripts/build
new file mode 100644
index 00000000000..e5dd29de1d8
--- /dev/null
+++ b/mail/exmh/scripts/build
@@ -0,0 +1,76 @@
+#! /bin/sh
+#
+# FreeBSD Id: build,v 1.5 1997/08/21 08:09:56 peter Exp
+#
+
+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="{}"
+EXPECTK="{}"
+FACES="{}"
+DOMAIN="{}"
+PGP="{}"
+GLIMPSE="{}"
+PLAY="{}"
+
+if [ -f ${PREFIX}/bin/expect ]; then
+ EXPECT=${PREFIX}/bin/expect #executable
+fi
+if [ -f ${PREFIX}/bin/expectk ]; then
+ EXPECTK=${PREFIX}/bin/expectk #executable
+fi
+
+if [ -d ${PREFIX}/share/faces ]; then
+ FACES=${PREFIX}/share/faces #dir
+ shortname="`hostname -s`"
+ domain="`hostname | sed -e s/^${shortname}// -e s/^.// | tr A-Z a-z`"
+ 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/rplay ]; then
+ PLAY=${PREFIX}/bin/rplay #executable
+fi
+
+echo "s@^#!wish@#!${WISH}@" >${SEDFILE}
+if [ "${EXPECT}" != "{}" ]; then
+ echo "s@^#!expect@#!${EXPECT}@" >>${SEDFILE}
+fi
+echo "/^#CONFIGURATION/a\\" >>${SEDFILE}
+
+sed <${FILESDIR}/config \
+ -e "s+!!PREFIX!!+${PREFIX}+g" \
+ -e "s+!!WISH!!+${WISH}+g" \
+ -e "s+!!EXPECT!!+${EXPECT}+g" \
+ -e "s+!!EXPECTK!!+${EXPECTK}+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/exmh/scripts/install b/mail/exmh/scripts/install
new file mode 100644
index 00000000000..9d99ff1b438
--- /dev/null
+++ b/mail/exmh/scripts/install
@@ -0,0 +1,38 @@
+#! /bin/sh
+#
+# FreeBSD Id: install,v 1.2 1996/12/31 21:27:03 peter Exp
+#
+
+VERSION="`sed -ne 's/^set vers \(.*\)/\1/p' ${WRKSRC}/exmh.install`"
+
+# Rename while installing..
+for i in 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/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}
+
+if [ ! -d ${PREFIX}/lib/exmh-${VERSION}/html ]
+then
+ echo "mkdir ${PREFIX}/lib/exmh-${VERSION}/html"
+ mkdir ${PREFIX}/lib/exmh-${VERSION}/html
+fi
+
+echo "install -c -o bin -g bin -m 444 lib/html/* ${PREFIX}/lib/exmh-${VERSION}/html"
+install -c -o bin -g bin -m 444 lib/html/* ${PREFIX}/lib/exmh-${VERSION}/html