aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Email-Folder/Makefile
blob: f9dc5a0fc9352ae96d3889e4e41c4f932748743f (plain) (blame)
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
34
35
# New ports collection makefile for:    p5-Email-Folder
# Date created:             August 31 2003
# Whom:                 Lars Thegler <lars@thegler.dk>
#
# $FreeBSD$
#

PORTNAME=   Email-Folder
PORTVERSION=    0.85.2
CATEGORIES= mail perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-
DISTNAME=   ${PORTNAME}-0.852

MAINTAINER= lth@FreeBSD.org
COMMENT=    Read all the messages from a folder as Email::Simple objects

RUN_DEPENDS=    p5-Email-Simple>0:${PORTSDIR}/mail/p5-Email-Simple \
        p5-Email-FolderType>=0.6:${PORTSDIR}/mail/p5-Email-FolderType
BUILD_DEPENDS=  ${RUN_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Email::Folder.3 \
        Email::Folder::MH.3 \
        Email::Folder::Maildir.3 \
        Email::Folder::Mbox.3 \
        Email::Folder::Reader.3

.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
post-patch:
    ${PERL} -pi -e '$$_="" if /use warnings;/' ${WRKSRC}/Makefile.PL
.endif
.include <bsd.port.post.mk>