aboutsummaryrefslogtreecommitdiff
path: root/www/ruby-amazon
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2004-02-28 06:41:22 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2004-02-28 06:41:22 +0000
commit10c906df8c65316d57ca2c42a1f1a21c47bcebe4 (patch)
treeb5597be6132ee7c03286680cfca0d14a38f0933a /www/ruby-amazon
parent9bba5253cd45d7cd08dc74e19effd459d186699e (diff)
downloadports-10c906df8c65316d57ca2c42a1f1a21c47bcebe4.tar.gz
ports-10c906df8c65316d57ca2c42a1f1a21c47bcebe4.zip
Notes
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%%