summaryrefslogtreecommitdiff
path: root/mail/p5-Mail-Folder/Makefile
blob: 179d7f3132a52d90ecf2dc7f84684018b3bc315e (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
# Created by: James FitzGibbon <jfitz@FreeBSD.org>
# $FreeBSD$

PORTNAME=	Mail-Folder
PORTVERSION=	0.07
CATEGORIES=	mail perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-
DISTNAME=	MailFolder-${PORTVERSION}

MAINTAINER=	chifeng@gmail.com
COMMENT=	Perl module for a folder-independant interface to email folders

BUILD_DEPENDS=	p5-Mail-Tools>=0:${PORTSDIR}/mail/p5-Mail-Tools \
		p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \
		p5-File-Sync>=0:${PORTSDIR}/devel/p5-File-Sync \
		p5-MIME-Tools>=0:${PORTSDIR}/mail/p5-MIME-Tools
RUN_DEPENDS:=	${BUILD_DEPENDS}

USES=		perl5
USE_PERL5=	configure

MAN3=		Mail::Folder.3 Mail::Folder::Emaul.3 Mail::Folder::Mbox.3 \
		Mail::Folder::NNTP.3 Mail::Folder::Maildir.3

NO_STAGE=	yes
post-configure:
	@${PERL} -pi -e 's/^FULLEXT.*/FULLEXT=Mail\/Folder/' \
		${WRKSRC}/Makefile

.include <bsd.port.mk>