fe9607d12b
PR: ports/104419 Submitted by: maintainer (Gea-Suan Lin)
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# New ports collection makefile for: p5-Net-Amazon-S3
|
|
# Date created: 2006-10-08
|
|
# Whom: Gea-Suan Lin <gslin@gslin.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Net-Amazon-S3
|
|
PORTVERSION= 0.37
|
|
CATEGORIES= net
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= Net
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= gslin@gslin.org
|
|
COMMENT= Use the Amazon S3 - Simple Storage Service
|
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \
|
|
${SITE_PERL}/Class/Accessor/Fast.pm:${PORTSDIR}/devel/p5-Class-Accessor \
|
|
${SITE_PERL}/DateTime/Format/Strptime.pm:${PORTSDIR}/devel/p5-DateTime-Format-Strptime \
|
|
${SITE_PERL}/Digest/HMAC_SHA1.pm:${PORTSDIR}/security/p5-Digest-HMAC \
|
|
${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \
|
|
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Net::Amazon::S3.3 Net::Amazon::S3::Bucket.3
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500600 # Inherited from www/p5-libwww
|
|
IGNORE= requires Perl 5.6 or later. Install lang/perl5.8 and try again
|
|
.endif
|
|
|
|
.if ${PERL_LEVEL} < 500703
|
|
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|