aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/p5-Email-Abstract/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/mail/p5-Email-Abstract/Makefile b/mail/p5-Email-Abstract/Makefile
index c948b6171643..ed461cfacf7d 100644
--- a/mail/p5-Email-Abstract/Makefile
+++ b/mail/p5-Email-Abstract/Makefile
@@ -2,6 +2,7 @@
PORTNAME= Email-Abstract
PORTVERSION= 3.008
+PORTREVISION= 1
CATEGORIES= mail perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -9,6 +10,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= Unified interface to mail representations
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
RUN_DEPENDS= p5-Email-Simple>=1.998:mail/p5-Email-Simple \
p5-MRO-Compat>=0:devel/p5-MRO-Compat
BUILD_DEPENDS:= ${RUN_DEPENDS}
@@ -16,4 +20,11 @@ BUILD_DEPENDS:= ${RUN_DEPENDS}
USES= perl5
USE_PERL5= configure
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 502000
+BUILD_DEPENDS+= p5-Module-Pluggable>1.5:devel/p5-Module-Pluggable
+RUN_DEPENDS+= p5-Module-Pluggable>1.5:devel/p5-Module-Pluggable
+.endif
+
+.include <bsd.port.post.mk>