aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2016-05-07 23:41:50 +0800
committerlth <lth@FreeBSD.org>2016-05-07 23:41:50 +0800
commit6e95e199ce2b28827eba517a619eb5486383c297 (patch)
tree8d9ec1ab205c7fbcb9ccae296243602f6fc504d7 /mail
parentabb7b9a0eb88782d802098d32ad383bb35116542 (diff)
downloadfreebsd-ports-gnome-6e95e199ce2b28827eba517a619eb5486383c297.tar.gz
freebsd-ports-gnome-6e95e199ce2b28827eba517a619eb5486383c297.tar.zst
freebsd-ports-gnome-6e95e199ce2b28827eba517a619eb5486383c297.zip
- fix missing dependency [1]
- add LICENSE - bump PORTREVISION Noticed by: John Hein <john.hein@microsemi.com> [1]
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>