aboutsummaryrefslogtreecommitdiffstats
path: root/www/ruby-amazon
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2004-02-28 14:41:22 +0800
committerknu <knu@FreeBSD.org>2004-02-28 14:41:22 +0800
commitb44a692a7d4ea6dd3e97efcdd7870d6fd6c01e35 (patch)
treee1204cd232ff38281ca5bd91c1f0808169bd4422 /www/ruby-amazon
parent5375a8e6d1a206a4acee4f47607db52669696b4f (diff)
downloadfreebsd-ports-gnome-b44a692a7d4ea6dd3e97efcdd7870d6fd6c01e35.tar.gz
freebsd-ports-gnome-b44a692a7d4ea6dd3e97efcdd7870d6fd6c01e35.tar.zst
freebsd-ports-gnome-b44a692a7d4ea6dd3e97efcdd7870d6fd6c01e35.zip
Add ruby-amazon, a Ruby interface to Amazon's Web Services.
Ruby 1.8.0 or later is required.
Diffstat (limited to 'www/ruby-amazon')
-rw-r--r--www/ruby-amazon/Makefile45
-rw-r--r--www/ruby-amazon/distinfo2
-rw-r--r--www/ruby-amazon/pkg-descr8
-rw-r--r--www/ruby-amazon/pkg-plist21
4 files changed, 76 insertions, 0 deletions
diff --git a/www/ruby-amazon/Makefile b/www/ruby-amazon/Makefile
new file mode 100644
index 000000000000..aef224364795
--- /dev/null
+++ b/www/ruby-amazon/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: Ruby/Amazon
+# Date created: 9 February 2004
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= amazon
+PORTVERSION= 0.6.0
+CATEGORIES= www ruby
+MASTER_SITES= http://www.caliban.org/files/ruby/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+COMMENT= A Ruby interface to Amazon's Web Services
+
+USE_RUBY= yes
+USE_RUBY_SETUP= yes
+
+DOCS= NEWS README TODO
+EXAMPLES= example/*
+
+RUBY_REQUIRE= Ruby > 180
+
+.include <bsd.port.pre.mk>
+
+.if !defined(RUBY_PROVIDED)
+IGNORE= only works with 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>
diff --git a/www/ruby-amazon/distinfo b/www/ruby-amazon/distinfo
new file mode 100644
index 000000000000..05c54bef78cc
--- /dev/null
+++ b/www/ruby-amazon/distinfo
@@ -0,0 +1,2 @@
+MD5 (ruby/ruby-amazon-0.6.0.tar.gz) = c1ff92cf7a7f63e62a83c28e350642e8
+SIZE (ruby/ruby-amazon-0.6.0.tar.gz) = 94210
diff --git a/www/ruby-amazon/pkg-descr b/www/ruby-amazon/pkg-descr
new file mode 100644
index 000000000000..47d3ac28a9a8
--- /dev/null
+++ b/www/ruby-amazon/pkg-descr
@@ -0,0 +1,8 @@
+Ruby/Amazon is a simple Ruby library that allows one to retrieve
+information from the popular Amazon.com Web site via Amazon Web
+Services. It aims to wrap the grunt work of interacting with the
+Amazon API behind a high-level layer of Ruby and, in so doing, make it
+easier to use.
+
+Author: Ian Macdonald <ian@caliban.org>
+WWW: http://www.caliban.org/ruby/
diff --git a/www/ruby-amazon/pkg-plist b/www/ruby-amazon/pkg-plist
new file mode 100644
index 000000000000..4dc3b750bb09
--- /dev/null
+++ b/www/ruby-amazon/pkg-plist
@@ -0,0 +1,21 @@
+%%RUBY_SITELIBDIR%%/amazon.rb
+%%RUBY_SITELIBDIR%%/amazon/babyregistry.rb
+%%RUBY_SITELIBDIR%%/amazon/search.rb
+%%RUBY_SITELIBDIR%%/amazon/search/blended.rb
+%%RUBY_SITELIBDIR%%/amazon/search/exchange.rb
+%%RUBY_SITELIBDIR%%/amazon/search/exchange/marketplace.rb
+%%RUBY_SITELIBDIR%%/amazon/search/exchange/thirdparty.rb
+%%RUBY_SITELIBDIR%%/amazon/search/seller.rb
+%%RUBY_SITELIBDIR%%/amazon/shoppingcart.rb
+%%RUBY_SITELIBDIR%%/amazon/transaction.rb
+%%RUBY_SITELIBDIR%%/amazon/weddingregistry.rb
+%%RUBY_SITELIBDIR%%/amazon/wishlist.rb
+@dirrm %%RUBY_SITELIBDIR%%/amazon/search/exchange
+@dirrm %%RUBY_SITELIBDIR%%/amazon/search
+@dirrm %%RUBY_SITELIBDIR%%/amazon
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/search
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/NEWS
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/TODO
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%