summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/p5-Mail-Mbox-MessageParser/Makefile16
-rw-r--r--mail/p5-Mail-Mbox-MessageParser/distinfo11
-rw-r--r--mail/p5-Mail-Mbox-MessageParser/patches/patch-aa15
-rw-r--r--mail/p5-Mail-Mbox-MessageParser/patches/patch-ab15
-rw-r--r--mail/p5-Mail-Mbox-MessageParser/patches/patch-ac15
5 files changed, 12 insertions, 60 deletions
diff --git a/mail/p5-Mail-Mbox-MessageParser/Makefile b/mail/p5-Mail-Mbox-MessageParser/Makefile
index cc38b909262..146dd85da66 100644
--- a/mail/p5-Mail-Mbox-MessageParser/Makefile
+++ b/mail/p5-Mail-Mbox-MessageParser/Makefile
@@ -1,22 +1,23 @@
-# $NetBSD: Makefile,v 1.13 2009/04/02 18:10:39 tez Exp $
+# $NetBSD: Makefile,v 1.14 2009/09/13 11:51:57 sno Exp $
-DISTNAME= Mail-Mbox-MessageParser-1.5000
+DISTNAME= Mail-Mbox-MessageParser-1.5002
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 2
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Mail-Mbox-MessageParser/
COMMENT= Perl5 module for parsing mail messages
+LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= p5-FileHandle-Unget-[0-9]*:../../devel/p5-FileHandle-Unget
-DEPENDS+= p5-Storable-[0-9]*:../../devel/p5-Storable
+DEPENDS+= {perl>=5.10,p5-Storable-[0-9]*}:../../devel/p5-Storable
+
+BUILD_DEPENDS+= p5-Text-Diff-[0-9]*:../../textproc/p5-Text-Diff
PERL5_PACKLIST= auto/Mail/Mbox/MessageParser/.packlist
-MAKE_PARAMS+= < /dev/null
USE_TOOLS+= grep gzip
@@ -26,11 +27,10 @@ SETTINGS+= INSTALLDIRS=site
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}
+MAKE_PARAMS+= --skipdeps ${SETTINGS}
+MAKE_PARAMS+= </dev/null
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/p5-Mail-Mbox-MessageParser/distinfo b/mail/p5-Mail-Mbox-MessageParser/distinfo
index 89921ec4164..9f36514c4ef 100644
--- a/mail/p5-Mail-Mbox-MessageParser/distinfo
+++ b/mail/p5-Mail-Mbox-MessageParser/distinfo
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.6 2009/04/02 18:10:39 tez Exp $
+$NetBSD: distinfo,v 1.7 2009/09/13 11:51:57 sno Exp $
-SHA1 (Mail-Mbox-MessageParser-1.5000.tar.gz) = d9a446f2700a8808297a1a8ce4bb9f972bf3e13f
-RMD160 (Mail-Mbox-MessageParser-1.5000.tar.gz) = 410b46a68360b044124dc36442729e24e6d4eda6
-Size (Mail-Mbox-MessageParser-1.5000.tar.gz) = 279116 bytes
-SHA1 (patch-aa) = c13ac36819e59578a8f5f3a64be55303a1bb9ddd
-SHA1 (patch-ab) = e8c92e569bb452d9d4a8e34352ba33e227fcc42a
-SHA1 (patch-ac) = e7cb7a428a14e5d3220c948d40e5b2cdb5d3c1b5
+SHA1 (Mail-Mbox-MessageParser-1.5002.tar.gz) = 9bf7726b52704218558a8bfe6c83892e592def19
+RMD160 (Mail-Mbox-MessageParser-1.5002.tar.gz) = 0500d0290f006a74fc7d2951cd79bf8f9b64317d
+Size (Mail-Mbox-MessageParser-1.5002.tar.gz) = 266361 bytes
diff --git a/mail/p5-Mail-Mbox-MessageParser/patches/patch-aa b/mail/p5-Mail-Mbox-MessageParser/patches/patch-aa
deleted file mode 100644
index dfe70526297..00000000000
--- a/mail/p5-Mail-Mbox-MessageParser/patches/patch-aa
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2009/04/02 18:10:39 tez Exp $
-
-diff -ruN lib/Mail/Mbox/MessageParser/Config.pm.orig lib/Mail/Mbox/MessageParser/Config.pm > ../../patches/patch-aa
-
---- lib/Mail/Mbox/MessageParser/Config.pm.orig 2009-03-31 16:22:14.517431000 -0500
-+++ lib/Mail/Mbox/MessageParser/Config.pm 2009-03-31 16:22:41.477544900 -0500
-@@ -19,7 +19,7 @@
-
- 'read_chunk_size' => 20000,
-
-- 'from_pattern' => q/(?x)^
-+ 'from_pattern' => q/(?mx)^
- (From\s
- # Skip names, months, days
- (?> [^:\n]+ )
diff --git a/mail/p5-Mail-Mbox-MessageParser/patches/patch-ab b/mail/p5-Mail-Mbox-MessageParser/patches/patch-ab
deleted file mode 100644
index 4fc43a0874e..00000000000
--- a/mail/p5-Mail-Mbox-MessageParser/patches/patch-ab
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2009/04/02 18:10:39 tez Exp $
-
-diff -ruN lib/Mail/Mbox/MessageParser/Grep.pm.orig lib/Mail/Mbox/MessageParser/Grep.pm > ../../patches/patch-ab
-
---- lib/Mail/Mbox/MessageParser/Grep.pm.orig 2009-03-31 16:21:34.719068900 -0500
-+++ lib/Mail/Mbox/MessageParser/Grep.pm 2009-03-31 16:23:08.691314600 -0500
-@@ -289,7 +289,7 @@
- # RFC 1521 says the boundary can be no longer than 70 characters. Back up a
- # little more than that.
- my $endline = $self->{'endline'};
-- $self->_read_until_match(qr/^--\Q$boundary\E--$endline/,76)
-+ $self->_read_until_match(qr/^--\Q$boundary\E--$endline/m,76)
- or return 0;
-
- return 1;
diff --git a/mail/p5-Mail-Mbox-MessageParser/patches/patch-ac b/mail/p5-Mail-Mbox-MessageParser/patches/patch-ac
deleted file mode 100644
index 3a241ef8224..00000000000
--- a/mail/p5-Mail-Mbox-MessageParser/patches/patch-ac
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2009/04/02 18:10:39 tez Exp $
-
-diff -ruN lib/Mail/Mbox/MessageParser/Perl.pm.orig lib/Mail/Mbox/MessageParser/Perl.pm > ../../patches/patch-ac
-
---- lib/Mail/Mbox/MessageParser/Perl.pm.orig 2009-03-31 16:21:44.338876800 -0500
-+++ lib/Mail/Mbox/MessageParser/Perl.pm 2009-03-31 16:23:32.285106100 -0500
-@@ -265,7 +265,7 @@
- # RFC 1521 says the boundary can be no longer than 70 characters. Back up a
- # little more than that.
- my $endline = $self->{'endline'};
-- $self->_read_until_match(qr/^--\Q$boundary\E--$endline/,76)
-+ $self->_read_until_match(qr/^--\Q$boundary\E--$endline/m,76)
- or return 0;
-
- return 1;