aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-IMAP-Client/Makefile
blob: 983ae537fa033c8126c21481ab0fda47601578be (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
38
# New ports collection makefile for:    p5-IMAP-Client
# Date created:     2006-08-12
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=   IMAP-Client
PORTVERSION=    0.12
CATEGORIES= mail perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= IMAP
PKGNAMEPREFIX=  p5-

MAINTAINER= clsung@FreeBSD.org
COMMENT=    Advanced manipulation of IMAP services w/ referral support

RUN_DEPENDS=    ${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL \
        ${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \
        ${SITE_PERL}/URI/imap.pm:${PORTSDIR}/mail/p5-URI-imap

PERL_CONFIGURE= yes

MAN3=       IMAP::Client.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
RUN_DEPENDS+=   ${SITE_PERL}/${PERL_ARCH}/IO/Socket/INET.pm:${PORTSDIR}/devel/p5-IO
post-patch:
        ${FIND} ${WRKSRC} -name ".svn" | ${XARGS} ${RM} -rf
.endif

.if ${PERL_LEVEL} < 500703
RUN_DEPENDS+=   ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
.endif

.include <bsd.port.post.mk>