From 85b6b34f5d485894ecfd22af3d2d6e4670c69201 Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 7 May 2004 13:53:09 +0000 Subject: 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. --- mail/p5-Mail-Mbox-MessageParser/DESCR | 4 ++++ mail/p5-Mail-Mbox-MessageParser/Makefile | 31 +++++++++++++++++++++++++++++++ mail/p5-Mail-Mbox-MessageParser/PLIST | 1 + mail/p5-Mail-Mbox-MessageParser/distinfo | 4 ++++ 4 files changed, 40 insertions(+) create mode 100644 mail/p5-Mail-Mbox-MessageParser/DESCR create mode 100644 mail/p5-Mail-Mbox-MessageParser/Makefile create mode 100644 mail/p5-Mail-Mbox-MessageParser/PLIST create mode 100644 mail/p5-Mail-Mbox-MessageParser/distinfo (limited to 'mail/p5-Mail-Mbox-MessageParser') 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 -- cgit v1.2.3