blob: b8c26be565cdcb7a2e10d397f580f7d4f364fc81 (
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
39
40
|
# New ports collection makefile for: p5-Email-Abstract
# Date created: 2004-07-26
# Whom: Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Email-Abstract
PORTVERSION= 2.01
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Email
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= Unified interface to mail representations
BUILD_DEPENDS= ${SITE_PERL}/Module/Pluggable.pm:${PORTSDIR}/devel/p5-Module-Pluggable \
${SITE_PERL}/Email/Simple.pm:${PORTSDIR}/mail/p5-Email-Simple
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Email::Abstract.3 \
Email::Abstract::EmailMIME.3 \
Email::Abstract::EmailSimple.3 \
Email::Abstract::MIMEEntity.3 \
Email::Abstract::MailInternet.3 \
Email::Abstract::MailMessage.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500504
post-patch:
@${PERL} -pi -e '$$_ = "" if /use 5.006;/;' \
-e '$$_ = "" if /use warnings;/;' \
-e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \
${WRKSRC}/Makefile.PL \
${WRKSRC}/lib/Email/Abstract.pm
.endif
.include <bsd.port.post.mk>
|