pkgsrc/mail/p5-Mail-Mbox-MessageParser/Makefile
sno 91aadad656 Updating mail/p5-Mail-Mbox-MessageParser from 1.5000nb2 to 1.5002
pkgsrc changes:
  - Adding license definition
  - Adjusting dependencies
  - prevent bundled Module::Install from automatic installing extra deps
  - removed upstream applied patches

Upstream changes:
Version 1.5002: Sun Aug 9 2009
- Disabled the grep interface, which has had some tricky bugs that I don't
	have time to figure out.
- Fixed infinite loop that occurred for emails of less than 200 characters.
	(Thanks to Julian Ladisch <bitcard.org-prt@ladisch.de> for the bug report.)
- Updated Makefile.PL to be compatible with versions of Module::Install >
	0.88.
- Instead of returning an error for an empty mailbox, a valid mailbox is
	returned that will immediately fail the end_of_mailbox check. This should
	simplify people's code. (Thanks to Daniel Maher <dma@witbe.net> for a bug
	report that suggested this change in semantics.)
- More updates for the missing "m" modifier issue exposed by Perl 5.10.
	(Thanks to Tom Callawa <tcallawa@redhat.com> for the bug report, and Andreas
	K"onig <andreas.koenig@anima.de> for the patch.)
- Added some debugging information for the "cache data not validated" error.
	Hopefully this will help catch the bug in the act.

Version 1.5001: Sun Jul 20 2008
- Added the missing "m" modifier to a number of regular expressions. A change
	in Perl 5.10 exposed this issue. (Thanks to Anicka Bernathova
	<anicka@suse.cz> for the patch.)
- Fixed an off-by-one error that would sometimes cause warnings about
	undefined values.
- Added a hack to Makefile.PL to force Module::AutoInstall to be included for
	Module::Install::CheckOptional.
- Fixed a problem in the PREOP rewriting that would cause it to fail on
	Windows.
2009-09-13 11:51:57 +00:00

36 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.14 2009/09/13 11:51:57 sno Exp $
DISTNAME= Mail-Mbox-MessageParser-1.5002
PKGNAME= p5-${DISTNAME}
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+= {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
USE_TOOLS+= grep gzip
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+= GZIP=${GZIP_CMD}
MAKE_PARAMS+= --skipdeps ${SETTINGS}
MAKE_PARAMS+= </dev/null
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"