summaryrefslogtreecommitdiff
path: root/mail/xmailwatcher
diff options
context:
space:
mode:
authornra <nra@pkgsrc.org>2001-06-27 18:26:54 +0000
committernra <nra@pkgsrc.org>2001-06-27 18:26:54 +0000
commitae858c3e8e319f933b6e3c289f2e64e0e047405b (patch)
tree07ee3a1eba1b2554404a8aba82c0a50418b06486 /mail/xmailwatcher
parenta61774cdfeebbc71d5904bcd9d16dec2eaf232fc (diff)
downloadpkgsrc-ae858c3e8e319f933b6e3c289f2e64e0e047405b.tar.gz
Import xmailwatcher.
A X11 mailbox checker which displays sender and subject lines of emails.
Diffstat (limited to 'mail/xmailwatcher')
-rw-r--r--mail/xmailwatcher/Makefile21
-rw-r--r--mail/xmailwatcher/distinfo5
-rw-r--r--mail/xmailwatcher/patches/patch-aa22
-rw-r--r--mail/xmailwatcher/pkg/DESCR3
-rw-r--r--mail/xmailwatcher/pkg/PLIST4
5 files changed, 55 insertions, 0 deletions
diff --git a/mail/xmailwatcher/Makefile b/mail/xmailwatcher/Makefile
new file mode 100644
index 00000000000..002e961bb91
--- /dev/null
+++ b/mail/xmailwatcher/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/06/27 18:26:54 nra Exp $
+# FreeBSD: ports/mail/xmailwatcher/Makefile,v 1.1 2001/03/09 22:31:32 sada Exp
+
+DISTNAME= xmailwatcher
+PKGNAME= ${DISTNAME}-1.6
+CATEGORIES= mail
+MASTER_SITES= ftp://ftp.dcs.ed.ac.uk/pub/X11/
+
+MAINTAINER= packages@NetBSD.org
+COMMENT= Mailbox checker which displays sender and subject lines of mails
+
+USE_IMAKE= yes
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/xmailwatcher
+ ${INSTALL_DATA} ${WRKSRC}/xmailwatcher.1.html \
+ ${PREFIX}/share/xmailwatcher
+ ${INSTALL_PROGRAM} ${WRKSRC}/xmailwatcher ${PREFIX}/bin
+ strip ${PREFIX}/bin/xmailwatcher
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/xmailwatcher/distinfo b/mail/xmailwatcher/distinfo
new file mode 100644
index 00000000000..d9c21cf984f
--- /dev/null
+++ b/mail/xmailwatcher/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/06/27 18:26:54 nra Exp $
+
+SHA1 (xmailwatcher.tar.gz) = eed0c1b39a0877471ab4a862a49f1fd8b5bfacfc
+Size (xmailwatcher.tar.gz) = 15393 bytes
+SHA1 (patch-aa) = f9af02cab5c4b3244e1a5ac346b8fff123fcf441
diff --git a/mail/xmailwatcher/patches/patch-aa b/mail/xmailwatcher/patches/patch-aa
new file mode 100644
index 00000000000..fb98fb63bc1
--- /dev/null
+++ b/mail/xmailwatcher/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/06/27 18:26:54 nra Exp $
+
+--- box.c.orig Sat Feb 3 18:13:00 2001
++++ box.c Sat Feb 3 18:13:50 2001
+@@ -31,7 +31,7 @@
+ #include <unistd.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+-#include <sys/dir.h>
++#include <dirent.h>
+ #include <X11/Xos.h>
+
+ /* MIME processing */
+@@ -235,7 +235,7 @@
+ int n, i, tally;
+ char oneFrom[160];
+ char *pos;
+- char filename[PATH_MAX];
++ char filename[FILENAME_MAX];
+
+ if (flags & BOX_DEBUG) (void) printf("MHparseMailbox(%s)\n", mailbox);
+
diff --git a/mail/xmailwatcher/pkg/DESCR b/mail/xmailwatcher/pkg/DESCR
new file mode 100644
index 00000000000..c52118a234c
--- /dev/null
+++ b/mail/xmailwatcher/pkg/DESCR
@@ -0,0 +1,3 @@
+This is XMAILWATCHER, which periodically checks a user's mailbox. If
+there is mail, the user is notified either by a changing icon, or by a
+list of senders and subjects in an X object.
diff --git a/mail/xmailwatcher/pkg/PLIST b/mail/xmailwatcher/pkg/PLIST
new file mode 100644
index 00000000000..510a802aab4
--- /dev/null
+++ b/mail/xmailwatcher/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/06/27 18:26:54 nra Exp $
+bin/xmailwatcher
+share/xmailwatcher/xmailwatcher.1.html
+@dirrm share/xmailwatcher