1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/mail/p5-Email-Abstract/Makefile
Lars Thegler b501e2cf2c - Update to 2.01
- Moved simple patches into Makefile
2004-11-21 19:25:44 +00:00

41 lines
1.1 KiB
Makefile

# 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>