1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

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! :)
This commit is contained in:
Akinori MUSHA 2002-04-12 19:29:01 +00:00
parent a4083947bf
commit 009c77df1a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57635
6 changed files with 64 additions and 0 deletions

View File

@ -313,6 +313,7 @@
SUBDIR += retawq
SUBDIR += roxen
SUBDIR += ruboard
SUBDIR += ruby-google
SUBDIR += ruby-http-access
SUBDIR += ruby-tmpl
SUBDIR += ruby-webrick

39
www/ruby-google/Makefile Normal file
View File

@ -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>

1
www/ruby-google/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (ruby/ruby-google-0.1.0.tar.gz) = c8b094029bb8451bf1be992ca0a3b122

View File

@ -0,0 +1 @@
A Ruby interface to Google's SOAP-driven Web API

13
www/ruby-google/pkg-descr Normal file
View File

@ -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/

View File

@ -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