2007-05-04 04:31:45 +02:00
|
|
|
# New ports collection makefile for: p5-S3
|
|
|
|
# Date created: 2007-04-30
|
|
|
|
# Whom: Gea-Suan Lin <gslin@gslin.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= S3
|
2008-02-29 01:46:40 +01:00
|
|
|
PORTVERSION= 20071102
|
2007-05-04 04:31:45 +02:00
|
|
|
CATEGORIES= net perl5
|
2008-02-29 01:46:40 +01:00
|
|
|
MASTER_SITES= http://s3.amazonaws.com/doc/s3-example-code/
|
2007-05-04 04:31:45 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
DISTNAME= s3-example-perl-library
|
|
|
|
|
2007-05-25 03:34:16 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2007-05-04 04:31:45 +02:00
|
|
|
COMMENT= A library in Perl for working with the Amazon S3 REST interface
|
|
|
|
|
2008-02-29 01:46:40 +01:00
|
|
|
RUN_DEPENDS= p5-Digest-HMAC>=0:${PORTSDIR}/security/p5-Digest-HMAC \
|
|
|
|
p5-URI>=0:${PORTSDIR}/net/p5-URI \
|
|
|
|
p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple \
|
|
|
|
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
|
2007-05-04 04:31:45 +02:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_PERL5_RUN= yes
|
|
|
|
USE_ZIP= yes
|
|
|
|
WRKSRC= ${WRKDIR}/s3-example-libraries/perl
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PREFIX}/${SITE_PERL_REL}/S3
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/S3/* ${PREFIX}/${SITE_PERL_REL}/S3
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/S3.pm ${PREFIX}/${SITE_PERL_REL}
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/s3-*.pl ${PREFIX}/bin
|
|
|
|
|
2012-03-13 17:15:36 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500703
|
|
|
|
RUN_DEPENDS+= p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|