aboutsummaryrefslogtreecommitdiffstats
path: root/mail/xmail
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1998-01-09 12:57:38 +0800
committerandreas <andreas@FreeBSD.org>1998-01-09 12:57:38 +0800
commitc0686633cb8857f7e25ded7aac8813020d9928f1 (patch)
tree3560599ba694fda9b5f972a91fd3eba54cce3eef /mail/xmail
parentcd74a807be1b769fb48f9c2a001134f276d3e8df (diff)
downloadfreebsd-ports-gnome-c0686633cb8857f7e25ded7aac8813020d9928f1.tar.gz
freebsd-ports-gnome-c0686633cb8857f7e25ded7aac8813020d9928f1.tar.zst
freebsd-ports-gnome-c0686633cb8857f7e25ded7aac8813020d9928f1.zip
New port xmail. A x11 frontend to the mail command.
Submitted by: "Stephen J. Roznowski" <sjr@home.net>
Diffstat (limited to 'mail/xmail')
-rw-r--r--mail/xmail/Makefile25
-rw-r--r--mail/xmail/distinfo1
-rw-r--r--mail/xmail/files/patch-aa29
-rw-r--r--mail/xmail/files/patch-ab19
-rw-r--r--mail/xmail/files/patch-ac188
-rw-r--r--mail/xmail/pkg-comment1
-rw-r--r--mail/xmail/pkg-descr16
-rw-r--r--mail/xmail/pkg-plist3
8 files changed, 282 insertions, 0 deletions
diff --git a/mail/xmail/Makefile b/mail/xmail/Makefile
new file mode 100644
index 000000000000..1f7e39d6bbe8
--- /dev/null
+++ b/mail/xmail/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: xmail
+# Version required: 1.6
+# Date created: 15 July 1997
+# Whom: Stephen Roznowski <sjr1@flash.net>
+#
+# $Id$
+#
+
+DISTNAME= xmail_1.6
+PKGNAME= xmail-1.6
+CATEGORIES= x11 mail
+MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+MASTER_SITE_SUBDIR= applications
+
+MAINTAINER= andreas@FreeBSD.ORG
+
+USE_IMAKE= yes
+MAN1= xmail.1
+
+do-install:
+ $(INSTALL_PROGRAM) $(WRKSRC)/xmail $(PREFIX)/bin/xmail
+ $(INSTALL_MAN) $(WRKSRC)/xmail.man $(PREFIX)/man/man1/xmail.1
+ $(INSTALL_DATA) $(WRKSRC)/XMail.ad $(PREFIX)/lib/X11/app-defaults/XMail
+
+.include <bsd.port.mk>
diff --git a/mail/xmail/distinfo b/mail/xmail/distinfo
new file mode 100644
index 000000000000..fbb55887ac20
--- /dev/null
+++ b/mail/xmail/distinfo
@@ -0,0 +1 @@
+MD5 (xmail_1.6.tar.gz) = 897c6187319b3ac55067b9b989fcab32
diff --git a/mail/xmail/files/patch-aa b/mail/xmail/files/patch-aa
new file mode 100644
index 000000000000..0ce9873658bb
--- /dev/null
+++ b/mail/xmail/files/patch-aa
@@ -0,0 +1,29 @@
+--- Imakefile.orig Mon Jan 30 16:41:47 1995
++++ Imakefile Tue Mar 4 23:50:35 1997
+@@ -31,7 +31,7 @@
+ /* */# Define MAILBOX_DIRECTORY if your mail spool is located in other than the
+ /* */# default /usr/spool/mail. (If not specified, the default will be used.)
+ /* */#
+-/* */# MAILBOX_DIR = -DMAILBOX_DIRECTORY=\"/usr/spool/mail\"
++ MAILBOX_DIR = -DMAILBOX_DIRECTORY=\"/var/mail\"
+ /* */#
+ /* */# Define DEFAULT_VISUAL if your copy of vi lies in some place other than
+ /* */# /usr/ucb. (If not specified, /usr/ucb/vi will be the default editor.)
+@@ -41,7 +41,7 @@
+ /* */# Define DEFAULT_MAILER if your mail program is not the standard
+ /* */# /usr/ucb/Mail. CAUTION - Operation is NOT guaranteed with other mailers.
+
+-/* */# DEF_MAILER = -DDEFAULT_MAILER=\"/usr/ucb/Mail\"
++ DEF_MAILER = -DDEFAULT_MAILER=\"/usr/bin/Mail\"
+
+ /* */#
+ /* */# Define SIGACTION if your system utilizes the sigaction() call rather
+@@ -57,7 +57,7 @@
+ DEFINES = $(USE_DIRENT) $(X_FACE) $(XPM) $(REGEXP) $(XMAIL_DEFINES)
+
+ DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
+-LOCAL_LIBRARIES = $(LIBXPM) $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) $(COMPFACE) $(LPT)
++LOCAL_LIBRARIES = $(LIBXPM) $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) $(COMPFACE) $(LPT) -lcompat
+
+ SRCS = Mailwatch.c HelpText.c actions.c callMail.c callbacks.c \
+ confirm.c directory.c environs.c handler.c mail.c parser.c \
diff --git a/mail/xmail/files/patch-ab b/mail/xmail/files/patch-ab
new file mode 100644
index 000000000000..af2cbe011fac
--- /dev/null
+++ b/mail/xmail/files/patch-ab
@@ -0,0 +1,19 @@
+--- callbacks.c.orig Fri Jan 27 16:09:15 1995
++++ callbacks.c Thu Mar 6 22:50:38 1997
+@@ -45,7 +45,6 @@
+ #else
+ extern int errno;
+ extern int sys_nerr;
+-extern char *sys_errlist[];
+ #endif
+
+ extern char otherBuf[BUFSIZ];
+@@ -608,7 +607,7 @@
+ }
+
+ if (! (m = GetMailEnv("sendmail")))
+- m = XtNewString("/usr/lib/sendmail");
++ m = XtNewString("/usr/sbin/sendmail");
+ #ifdef X_FACE
+ else {
+ add_face = (strcmp(&m[strlen(m)-14], "faces.sendmail") != 0) ? 1 : 0;
diff --git a/mail/xmail/files/patch-ac b/mail/xmail/files/patch-ac
new file mode 100644
index 000000000000..514481fe10f9
--- /dev/null
+++ b/mail/xmail/files/patch-ac
@@ -0,0 +1,188 @@
+--- XMail.ad.orig Mon Jan 30 16:55:51 1995
++++ XMail.ad Mon Sep 8 23:28:56 1997
+@@ -20,98 +20,98 @@
+ ! d2b48c - tan daa520 - goldenrod 7fff00 - chartreuse
+ ! f0e68c - khaki ffe4e1 - mistyrose fffacd - lemonchiffon
+ !
+-! *expert: True
+-! .geometry: +65+3
+-! *iconGeometry: +835+0
+-! *shapeStyle: oval
++*expert: True
++.geometry: +65+3
++*iconGeometry: +835+0
++*shapeStyle: oval
+ !
+-! *Abort.background: white
+-! *Abort.foreground: red
++*Abort.background: white
++*Abort.foreground: red
+ *Abort.translations: #override <Btn2Down>: ShowHelp()
+-! *Autograph.background: cyan
++*Autograph.background: cyan
+ *Autograph.translations: #override <Btn2Down>: ShowHelp()
+-! *autograph.background: paleturquoise
++*autograph.background: paleturquoise
+ *autograph.translations: #override <Btn2Down>: ShowHelp()
+-! *aliasList*Background: tan
+-! *aliasList.table.entry.background: cyan
+-! *alwaysignore*foreground: seagreen
+-! *noalwaysignore*foreground: red
+-! *autoprint*foreground: seagreen
+-! *noautoprint*foreground: red
+-! *background: yellow
+-! *borderColor: brown
+-! *Bcc.background: cyan
+-! *Bcc*AsciiSink*Background: cyan
++*aliasList*Background: tan
++*aliasList.table.entry.background: cyan
++*alwaysignore*foreground: seagreen
++*noalwaysignore*foreground: red
++*autoprint*foreground: seagreen
++*noautoprint*foreground: red
++*background: yellow
++*borderColor: brown
++*Bcc.background: cyan
++*Bcc*AsciiSink*Background: cyan
+ *Bcc*scrollHorizontal: whenNeeded
+ *Bcc*Thickness: 5
+ *Bcc*MinimumThumb: 3
+-! *Cancel.background: mistyrose
+-! *Cancel.foreground: black
++*Cancel.background: mistyrose
++*Cancel.foreground: black
+ *Cancel.translations: #override <Btn2Down>: ShowHelp()
+-! *Cc.background: cyan
+-! *Cc*AsciiSink*Background: cyan
++*Cc.background: cyan
++*Cc*AsciiSink*Background: cyan
+ *Cc*scrollHorizontal: whenNeeded
+ *Cc*Thickness: 5
+ *Cc*MinimumThumb: 3
+-! *Copy.foreground: blue
+-! *commandPanel.background: goldenrod
+-! *copy.background: cyan
+-! *Deliver.background: green
+-! *Deliver.foreground: brown
+-! *Deliver.borderColor: brown
++*Copy.foreground: blue
++*commandPanel.background: goldenrod
++*copy.background: cyan
++*Deliver.background: green
++*Deliver.foreground: brown
++*Deliver.borderColor: brown
+ *Deliver.translations: #override <Btn2Down>: ShowHelp()
+-! *delete.foreground: red
+-! *delete.background: white
+-! *Drop.foreground: red
+-! *editheaders*foreground: seagreen
+-! *noeditheaders*foreground: red
+-! *editorCommand: xterm -name XMail -title "Message Edit" -display %s -e vi %s
+-! *exit.foreground: blue
+-! *expert*foreground: seagreen
+-! *noexpert*foreground: red
+-! *Folder.background: cyan
+-! *Font: *-courier-bold-r-normal--14-*
+-! *fileWindow*background: chartreuse
++*delete.foreground: red
++*delete.background: white
++*Drop.foreground: red
++*editheaders*foreground: seagreen
++*noeditheaders*foreground: red
++*editorCommand: xterm -name XMail -title "Message Edit" -display %s -e vi %s
++*exit.foreground: blue
++*expert*foreground: seagreen
++*noexpert*foreground: red
++*Folder.background: cyan
++!*Font: *-courier-bold-r-normal--14-*
++*fileWindow*background: chartreuse
+ *fileWindow*scrollHorizontal: whenNeeded
+ *fileWindow*Thickness: 5
+ *fileWindow*MinimumThumb: 3
+-! *foreground: brown
+-! *forward.foreground: green3
+-! *full.foreground: red
++*foreground: brown
++*forward.foreground: green3
++*full.foreground: red
+ *grip*foreground: brown
+-! *hold*foreground: seagreen
+-! *nohold*foreground: red
+-! *icon*background: lightgoldenrod
+-! *icon*foreground: brown
+-! *inc.background: cyan
+-! *indexWindow*background: lemonchiffon
++*hold*foreground: seagreen
++*nohold*foreground: red
++*icon*background: lightgoldenrod
++*icon*foreground: brown
++*inc.background: cyan
++*indexWindow*background: lemonchiffon
+ *indexWindow*scrollHorizontal: whenNeeded
+ *indexWindow*Thickness: 10
+ *indexWindow*MinimumThumb: 5
+-! *list.background: tan
+-! *menu.background: tan
+-! *menubutton.foreground: brown
+-! *menubutton.background: cyan
+-! *Newmail.foreground: blue
+-! *previous.foreground: blue
+-! *quit.foreground: red
+-! *quit.background: white
+-! *read.foreground: green3
+-! *ReEdit.background: khaki
+-! *ReEdit.foreground: brown
++*list.background: tan
++*menu.background: tan
++*menubutton.foreground: brown
++*menubutton.background: cyan
++*Newmail.foreground: blue
++*previous.foreground: blue
++*quit.foreground: red
++*quit.background: white
++*read.foreground: green3
++*ReEdit.background: khaki
++*ReEdit.foreground: brown
+ *ReEdit.translations: #override <Btn2Down>: ShowHelp()
+-! *replyall.background: green
+-! *save.background: cyan
+-! *Save.foreground: blue
+-! *set_menu.background: tan
++*replyall.background: green
++*save.background: cyan
++*Save.foreground: blue
++*set_menu.background: tan
+ *statusWindow.background: brown
+ *statusWindow.foreground: yellow
+-! *Subject.background: cyan
+-! *Subject*AsciiSink*Background: cyan
++*Subject.background: cyan
++*Subject*AsciiSink*Background: cyan
+ *Subject*scrollHorizontal: whenNeeded
+ *Subject*Thickness: 5
+ *Subject*MinimumThumb: 3
+-! *textWindow*background: lemonchiffon
++*textWindow*background: lemonchiffon
+ *textWindow.text*Wrap: word
+ *textWindow.face.background: white
+ *textWindow.face.foreground: black
+@@ -121,14 +121,14 @@
+ *titleBar*Foreground: yellow
+ *titleBar.logo.background: white
+ *titleBar.logo.foreground: blue
+-! *To.Background: cyan
+-! *To*AsciiSink*Background: cyan
++*To.Background: cyan
++*To*AsciiSink*Background: cyan
+ *To*scrollHorizontal: whenNeeded
+ *To*Thickness: 5
+ *To*MinimumThumb: 3
+-! *undelete.foreground: green3
+-! *write.foreground: green3
+-! *Write.foreground: red
++*undelete.foreground: green3
++*write.foreground: green3
++*Write.foreground: red
+ !
+ *Bcc.translations: #override \n\
+ <Key>Delete: delete-previous-character() \n\
diff --git a/mail/xmail/pkg-comment b/mail/xmail/pkg-comment
new file mode 100644
index 000000000000..1caa8ab795fb
--- /dev/null
+++ b/mail/xmail/pkg-comment
@@ -0,0 +1 @@
+An X-based interface to the Berkeley mail program.
diff --git a/mail/xmail/pkg-descr b/mail/xmail/pkg-descr
new file mode 100644
index 000000000000..78b486236774
--- /dev/null
+++ b/mail/xmail/pkg-descr
@@ -0,0 +1,16 @@
+xmail is an X-based interface to the Berkeley mail program. This
+version of xmail depends heavily upon the installation of the
+application default resources file for the proper declaration of
+features and enhancements documented in the man pages. If the
+defaults file or the resource declarations are not installed or in
+some manner made accessable to the X11 resource database manager,
+xmail will operate in only a minimal fashion.
+
+This version of xmail includes support for decompressing and
+displaying the content of an X-Face mail header, if such a header
+exists in the message being read. This feature is a compile time
+option, and requires the existence of the compface library routines,
+which are NOT supplied with the xmail sources. X-Face headers
+are compressed bitmap images, typically of the face of the person
+owning such a header. The compressed header contains only printable
+characters, which allows it to be included in a mail message.
diff --git a/mail/xmail/pkg-plist b/mail/xmail/pkg-plist
new file mode 100644
index 000000000000..746f1ad3ce00
--- /dev/null
+++ b/mail/xmail/pkg-plist
@@ -0,0 +1,3 @@
+bin/xmail
+lib/X11/app-defaults/XMail
+man/man1/xmail.1.gz