aboutsummaryrefslogtreecommitdiff
path: root/net/rubygem-rightaws/Makefile
blob: 82377efb5e426b83a669dbcde91e86694fcad3de (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
# Ports collection makefile for:	rubygem-rightaws
# Date created:			01 May 2008
# Whom:				Greg Larkin <glarkin@sourcehosting.net>
#
# $FreeBSD$
#

PORTNAME=	rightaws
PORTVERSION=	1.7.1
CATEGORIES=	net rubygems
MASTER_SITES=	RF
MASTER_SITE_SUBDIR=	rightaws
DISTNAME=	right_aws-${PORTVERSION}

MAINTAINER=	glarkin@sourcehosting.net
COMMENT=	Provides access to Amazon EC2, S3, SQS, and SDB web services

RUN_DEPENDS=	rubygem-righthttpconnection>=1.2.1:${PORTSDIR}/net/rubygem-righthttpconnection

USE_RUBY=	yes
USE_RUBYGEMS=	yes
GEM_NAME=	${DISTNAME}
UNIQUENAME=	${PORTNAME}

OPTIONS=	LIBXML "Use libxml instead of REXML" Off

.include <bsd.port.pre.mk>

.if defined(WITH_LIBXML)
RUN_DEPENDS+=	${RUBY_PKGNAMEPREFIX}libxml>=0:${PORTSDIR}/textproc/ruby-libxml
.else
USE_RUBY_FEATURES=	rexml
.endif

.include <bsd.port.post.mk>