1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Tkrat, Tcl/Tk mail reader. For those Tcl fans of you, this

mail reader is for you!  :)  Described by submitter as
"Tk-ized pine".

PR:		ports/4343 ports/4857 (please limit one pr per port
		                       and send followups to original pr)
Submitted by:	Bruce Gingery <bgingery@gtcs.com>
This commit is contained in:
Tim Vanderhoek 1997-11-14 22:51:10 +00:00
parent 7d0166c2e0
commit d67ff1124e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8627
14 changed files with 340 additions and 0 deletions

43
mail/tkrat/Makefile Normal file
View File

@ -0,0 +1,43 @@
# New ports collection Makefile for: TkRat
# Version required: 1.0.5
# Date created: 24 October 1997
# Whom: Bruce Gingery <bgingery@gtcs.com>
#
# $Id$
#
DISTNAME= tkrat-1.0.5
CATEGORIES= mail tk80
MASTER_SITES= ftp://ftp.md.chalmers.se/pub/tkrat/ \
ftp://ftp.sunet.se/pub/unix/mail/tkrat/
# NOTE: "fetch" fails on FreeBSD 2.2.1 for "no-login", but ncftp succeeds
# from commandline, or script invocation.
MAINTAINER= bgingery@gtcs.com
BUILD_DEPENDS= tclsh:${PORTSDIR}/lang/tcl80
LIB_DEPENDS= c-client\\.2\\.1:${PORTSDIR}/mail/imap-uw \
tk80\\.1:${PORTSDIR}/x11/tk80
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared=yes \
--with-tcl-config=${PREFIX}/lib/tcl8.0 \
--with-tk-config=${PREFIX}/lib/tk8.0
DOCFILES= CONFIGURATION COPYRIGHT README doc/interface doc/userprocs \
doc/userproc.example
post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Copying documents to ${PREFIX}/${PORTDOCDIR}"
@${MKDIR} ${PREFIX}/share/doc/tkrat
.for f in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/tkrat
.endfor
.else
@${ECHO_MSG} "===> Not copying available documents"
.endif
@${MKDIR} ${PREFIX}/lib/ratatosk
${INSTALL_DATA} ${FILESDIR}/ratatoskrc ${PREFIX}/lib/ratatosk
.include <bsd.port.mk>

1
mail/tkrat/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (tkrat-1.0.5.tar.gz) = 9dac94afd014cdb37af73fb21e29a971

27
mail/tkrat/files/patch-aa Normal file
View File

@ -0,0 +1,27 @@
*** Makefile.in.orig Tue Oct 21 16:00:48 1997
--- Makefile.in Sun Nov 9 00:44:42 1997
***************
*** 15,26 ****
all: build
build:
- -cd imap-4.1; \
- if test "`cat OSTYPE 2>/dev/null`" = "${OSTYPE}" ; then \
- ${MAKE}; \
- else \
- ${MAKE} ${OSTYPE}; \
- fi
cd lib; ${MAKE}
cd script; ${MAKE}
cd tkrat; ${MAKE}
--- 15,20 ----
***************
*** 32,38 ****
cd misc; ${MAKE} install
clean:
- cd imap-4.1; ${MAKE} clean
cd lib; ${MAKE} clean
cd script; ${MAKE} clean
cd tkrat; ${MAKE} clean
--- 26,31 ----

View File

@ -0,0 +1,26 @@
# Minimum defaults or important defaults...
#
# See the file /usr/local/share/doc/tkrat/CONFIGURATION for a more
# detailed explanation of these.
#
# Which domain we should pretend we are from
set option(masquerade_as) {}
# Which domain we are in
set option(domain) {}
# Should we sent even though we have a bad hostname?
set option(force_send) 0
# Command to get default folder
set option(default_folder) "INBOX file {} /var/mail/$env(USER)"
# Default sending program
set option(sendprog) /usr/sbin/sendmail
# Can the sending program handle eightbit data
set option(sendprog_8bit) true
# Use the sending program, or use smtp
set option(sendprot) prog

1
mail/tkrat/pkg-comment Normal file
View File

@ -0,0 +1 @@
An advanced scriptable GUI Mail UA for X-, Win32 and Mac

21
mail/tkrat/pkg-descr Normal file
View File

