aboutsummaryrefslogtreecommitdiff
path: root/mail/p5-SES/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-02-07 07:37:23 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-02-07 07:37:23 +0000
commit0ea4492f8668de5ccbaa405c59fb7f9ddb97d8af (patch)
tree2b18603561accc9c23cfaf17dcd581d02cb32016 /mail/p5-SES/Makefile
parentad76c7db5285cf5831d59e435dfe10de2f8ed0dd (diff)
downloadports-0ea4492f8668de5ccbaa405c59fb7f9ddb97d8af.tar.gz
ports-0ea4492f8668de5ccbaa405c59fb7f9ddb97d8af.zip
- Update to release of 2011-11-14
- Fix RUN_DEPENDS - Digest::SHA is bundled in Perl releases since 5.9.3 - This port requires LWP 6 - Bump PORTREVISION for tarball and dependency change Changes: http://aws.amazon.com/code/Amazon-SES/8945574369528337 PR: ports/163201 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 8 weeks)
Notes
Notes: svn path=/head/; revision=290574
Diffstat (limited to 'mail/p5-SES/Makefile')
-rw-r--r--mail/p5-SES/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/mail/p5-SES/Makefile b/mail/p5-SES/Makefile
index 345446dec4c5..efbfc12eb505 100644
--- a/mail/p5-SES/Makefile
+++ b/mail/p5-SES/Makefile
@@ -9,10 +9,9 @@ PORTNAME= SES
PORTVERSION= 1.01
PORTREVISION= 1
CATEGORIES= mail perl5
-MASTER_SITES= http://d36cz9buwru1tt.cloudfront.net/catalog/attachments/ \
- http://files.gslin.org/Software/
+MASTER_SITES= http://d36cz9buwru1tt.cloudfront.net/catalog/attachments/
PKGNAMEPREFIX= p5-
-DISTNAME= ses-tools-2011-10-31
+DISTNAME= ses-tools-2011-11-14
MAINTAINER= stephon@gmail.com
COMMENT= Perl module of Amazon Simple Email Services
@@ -20,12 +19,10 @@ COMMENT= Perl module of Amazon Simple Email Services
LICENSE= AL2
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA \
- p5-LWP-Protocol-https>=0:${PORTSDIR}/www/p5-LWP-Protocol-https \
- p5-Switch>=0:${PORTSDIR}/lang/p5-Switch \
+RUN_DEPENDS= p5-LWP-Protocol-https>=0:${PORTSDIR}/www/p5-LWP-Protocol-https \
p5-URI>=0:${PORTSDIR}/net/p5-URI \
p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML \
- p5-libwww>=0:${PORTSDIR}/www/p5-libwww
+ p5-libwww>=6:${PORTSDIR}/www/p5-libwww
NO_BUILD= yes
USE_PERL5_RUN= yes
@@ -44,7 +41,12 @@ post-extract:
do-install:
cd ${WRKSRC} && ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/bin/
- ${MKDIR} ${PREFIX}/${SITE_PERL_REL}/
${INSTALL_DATA} ${WRKSRC}/SES.pm ${PREFIX}/${SITE_PERL_REL}/
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS+= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA
+.endif
+
+.include <bsd.port.post.mk>