summaryrefslogtreecommitdiff
path: root/www/ruby-google
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-04-12 19:29:01 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-04-12 19:29:01 +0000
commit009c77df1a3231f1cfaaa716147202ed0c7e3eff (patch)
tree1d0d4ae78e02c6858751663aec86d4c85a09dd85 /www/ruby-google
parentRetire ruby-application.rb, which has been replaced by (diff)
Add ruby-google 0.1.0, a Ruby interface to Google's SOAP-driven Web
API. Demonstration programs are included in the archive. Obtain a free license key from Google, and have fun! :)
Notes
Notes: svn path=/head/; revision=57635
Diffstat (limited to 'www/ruby-google')
-rw-r--r--www/ruby-google/Makefile39
-rw-r--r--www/ruby-google/distinfo1
-rw-r--r--www/ruby-google/pkg-comment1
-rw-r--r--www/ruby-google/pkg-descr13
-rw-r--r--www/ruby-google/pkg-plist9
5 files changed, 63 insertions, 0 deletions
diff --git a/www/ruby-google/Makefile b/www/ruby-google/Makefile
new file mode 100644
index 000000000000..57e2e284e45e
--- /dev/null
+++ b/www/ruby-google/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: Ruby/Google
+# Date created: 13 April 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= google
+PORTVERSION= 0.1.0
+CATEGORIES= www databases ruby
+MASTER_SITES= http://www.caliban.org/files/ruby/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+RUN_DEPENDS= ${RUBY_SITELIBDIR}/soap:${PORTSDIR}/net/ruby-soap
+
+USE_RUBY= yes
+USE_RUBY_SETUP= yes
+RUBY_SETUP= install.rb
+
+DOCS= Changelog README google.html
+EXAMPLES= examples/*
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+.endfor
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/www/ruby-google/distinfo b/www/ruby-google/distinfo
new file mode 100644
index 000000000000..1d85092f74a1
--- /dev/null
+++ b/www/ruby-google/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-google-0.1.0.tar.gz) = c8b094029bb8451bf1be992ca0a3b122
diff --git a/www/ruby-google/pkg-comment b/www/ruby-google/pkg-comment
new file mode 100644
index 000000000000..4ead2c432740
--- /dev/null
+++ b/www/ruby-google/pkg-comment
@@ -0,0 +1 @@
+A Ruby interface to Google's SOAP-driven Web API
diff --git a/www/ruby-google/pkg-descr b/www/ruby-google/pkg-descr
new file mode 100644
index 000000000000..290fd75280c0
--- /dev/null
+++ b/www/ruby-google/pkg-descr
@@ -0,0 +1,13 @@
+Ruby/Google offers a higher-level abstraction of Google's new
+SOAP-driven Web API. It allows you to programmatically query the
+Google search-engine from the comfort of your favourite programming
+language.
+
+The aim of the library is to make the details of the raw data
+structures returned by the Web API irrelevant, in the process making
+the API more accessible for everyday use.
+
+Demonstration programs are included in the archive.
+
+Author: Ian Macdonald <ian@caliban.org>
+WWW: http://www.caliban.org/ruby/
diff --git a/www/ruby-google/pkg-plist b/www/ruby-google/pkg-plist
new file mode 100644
index 000000000000..996419760d06
--- /dev/null
+++ b/www/ruby-google/pkg-plist
@@ -0,0 +1,9 @@
+%%RUBY_SITELIBDIR%%/google.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/google/cache.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/google/search.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/google/spell.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/google
+%%PORTDOCS%%%%RUBY_DOCDIR%%/google/Changelog
+%%PORTDOCS%%%%RUBY_DOCDIR%%/google/README
+%%PORTDOCS%%%%RUBY_DOCDIR%%/google/google.html
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/google