summaryrefslogtreecommitdiff
path: root/mail/grepmail
diff options
context:
space:
mode:
authorbad <bad>1999-06-08 12:01:13 +0000
committerbad <bad>1999-06-08 12:01:13 +0000
commitb7b78886652e64ebefd5839cbedbc27b5ee552f9 (patch)
treed4f6b11717f00d0b123b66a8eaea1df0a196b745 /mail/grepmail
parentecb627774de767ef7f547f2d2b85bbd2fc695677 (diff)
downloadpkgsrc-b7b78886652e64ebefd5839cbedbc27b5ee552f9.tar.gz
Initial import of grepmail-3.8, a utility to grep mail boxes and return
the matching messages. Packaged by David Maxwell, david@vex.net.
Diffstat (limited to 'mail/grepmail')
-rw-r--r--mail/grepmail/Makefile27
-rw-r--r--mail/grepmail/files/md53
-rw-r--r--mail/grepmail/pkg/COMMENT1
-rw-r--r--mail/grepmail/pkg/DESCR3
-rw-r--r--mail/grepmail/pkg/PLIST2
5 files changed, 36 insertions, 0 deletions
diff --git a/mail/grepmail/Makefile b/mail/grepmail/Makefile
new file mode 100644
index 00000000000..231906f677e
--- /dev/null
+++ b/mail/grepmail/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/06/08 12:01:13 bad Exp $
+#
+
+DISTNAME= grepmail-3.8
+CATEGORIES= mail
+MASTER_SITES= http://www.cs.virginia.edu/~dwc3q/code/
+
+MAINTAINER= david@fundy.net
+HOMEPAGE= http://www.cs.virginia.edu/~dwc3q/code/index.html
+
+CONFIGURE_ENV= PERL=${PREFIX}/bin/perl
+
+USE_PERL5= yes
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl specialize grepmail.in < /dev/null
+
+do-build:
+ @cd ${WRKSRC} && \
+ ${SED} -e '1s,.*,#!'${PREFIX}/bin/perl',' grepmail >grepmail.perl && \
+ ${MV} -f grepmail.perl grepmail
+ @echo Build done.
+
+do-install:
+ @${INSTALL_SCRIPT} ${WRKSRC}/grepmail ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/grepmail/files/md5 b/mail/grepmail/files/md5
new file mode 100644
index 00000000000..b912ffa2a98
--- /dev/null
+++ b/mail/grepmail/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/06/08 12:01:13 bad Exp $
+
+MD5 (grepmail-3.8.tar.gz) = 20bc286e31aa6921f5bae04c48a8c814
diff --git a/mail/grepmail/pkg/COMMENT b/mail/grepmail/pkg/COMMENT
new file mode 100644
index 00000000000..08e6e2e3ed6
--- /dev/null
+++ b/mail/grepmail/pkg/COMMENT
@@ -0,0 +1 @@
+mbox formatted file search utility.
diff --git a/mail/grepmail/pkg/DESCR b/mail/grepmail/pkg/DESCR
new file mode 100644
index 00000000000..9d8dad94cf2
--- /dev/null
+++ b/mail/grepmail/pkg/DESCR
@@ -0,0 +1,3 @@
+grepmail Searches a normal or gzip'ed mailbox for a given regular
+expression, and returns those emails that match it. Also supports
+searches constrained by date.
diff --git a/mail/grepmail/pkg/PLIST b/mail/grepmail/pkg/PLIST
new file mode 100644
index 00000000000..683bced7479
--- /dev/null
+++ b/mail/grepmail/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/06/08 12:01:14 bad Exp $
+bin/grepmail