summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>1999-05-25 15:30:34 +0000
committerbouyer <bouyer@pkgsrc.org>1999-05-25 15:30:34 +0000
commit26d2e8f51466d10664821aca23c8d287d7a2acb7 (patch)
tree2b636723af4d76496ff56a3c9d6e7d5891cbc2d1 /mail
parent85acd5d87cd1e677055030379dde26c4a034ac4c (diff)
downloadpkgsrc-26d2e8f51466d10664821aca23c8d287d7a2acb7.tar.gz
Package for xmailbox, an enhanced xbiff.
Diffstat (limited to 'mail')
-rw-r--r--mail/xmailbox/Makefile23
-rw-r--r--mail/xmailbox/files/md53
-rw-r--r--mail/xmailbox/patches/patch-aa28
-rw-r--r--mail/xmailbox/patches/patch-ab11
-rw-r--r--mail/xmailbox/pkg/COMMENT1
-rw-r--r--mail/xmailbox/pkg/DESCR68
-rw-r--r--mail/xmailbox/pkg/PLIST14
7 files changed, 148 insertions, 0 deletions
diff --git a/mail/xmailbox/Makefile b/mail/xmailbox/Makefile
new file mode 100644
index 00000000000..7f0d8b031ad
--- /dev/null
+++ b/mail/xmailbox/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/05/25 15:30:34 bouyer Exp $
+#
+
+DISTNAME= xmailbox-2.5
+CATEGORIES= mail x11
+MASTER_SITES= ftp://ftp.x.org/contrib/applications/
+
+MAINTAINER= bouyer@netbsd.org
+
+DEPENDS+= xpm-3.4k:../../graphics/xpm
+
+USE_IMAKE= YES
+MAKE_ENV+= INSTALL_PROGRAM='${INSTALL_PROGRAM}'
+MAKE_ENV+= INSTALL_MAN='${INSTALL_MAN}'
+
+post-install:
+ ${INSTALL} -d -m 555 -o ${BINOWN} -g ${BINGRP} ${PREFIX}/share/xmailbox
+ cd ${WRKSRC}/icons && ${INSTALL_DATA} \
+ 0xmail1.xpm 1xmail1.xpm 2xmail1.xpm 3xmail1.xpm 4xmail1.xpm \
+ 5xmail1.xpm xmail1.xpm xnomail1.xpm \
+ ${PREFIX}/share/xmailbox
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/xmailbox/files/md5 b/mail/xmailbox/files/md5
new file mode 100644
index 00000000000..c03a48474a8
--- /dev/null
+++ b/mail/xmailbox/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/05/25 15:30:34 bouyer Exp $
+
+MD5 (xmailbox-2.5.tar.gz) = 31ac48e470724267ec00f8f93ccf22af
diff --git a/mail/xmailbox/patches/patch-aa b/mail/xmailbox/patches/patch-aa
new file mode 100644
index 00000000000..d5695a8d1d4
--- /dev/null
+++ b/mail/xmailbox/patches/patch-aa
@@ -0,0 +1,28 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/05/25 15:30:34 bouyer Exp $
+
+--- XMailbox.ad.orig Tue May 25 17:01:18 1999
++++ XMailbox.ad Tue May 25 17:04:29 1999
+@@ -1,16 +1,16 @@
+ !--------------------
+ ! XMailbox defaults
+ !--------------------
+-xmailbox*geometry: -24+102
++! xmailbox*geometry: -24+102
+ xmailbox*volume: 50
+ xmailbox*update: 60
+-xmailbox*onceOnly: true
+-xmailbox*mailNumOfXpmFile: 1
++xmailbox*onceOnly: false
++xmailbox*mailNumOfXpmFile: 6
+ xmailbox*mailAnimOnce: true
+-! xmailbox*mailAnimUpdate: 1000
+-! xmailbox*mailapp: echo 'setenv LINES 25; setenv COLUMNS 80; xterm -n Elm -e elm' | /bin/csh -f -s
++xmailbox*mailAnimUpdate: 800
++xmailbox*nomailXpmFile: /usr/X11R6/share/xmailbox/xnomail1.xpm
++xmailbox*mailXpmFile: /usr/X11R6/share/xmailbox/xmail1.xpm
++xmailbox*mailapp: echo 'setenv LINES 25; setenv COLUMNS 80; xterm -n Mutt -e mutt' | /bin/csh -f -s
+ ! xmailbox*mailSndFile: /usr/public/lib/sounds/bong.au
+ ! xmailbox*mailSndComm: /usr/public/bin/play %s
+-! xmailbox*nomailXpmFile: /usr/X11/include/X11/pixmaps/mail0.xpm
+-! xmailbox*mailXpmFile: /usr/X11/include/X11/pixmaps/mail1.xpm
+
diff --git a/mail/xmailbox/patches/patch-ab b/mail/xmailbox/patches/patch-ab
new file mode 100644
index 00000000000..2c92493feeb
--- /dev/null
+++ b/mail/xmailbox/patches/patch-ab
@@ -0,0 +1,11 @@
+--- MailboxP.h.orig Tue May 25 17:10:18 1999
++++ MailboxP.h Tue May 25 17:10:28 1999
+@@ -36,7 +36,7 @@
+
+ #include "Mailbox.h"
+ #include <X11/Xaw/SimpleP.h>
+-#include <xpm.h>
++#include <X11/xpm.h>
+
+ #ifdef SYSV
+ #define MAILBOX_DIRECTORY "/usr/mail"
diff --git a/mail/xmailbox/pkg/COMMENT b/mail/xmailbox/pkg/COMMENT
new file mode 100644
index 00000000000..eaef090b4fc
--- /dev/null
+++ b/mail/xmailbox/pkg/COMMENT
@@ -0,0 +1 @@
+An enhenced xbiff, with pixmap and sound support.
diff --git a/mail/xmailbox/pkg/DESCR b/mail/xmailbox/pkg/DESCR
new file mode 100644
index 00000000000..1e4a9208a09
--- /dev/null
+++ b/mail/xmailbox/pkg/DESCR
@@ -0,0 +1,68 @@
+README
+======
+
+The xmailbox program started out as an enhanced xbiff. However, the latest
+version includes support for sound effects and animation. The default
+functionality employs two images for the "mail in mailbox" and "no mail"
+states, in the form of XPM type 3 files. The default images are, respectively,
+that of an empty mailbox with its flag down, and that of an open mailbox,
+with its flag up and a letter visible inside. Animation can be enabled for
+playing up to 8 XPM files in repeated sequence.
+
+The application can also, optionally, play a sound through a workstation's
+audio device, instead of generating the default beep sound, whenever new
+mail arrives. The following sound packages/drivers are supported:
+
+ 1) NCD audio server
+ 2) Rplay sound package
+ 3) Linux's Sun-compatible audio driver (/dev/audio)
+ 4) Standard SUN audio driver (/dev/audio)
+ 5) FreeBSD SUN-compatible audio driver (contributed by Brian Clapper -
+ bmc@telebase.com)
+ 6) Any external sound player (contributed by Laurent Martin -
+ martin@isia.cma.fr)
+
+By default, pressing any mouse button in the image forces xmailbox to
+remember the current size of the mail file as being the "empty" size and
+to change its image accordingly. In addition to this, the user can
+optionally have xmailbox invoke his/her favourite mail retrieving program.
+
+This program is nothing more than a wrapper around the Mailbox widget
+included with the program's source distribution. Mailbox was derived by
+the Mailbox widget included with the Athena Widget Set. The first version
+of Mailbox was a hack based on the X11R5 Mailbox widget written by
+Jim Fulton, MIT X Consortium, and Ralph Swick, DEC/MIT Project Athena. The
+xmailbox source is very similar to xbiff.
+
+If you are planning to use the NCD Audio server or the rplay sound package,
+you can obtain these packages from ftp.x.org in /contrib/netaudio and
+/contrib/rplay respectively. These packages provide network sound support.
+
+To build xmailbox:
+ 1. make any required changes in Imakefile, by specifying where the
+ XPM includes and libs are, as well as the desired audio interface,
+ 2. run xmkmf and then make.
+
+This program has been tested on Sun Sparc 2,5,10,20 & IPX under SunOS
+4.1.3 and 4.1.4, HP 9000/710 under HP-UX 9.01, and i86 PCs equipped with
+Soundblaster-16 audio cards (although any card supported by the kernel
+sound driver should work fine) under Linux 1.2.x, 1.3.x, and 2.0.x.
+
+NOTE: You'll need xpm-3.4 or higher in order to compile xmailbox.
+---- As of this writing, the latest version of xpm is 3.4; it can be
+ obtained from ftp.x.org (in directory contrib, file xpm-3.4.tar.gz).
+
+ Enjoy!
+
+ Dimitrios P. Bouras (dbouras@hol.gr) and
+ William K. W. Cheung (wcheung@mail.spiralcomm.com)
+
+-------------------------------------------------------------------------------
+THE AUTHORS (Dimitrios P. Bouras and William K. W. Cheung) MAKE NO
+REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE FOR ANY PURPOSE.
+IT IS PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY.
+
+Xbiff IS COPYRIGHT 1988, X CONSORTIUM
+SEE X(1) FOR A FULL STATEMENT OF RIGHTS AND PERMISSIONS.
+-------------------------------------------------------------------------------
+
diff --git a/mail/xmailbox/pkg/PLIST b/mail/xmailbox/pkg/PLIST
new file mode 100644
index 00000000000..a0ef4cc4b0e
--- /dev/null
+++ b/mail/xmailbox/pkg/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/05/25 15:30:34 bouyer Exp $
+bin/xmailbox
+lib/X11/app-defaults/XMailbox
+share/xmailbox/0xmail1.xpm
+share/xmailbox/1xmail1.xpm
+share/xmailbox/2xmail1.xpm
+share/xmailbox/3xmail1.xpm
+share/xmailbox/4xmail1.xpm
+share/xmailbox/5xmail1.xpm
+share/xmailbox/xmail1.xpm
+share/xmailbox/xnomail1.xpm
+man/cat1/xmailbox.0
+@exec mkdir -p %D/share/xmailbox
+@unexec rm -rf %D/share/xmailbox