aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Email-Folder/Makefile
blob: 5e49b5e7ec77f9b1ce4bb4f9d12c78f44de24a8c (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
36
37
# 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.83
CATEGORIES= mail perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Email
PKGNAMEPREFIX=  p5-

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

BUILD_DEPENDS=  ${SITE_PERL}/Email/Simple.pm:${PORTSDIR}/mail/p5-Email-Simple \
        ${SITE_PERL}/Email/FolderType.pm:${PORTSDIR}/mail/p5-Email-FolderType
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

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

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} <= 500503
# make PREFIX-clean under perl 5.005_03
post-configure:
    @${PERL} -pi -e 's,/usr/local/,\$${PREFIX}/,g' ${WRKSRC}/Makefile
.endif

.include <bsd.port.post.mk>