PORTNAME=	Net-IMAP-Server
PORTVERSION=	1.39
CATEGORIES=	mail perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Single-threaded multiplexing IMAP server implementation
WWW=		https://metacpan.org/release/Net-IMAP-Server

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-AnyEvent>0:devel/p5-AnyEvent \
		p5-Class-Accessor>0:devel/p5-Class-Accessor \
		p5-Coro>0:devel/p5-Coro \
		p5-DateTime>0:devel/p5-DateTime \
		p5-DateTime-Format-Mail>0:devel/p5-DateTime-Format-Mail \
		p5-DateTime-Format-Strptime>=1.3:devel/p5-DateTime-Format-Strptime \
		p5-Email-Address>0:mail/p5-Email-Address \
		p5-Email-MIME>=1.862:mail/p5-Email-MIME \
		p5-Email-Simple>=1.999:mail/p5-Email-Simple \
		p5-Encode-IMAPUTF7>0:converters/p5-Encode-IMAPUTF7 \
		p5-Net-SSLeay>0:security/p5-Net-SSLeay \
		p5-Net-Server-Coro>=0.6:net/p5-Net-Server-Coro \
		p5-Regexp-Common>0:textproc/p5-Regexp-Common \
		p5-UNIVERSAL-require>0:devel/p5-UNIVERSAL-require
TEST_DEPENDS=	p5-IO-Socket-SSL>0:security/p5-IO-Socket-SSL

NO_ARCH=	yes
USES=		perl5
USE_PERL5=	configure

.include <bsd.port.mk>
