summaryrefslogtreecommitdiff
path: root/mail/p5-Mail-Mbox-MessageParser/Makefile
blob: d71b13f9b3d01008497e5f0d1c6c5cd4b39b9775 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $NetBSD: Makefile,v 1.5 2005/05/15 22:02:27 jlam Exp $

DISTNAME=	Mail-Mbox-MessageParser-1.20
PKGNAME=	p5-${DISTNAME}
PKGREVISION=	1
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

PERL5_PACKLIST=		${PERL5_SITEARCH}/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+=	GREP=${GREP}
SETTINGS+=	GZIP=${GZIP_CMD}
SETTINGS+=	TZIP=

MAKE_PARAMS+=	${SETTINGS}

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"