aboutsummaryrefslogtreecommitdiff
path: root/mail/p5-Email-MIME-ContentType/Makefile
blob: 782a8c940ea7a14dfe94c92609403e0f02a6f790 (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
# New ports collection makefile for:	p5-Email-MIME-ContentType
# Date created:				2004-08-29
# Whom:					Lars Thegler <lars@thegler.dk>
#
# $FreeBSD$
#

PORTNAME=	Email-MIME-ContentType
PORTVERSION=	1.01
CATEGORIES=	mail perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Email
PKGNAMEPREFIX=	p5-

MAINTAINER=	lth@FreeBSD.org
COMMENT=	Parse a MIME Content-Type Header

PERL_CONFIGURE=	yes

MAN3=		Email::MIME::ContentType.3

.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500503
post-patch:
	${PERL} -pi -e '$$_ = "" if /use 5.006;/;' \
		    -e '$$_ = "(" if /ABSTRACT_FROM/;' \
		${WRKSRC}/Makefile.PL
.endif
.include <bsd.port.post.mk>