aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-02-23 01:38:22 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-02-23 01:38:22 +0800
commit2287f91f16f8dbb31afecf538c283d76a43c730b (patch)
tree488c96678f59f2885b1e979539a4c3a051115f40
parente1cd547f065b7e6e547994f0e9f8562fb919dff2 (diff)
downloadfreebsd-ports-gnome-2287f91f16f8dbb31afecf538c283d76a43c730b.tar.gz
freebsd-ports-gnome-2287f91f16f8dbb31afecf538c283d76a43c730b.tar.zst
freebsd-ports-gnome-2287f91f16f8dbb31afecf538c283d76a43c730b.zip
- Update to 0.110004
- Add BUILD_DEPENDS and TEST_DEPENDS - Fix *_DEPENDS: Capture::Tiny is a test-only dependency Changes: http://search.cpan.org/dist/Email-Sender/Changes PR: ports/164701 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 20 days)
-rw-r--r--mail/p5-Email-Sender/Makefile18
-rw-r--r--mail/p5-Email-Sender/distinfo4
2 files changed, 16 insertions, 6 deletions
diff --git a/mail/p5-Email-Sender/Makefile b/mail/p5-Email-Sender/Makefile
index 1f6a80d9d7aa..0b5f0432f20c 100644
--- a/mail/p5-Email-Sender/Makefile
+++ b/mail/p5-Email-Sender/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Email-Sender
-PORTVERSION= 0.102370
+PORTVERSION= 0.110004
CATEGORIES= mail perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,8 +14,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= bill.brinzer@gmail.com
COMMENT= A library for sending email
-RUN_DEPENDS= p5-Capture-Tiny>=0.08:${PORTSDIR}/devel/p5-Capture-Tiny \
- p5-Email-Abstract>=3:${PORTSDIR}/mail/p5-Email-Abstract \
+BUILD_DEPENDS= p5-Email-Abstract>=3:${PORTSDIR}/mail/p5-Email-Abstract \
p5-Email-Address>=0:${PORTSDIR}/mail/p5-Email-Address \
p5-Email-Simple>=1.998:${PORTSDIR}/mail/p5-Email-Simple \
p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
@@ -23,6 +22,11 @@ RUN_DEPENDS= p5-Capture-Tiny>=0.08:${PORTSDIR}/devel/p5-Capture-Tiny \
p5-Sys-Hostname-Long>=0:${PORTSDIR}/sysutils/p5-Sys-Hostname-Long \
p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny \
p5-Throwable>=0.100090:${PORTSDIR}/devel/p5-Throwable
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+TEST_DEPENDS= p5-Capture-Tiny>=0.08:${PORTSDIR}/devel/p5-Capture-Tiny \
+ p5-Sub-Override>=0:${PORTSDIR}/devel/p5-Sub-Override \
+ p5-Test-MockObject>=0:${PORTSDIR}/devel/p5-Test-MockObject
PERL_CONFIGURE= yes
@@ -51,4 +55,10 @@ MAN3= Email::Sender.3 \
Email::Sender::Transport::Wrapper.3 \
Email::Sender::Util.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501400
+TEST_DEPENDS+= p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/mail/p5-Email-Sender/distinfo b/mail/p5-Email-Sender/distinfo
index 1bc97e567997..8dacbdf9674b 100644
--- a/mail/p5-Email-Sender/distinfo
+++ b/mail/p5-Email-Sender/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Email-Sender-0.102370.tar.gz) = d219015df42154be2bafa9d5bb4a224831556c6948e2a9d77eb909aace2fb3c3
-SIZE (Email-Sender-0.102370.tar.gz) = 36814
+SHA256 (Email-Sender-0.110004.tar.gz) = 668ea1d9aed01499a4dee8a4aea124432156481ee30199faf0917cac0d4daa46
+SIZE (Email-Sender-0.110004.tar.gz) = 38958