summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2007-05-26 01:46:51 +0000
committerminskim <minskim@pkgsrc.org>2007-05-26 01:46:51 +0000
commitb46e6c0bb34e1e8a950ae392c3ce940e4e5b4a29 (patch)
treea2be64a2692fc99ba013b8b268063af2516f6342 /www
parent3e3a07909dbc8deab2469f0e112f8aebc21b3915 (diff)
downloadpkgsrc-b46e6c0bb34e1e8a950ae392c3ce940e4e5b4a29.tar.gz
Import ruby-mechanize.
The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, can follow links, and submit forms. Form fields can be populated and submitted. Mechanize also keeps track of the sites that you have visited as a history.
Diffstat (limited to 'www')
-rw-r--r--www/ruby-mechanize/DESCR5
-rw-r--r--www/ruby-mechanize/Makefile19
-rw-r--r--www/ruby-mechanize/PLIST22
-rw-r--r--www/ruby-mechanize/distinfo5
4 files changed, 51 insertions, 0 deletions
diff --git a/www/ruby-mechanize/DESCR b/www/ruby-mechanize/DESCR
new file mode 100644
index 00000000000..0efc48c1970
--- /dev/null
+++ b/www/ruby-mechanize/DESCR
@@ -0,0 +1,5 @@
+The Mechanize library is used for automating interaction with
+websites. Mechanize automatically stores and sends cookies, follows
+redirects, can follow links, and submit forms. Form fields can be
+populated and submitted. Mechanize also keeps track of the sites that
+you have visited as a history.
diff --git a/www/ruby-mechanize/Makefile b/www/ruby-mechanize/Makefile
new file mode 100644
index 00000000000..10154734f31
--- /dev/null
+++ b/www/ruby-mechanize/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/05/26 01:46:51 minskim Exp $
+
+DISTNAME= mechanize-0.6.8
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES= www ruby
+MASTER_SITES= http://rubyforge.org/frs/download.php/19657/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://mechanize.rubyforge.org/
+COMMENT= Library to automate interaction with websites
+
+DEPENDS+= ${RUBY_PKGPREFIX}-hpricot-[0-9]*:../../textproc/ruby-hpricot
+
+USE_LANGUAGES= # none
+USE_RUBY_SETUP= yes
+
+.include "../../lang/ruby/modules.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/ruby-mechanize/PLIST b/www/ruby-mechanize/PLIST
new file mode 100644
index 00000000000..f60834122d3
--- /dev/null
+++ b/www/ruby-mechanize/PLIST
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/26 01:46:51 minskim Exp $
+${RUBY_SITELIBDIR}/mechanize.rb
+${RUBY_SITELIBDIR}/mechanize/cookie.rb
+${RUBY_SITELIBDIR}/mechanize/errors.rb
+${RUBY_SITELIBDIR}/mechanize/form.rb
+${RUBY_SITELIBDIR}/mechanize/form_elements.rb
+${RUBY_SITELIBDIR}/mechanize/history.rb
+${RUBY_SITELIBDIR}/mechanize/inspect.rb
+${RUBY_SITELIBDIR}/mechanize/list.rb
+${RUBY_SITELIBDIR}/mechanize/monkey_patch.rb
+${RUBY_SITELIBDIR}/mechanize/net-overrides/net/http.rb
+${RUBY_SITELIBDIR}/mechanize/net-overrides/net/https.rb
+${RUBY_SITELIBDIR}/mechanize/net-overrides/net/protocol.rb
+${RUBY_SITELIBDIR}/mechanize/page.rb
+${RUBY_SITELIBDIR}/mechanize/page_elements.rb
+${RUBY_SITELIBDIR}/mechanize/parsers/rexml_page.rb
+${RUBY_SITELIBDIR}/mechanize/pluggable_parsers.rb
+${RUBY_SITELIBDIR}/mechanize/rexml.rb
+@dirrm ${RUBY_SITELIBDIR}/mechanize/parsers
+@dirrm ${RUBY_SITELIBDIR}/mechanize/net-overrides/net
+@dirrm ${RUBY_SITELIBDIR}/mechanize/net-overrides
+@dirrm ${RUBY_SITELIBDIR}/mechanize
diff --git a/www/ruby-mechanize/distinfo b/www/ruby-mechanize/distinfo
new file mode 100644
index 00000000000..b7fb154ec0b
--- /dev/null
+++ b/www/ruby-mechanize/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/05/26 01:46:51 minskim Exp $
+
+SHA1 (mechanize-0.6.8.tgz) = 2cacc5246ba37be054e88992306625da2763e13f
+RMD160 (mechanize-0.6.8.tgz) = e3b6527dd819567eedf38d7770c249a88d67d4bd
+Size (mechanize-0.6.8.tgz) = 90678 bytes