aboutsummaryrefslogtreecommitdiffstats
path: root/net/rubygem-rightaws/Makefile
blob: 40dc2017fd8552416059a3d78d44fda44555432a (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
# Created by: Greg Larkin <glarkin@FreeBSD.org>
# $FreeBSD$

PORTNAME=   rightaws
PORTVERSION=    3.1.0
CATEGORIES= net rubygems
MASTER_SITES=   RG
DISTNAME=   right_aws-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Provides access to Amazon EC2, S3, SQS, and SDB web services

LICENSE=    MIT

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

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

OPTIONS_DEFINE= LIBXML
LIBXML_DESC=    Use libxml instead of REXML

NO_STAGE=   yes
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MLIBXML}
RUN_DEPENDS+=   rubygem-libxml-ruby>=0.5.2:${PORTSDIR}/textproc/rubygem-libxml-ruby
.else
USE_RUBY_FEATURES=  rexml
.endif

.include <bsd.port.mk>