@ -0,0 +1,21 @@
Excerpted from the BLURB file...
TkRat is a graphical Mail User Agent (MUA) which handles MIME, POP3
and IMAP4.1. It is mainly written in C, but the user interface is
done in Tcl/Tk. The following is a non-exhaustive list of the
capabilities:
* Multilingual interface (English, Swedish and Italian included)
* MIME support: text/plain, image/gif and message/rfc822
including multipart/mixed and multipart/alternate,
Quoted-printable and Base64 encoding.
* Supports MIME in headers
* Composing: (tk's text widget plus many extensions) or an
external editor of your choice.
* Message database
* Virtual folders: mbox, mh, IMAP or POP
* Message hold: suspend the composing, continued later
* Watcher: When the program is iconified it checks the mailbox
* Uses sendmail OR direct SMTP or other MA
* Supports Delivery Status Notifications - DSN ESMTP sendmail-8.7
* Supports PGP/MIME and "old-style PGP message receipt"

51
mail/tkrat/pkg-plist Normal file
View File

@ -0,0 +1,51 @@
bin/tkrat
lib/tkratlib/alias.tcl
lib/tkratlib/balloon.tcl
lib/tkratlib/compose.tcl
lib/tkratlib/convert.tcl
lib/tkratlib/dbase.tcl
lib/tkratlib/dsn.tcl
lib/tkratlib/exp.tcl
lib/tkratlib/fileselector.tcl
lib/tkratlib/folder.tcl
lib/tkratlib/font.tcl
lib/tkratlib/help.tcl
lib/tkratlib/info.tcl
lib/tkratlib/keydef.tcl
lib/tkratlib/languages.tcl
lib/tkratlib/options.tcl
lib/tkratlib/pgp.tcl
lib/tkratlib/preferences.tcl
lib/tkratlib/print.tcl
lib/tkratlib/show.tcl
lib/tkratlib/source.tcl
lib/tkratlib/tclIndex
lib/tkratlib/text_changes_en.tcl
lib/tkratlib/text_changes_it.tcl
lib/tkratlib/text_changes_sv.tcl
lib/tkratlib/text_help_en.tcl
lib/tkratlib/text_help_it.tcl
lib/tkratlib/text_help_sv.tcl
lib/tkratlib/text_t_en.tcl
lib/tkratlib/text_t_it.tcl
lib/tkratlib/text_t_sv.tcl
lib/tkratlib/tkrat
lib/tkratlib/tkrat.exec
lib/tkratlib/tkrat.xbm
lib/tkratlib/tkrat.xpm
lib/tkratlib/tkrat_small.xbm
lib/tkratlib/tkrat_smallmask.xbm
lib/tkratlib/tkratmask.xbm
lib/tkratlib/vfolder.tcl
lib/tkratlib/vfolderdef.tcl
lib/tkratlib/watcher.tcl
lib/ratatosk/ratatoskrc
share/doc/tkrat/CONFIGURATION
share/doc/tkrat/COPYRIGHT
share/doc/tkrat/README
share/doc/tkrat/interface
share/doc/tkrat/userprocs
share/doc/tkrat/userproc.example
@dirrm lib/tkratlib
@dirrm share/doc/tkrat
@dirrm lib/ratatosk

43
mail/tkrat2/Makefile Normal file
View File

@ -0,0 +1,43 @@
# New ports collection Makefile for: TkRat
# Version required: 1.0.5
# Date created: 24 October 1997
# Whom: Bruce Gingery <bgingery@gtcs.com>
#
# $Id$
#
DISTNAME= tkrat-1.0.5
CATEGORIES= mail tk80
MASTER_SITES= ftp://ftp.md.chalmers.se/pub/tkrat/ \
ftp://ftp.sunet.se/pub/unix/mail/tkrat/
# NOTE: "fetch" fails on FreeBSD 2.2.1 for "no-login", but ncftp succeeds
# from commandline, or script invocation.
MAINTAINER= bgingery@gtcs.com
BUILD_DEPENDS= tclsh:${PORTSDIR}/lang/tcl80
LIB_DEPENDS= c-client\\.2\\.1:${PORTSDIR}/mail/imap-uw \
tk80\\.1:${PORTSDIR}/x11/tk80
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared=yes \
--with-tcl-config=${PREFIX}/lib/tcl8.0 \
--with-tk-config=${PREFIX}/lib/tk8.0
DOCFILES= CONFIGURATION COPYRIGHT README doc/interface doc/userprocs \
doc/userproc.example
post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Copying documents to ${PREFIX}/${PORTDOCDIR}"
@${MKDIR} ${PREFIX}/share/doc/tkrat
.for f in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/tkrat
.endfor
.else
@${ECHO_MSG} "===> Not copying available documents"
.endif
@${MKDIR} ${PREFIX}/lib/ratatosk
${INSTALL_DATA} ${FILESDIR}/ratatoskrc ${PREFIX}/lib/ratatosk
.include <bsd.port.mk>

1
mail/tkrat2/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (tkrat-1.0.5.tar.gz) = 9dac94afd014cdb37af73fb21e29a971

View File

@ -0,0 +1,27 @@
*** Makefile.in.orig Tue Oct 21 16:00:48 1997
--- Makefile.in Sun Nov 9 00:44:42 1997
***************
*** 15,26 ****
all: build
build:
- -cd imap-4.1; \
- if test "`cat OSTYPE 2>/dev/null`" = "${OSTYPE}" ; then \
- ${MAKE}; \
- else \
- ${MAKE} ${OSTYPE}; \
- fi
cd lib; ${MAKE}
cd script; ${MAKE}
cd tkrat; ${MAKE}
--- 15,20 ----
***************
*** 32,38 ****
cd misc; ${MAKE} install
clean:
- cd imap-4.1; ${MAKE} clean
cd lib; ${MAKE} clean
cd script; ${MAKE} clean
cd tkrat; ${MAKE} clean
--- 26,31 ----

View File

@ -0,0 +1,26 @@
# Minimum defaults or important defaults...
#
# See the file /usr/local/share/doc/tkrat/CONFIGURATION for a more
# detailed explanation of these.
#
# Which domain we should pretend we are from
set option(masquerade_as) {}
# Which domain we are in
set option(domain) {}
# Should we sent even though we have a bad hostname?
set option(force_send) 0
# Command to get default folder
set option(default_folder) "INBOX file {} /var/mail/$env(USER)"
# Default sending program
set option(sendprog) /usr/sbin/sendmail
# Can the sending program handle eightbit data
set option(sendprog_8bit) true
# Use the sending program, or use smtp
set option(sendprot) prog

1
mail/tkrat2/pkg-comment Normal file
View File

@ -0,0 +1 @@
An advanced scriptable GUI Mail UA for X-, Win32 and Mac

21
mail/tkrat2/pkg-descr Normal file
View File

@ -0,0 +1,21 @@
Excerpted from the BLURB file...
TkRat is a graphical Mail User Agent (MUA) which handles MIME, POP3
and IMAP4.1. It is mainly written in C, but the user interface is
done in Tcl/Tk. The following is a non-exhaustive list of the
capabilities:
* Multilingual interface (English, Swedish and Italian included)
* MIME support: text/plain, image/gif and message/rfc822
including multipart/mixed and multipart/alternate,
Quoted-printable and Base64 encoding.
* Supports MIME in headers
* Composing: (tk's text widget plus many extensions) or an
external editor of your choice.
* Message database
* Virtual folders: mbox, mh, IMAP or POP
* Message hold: suspend the composing, continued later
* Watcher: When the program is iconified it checks the mailbox
* Uses sendmail OR direct SMTP or other MA
* Supports Delivery Status Notifications - DSN ESMTP sendmail-8.7
* Supports PGP/MIME and "old-style PGP message receipt"

51
mail/tkrat2/pkg-plist Normal file
View File

@ -0,0 +1,51 @@
bin/tkrat
lib/tkratlib/alias.tcl
lib/tkratlib/balloon.tcl
lib/tkratlib/compose.tcl
lib/tkratlib/convert.tcl
lib/tkratlib/dbase.tcl
lib/tkratlib/dsn.tcl
lib/tkratlib/exp.tcl
lib/tkratlib/fileselector.tcl
lib/tkratlib/folder.tcl
lib/tkratlib/font.tcl
lib/tkratlib/help.tcl
lib/tkratlib/info.tcl
lib/tkratlib/keydef.tcl
lib/tkratlib/languages.tcl
lib/tkratlib/options.tcl
lib/tkratlib/pgp.tcl
lib/tkratlib/preferences.tcl
lib/tkratlib/print.tcl
lib/tkratlib/show.tcl
lib/tkratlib/source.tcl
lib/tkratlib/tclIndex
lib/tkratlib/text_changes_en.tcl
lib/tkratlib/text_changes_it.tcl
lib/tkratlib/text_changes_sv.tcl
lib/tkratlib/text_help_en.tcl
lib/tkratlib/text_help_it.tcl
lib/tkratlib/text_help_sv.tcl
lib/tkratlib/text_t_en.tcl
lib/tkratlib/text_t_it.tcl
lib/tkratlib/text_t_sv.tcl
lib/tkratlib/tkrat
lib/tkratlib/tkrat.exec
lib/tkratlib/tkrat.xbm
lib/tkratlib/tkrat.xpm
lib/tkratlib/tkrat_small.xbm
lib/tkratlib/tkrat_smallmask.xbm
lib/tkratlib/tkratmask.xbm
lib/tkratlib/vfolder.tcl
lib/tkratlib/vfolderdef.tcl
lib/tkratlib/watcher.tcl
lib/ratatosk/ratatoskrc
share/doc/tkrat/CONFIGURATION
share/doc/tkrat/COPYRIGHT
share/doc/tkrat/README
share/doc/tkrat/interface
share/doc/tkrat/userprocs
share/doc/tkrat/userproc.example
@dirrm lib/tkratlib
@dirrm share/doc/tkrat
@dirrm lib/ratatosk