exmh2 port

This commit is contained in:
angelos 1998-05-17 03:21:12 +00:00
parent ad6f59d2ee
commit da0453a50e
8 changed files with 375 additions and 0 deletions

45
mail/exmh2/Makefile Normal file
View File

@ -0,0 +1,45 @@
# OpenBSD Makefile for: exmh2
# Version required: 2.0zeta
# Date released: May 16 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/05/17 03:21:12 angelos Exp $
#
DISTNAME= exmh-2.0.2
CATEGORIES= mail tk80
MASTER_SITES= ftp://ftp.sunlabs.com/pub/tcl/exmh/
EXTRACT_SUFX= .tar.Z
MAINTAINER= angelos@openbsd.org
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>

22
mail/exmh2/files/config Normal file
View File

@ -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!!

1
mail/exmh2/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (exmh-2.0.2.tar.Z) = 2e4d0e7aa57570c9c68c7383a201bd08

1
mail/exmh2/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
X11/TK based mail reader front end to MH.

23
mail/exmh2/pkg/DESCR Normal file
View File

@ -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.

169
mail/exmh2/pkg/PLIST Normal file
View File

@ -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
@dirrm lib/exmh-2.0zeta/html
@dirrm lib/exmh-2.0zeta

76
mail/exmh2/scripts/build Normal file
View File

@ -0,0 +1,76 @@
#! /bin/sh
#
# $Id: build,v 1.1.1.1 1998/05/17 03:21:12 angelos 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}

View File

@ -0,0 +1,38 @@
#! /bin/sh
#
# $Id: install,v 1.1.1.1 1998/05/17 03:21:13 angelos 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