summaryrefslogtreecommitdiff
path: root/net/p5-Net-Amazon-S3/Makefile
blob: 4ef430f2c883e4fd16f2896f3337560b3a94a138 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# 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.53
CATEGORIES=	net perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Use the Amazon S3 - Simple Storage Service

RUN_DEPENDS=	p5-Class-Accessor>=0:${PORTSDIR}/devel/p5-Class-Accessor \
		p5-Class-MOP>=0.88:${PORTSDIR}/devel/p5-Class-MOP \
		p5-Data-Stream-Bulk>=0.06:${PORTSDIR}/devel/p5-Data-Stream-Bulk \
		p5-DateTime-Format-HTTP>=0:${PORTSDIR}/devel/p5-DateTime-Format-HTTP \
		p5-DateTime-Format-ISO8601>=0:${PORTSDIR}/devel/p5-DateTime-Format-ISO8601 \
		p5-Digest-HMAC>=0:${PORTSDIR}/security/p5-Digest-HMAC \
		p5-Digest-MD5-File>=0:${PORTSDIR}/security/p5-Digest-MD5-File \
		p5-LWP-UserAgent-Determined>=0:${PORTSDIR}/www/p5-LWP-UserAgent-Determined \
		p5-Moose>=0.85:${PORTSDIR}/devel/p5-Moose \
		p5-MooseX-StrictConstructor>=0.08:${PORTSDIR}/devel/p5-MooseX-StrictConstructor \
		p5-MooseX-Types-DateTimeX>=0:${PORTSDIR}/devel/p5-MooseX-Types-DateTimeX \
		p5-Regexp-Common>=0:${PORTSDIR}/textproc/p5-Regexp-Common \
		p5-URI>=0:${PORTSDIR}/net/p5-URI \
		p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML \
		p5-libwww>=0:${PORTSDIR}/www/p5-libwww
BUILD_DEPENDS=	${RUN_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=		Net::Amazon::S3.3 Net::Amazon::S3::Bucket.3 \
		Net::Amazon::S3::Request::GetObjectAccessControl.3 \
		Net::Amazon::S3::Client.3 \
		Net::Amazon::S3::Client::Bucket.3 \
		Net::Amazon::S3::Request::ListAllMyBuckets.3 \
		Net::Amazon::S3::Request::PutObject.3 \
		Net::Amazon::S3::HTTPRequest.3 \
		Net::Amazon::S3::Request::ListBucket.3 \
		Net::Amazon::S3::Request::DeleteObject.3 \
		Net::Amazon::S3::Request::DeleteBucket.3 \
		Net::Amazon::S3::Client::Object.3 \
		Net::Amazon::S3::Request::GetBucketLocationConstraint.3 \
		Net::Amazon::S3::Request::SetBucketAccessControl.3 \
		Net::Amazon::S3::Request::SetObjectAccessControl.3 \
		Net::Amazon::S3::Request::GetBucketAccessControl.3 \
		Net::Amazon::S3::Request::GetObject.3 \
		Net::Amazon::S3::Request.3 \
		Net::Amazon::S3::Request::CreateBucket.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500904
RUN_DEPENDS+=	p5-IO>=1.14:${PORTSDIR}/devel/p5-IO
.endif

.include <bsd.port.post.mk>