summaryrefslogtreecommitdiff
path: root/mail/p5-Mail-Mbox-MessageParser
diff options
context:
space:
mode:
authorwiz <wiz>2004-05-07 13:53:09 +0000
committerwiz <wiz>2004-05-07 13:53:09 +0000
commit85b6b34f5d485894ecfd22af3d2d6e4670c69201 (patch)
treea30f63ed7be315d28d90014591a4fe83b286a451 /mail/p5-Mail-Mbox-MessageParser
parentdebd25c257adfce26d18bb94d8e69890dafea053 (diff)
downloadpkgsrc-85b6b34f5d485894ecfd22af3d2d6e4670c69201.tar.gz
Initial import of p5-Mail-Mbox-MessageParser-0.14:
Mail::Mbox::MessageParser is a feature-poor but very fast mbox parser. It uses the best of three strategies for parsing a mailbox: either using cached folder information, GNU grep, or highly optimized Perl. XXX: might need some adaptation for OSs where diff and bzip2 are not in the base system.
Diffstat (limited to 'mail/p5-Mail-Mbox-MessageParser')
-rw-r--r--mail/p5-Mail-Mbox-MessageParser/DESCR4
-rw-r--r--mail/p5-Mail-Mbox-MessageParser/Makefile31
-rw-r--r--mail/p5-Mail-Mbox-MessageParser/PLIST1
-rw-r--r--mail/p5-Mail-Mbox-MessageParser/distinfo4
4 files changed, 40 insertions, 0 deletions
diff --git a/mail/p5-Mail-Mbox-MessageParser/DESCR b/mail/p5-Mail-Mbox-MessageParser/DESCR
new file mode 100644
index 00000000000..1d0cd35cb29
--- /dev/null
+++ b/mail/p5-Mail-Mbox-MessageParser/DESCR
@@ -0,0 +1,4 @@
+Mail::Mbox::MessageParser is a feature-poor but very fast mbox
+parser. It uses the best of three strategies for parsing a mailbox:
+either using cached folder information, GNU grep, or highly optimized
+Perl.
diff --git a/mail/p5-Mail-Mbox-MessageParser/Makefile b/mail/p5-Mail-Mbox-MessageParser/Makefile
new file mode 100644
index 00000000000..7b5c349c124
--- /dev/null
+++ b/mail/p5-Mail-Mbox-MessageParser/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/05/07 13:53:09 wiz Exp $
+
+DISTNAME= Mail-Mbox-MessageParser-1.14
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= mail perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://search.cpan.org/~dcoppit/Mail-Mbox-MessageParser/
+COMMENT= Perl5 module for parsing mail messages
+
+DEPENDS+= p5-FileHandle-Unget-[0-9]*:../../devel/p5-FileHandle-Unget
+DEPENDS+= p5-Storable-[0-9]*:../../devel/p5-Storable
+
+USE_BUILDLINK3= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Mail/Mbox/MessageParser/.packlist
+
+SETTINGS+= INSTALLDIRS=site
+# XXX: might need adaptation if the programs are not
+# in the base system
+SETTINGS+= BZIP=/usr/bin/bzip2
+SETTINGS+= BZIP2=/usr/bin/bzip2
+SETTINGS+= DIFF=/usr/bin/diff
+SETTINGS+= GREP=${GREP}
+SETTINGS+= GZIP=${GZIP_CMD}
+SETTINGS+= TZIP=
+
+MAKE_PARAMS+= ${SETTINGS}
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/p5-Mail-Mbox-MessageParser/PLIST b/mail/p5-Mail-Mbox-MessageParser/PLIST
new file mode 100644
index 00000000000..2cd6930e7a1
--- /dev/null
+++ b/mail/p5-Mail-Mbox-MessageParser/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/07 13:53:09 wiz Exp $
diff --git a/mail/p5-Mail-Mbox-MessageParser/distinfo b/mail/p5-Mail-Mbox-MessageParser/distinfo
new file mode 100644
index 00000000000..59787083d32
--- /dev/null
+++ b/mail/p5-Mail-Mbox-MessageParser/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/05/07 13:53:09 wiz Exp $
+
+SHA1 (Mail-Mbox-MessageParser-1.14.tar.gz) = 28fcb823530408f277c8a3484a71602606392ad4
+Size (Mail-Mbox-MessageParser-1.14.tar.gz) = 178962 bytes