forked from Lainports/freebsd-ports
Ruby/AWS is a Ruby language library that allows programmatic access to the popular Amazon Web site via the REST (XML over HTTP) based Amazon Web Services. It is the successor to the now obsolete Ruby/Amazon. WWW: http://www.caliban.org/ruby/ruby-aws/ PR: ports/122242 Submitted by: IWATSUKI Hiroyuki <don at na.rim.or.jp>
45 lines
939 B
Makefile
45 lines
939 B
Makefile
# New ports collection makefile for: ruby-aws
|
|
# Date created: 2008-03-30
|
|
# Whom: IWATSUKI Hiroyuki <don@na.rim.or.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= aws
|
|
PORTVERSION= 0.0.2
|
|
CATEGORIES= www ruby
|
|
MASTER_SITES= http://www.caliban.org/files/ruby/
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= don@na.rim.or.jp
|
|
COMMENT= A Ruby interface to Amazon Web Services
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_SETUP= yes
|
|
|
|
DOCS= COPYING INSTALL NOTES README
|
|
EXAMPLES= example/*
|
|
|
|
RUBY_REQUIRE= Ruby > 180
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !defined(RUBY_PROVIDED)
|
|
IGNORE= depends on Ruby 1.8.0 or later
|
|
.endif
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
.for f in ${EXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
|
|
.endfor
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|