# New ports collection makefile for:	p5-Email-MIME-Encodings
# Date created:				September 7 2003
# Whom:					Lars Thegler <lars@thegler.dk>
#
# $FreeBSD: ports/mail/p5-Email-MIME-Encodings/Makefile,v 1.6 2006/09/20 13:19:17 lth Exp $
#

PORTNAME=	Email-MIME-Encodings
PORTVERSION=	1.310
CATEGORIES=	mail perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	lth@FreeBSD.org
COMMENT=	A unified interface to MIME encoding and decoding

BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
RUN_DEPENDS=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=		Email::MIME::Encodings.3

post-patch:
	${PERL} -pi -e '$$_="" if /use warnings/;' ${WRKSRC}/lib/Email/MIME/Encodings.pm
test:
	cd ${WRKSRC} ; make test

.include <bsd.port.mk>
