summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2001-07-01 14:29:22 +0000
committertaca <taca@pkgsrc.org>2001-07-01 14:29:22 +0000
commit61c007ac5cf14c69f974898aa9da72ef4144ada1 (patch)
tree3b533394ab23de6e743962e66b2192c6da33eefb
parent8ddbb0a8cb9088ced1ac7512dace7c459ad47bd7 (diff)
downloadpkgsrc-61c007ac5cf14c69f974898aa9da72ef4144ada1.tar.gz
Importing ruby-uri, ruby-uri-4.27 package.
This is a Ruby interface to parse URIs according to RFC 2396. FTP and HTTP URLs are supported for the present.
-rw-r--r--www/ruby-uri/Makefile37
-rw-r--r--www/ruby-uri/distinfo4
-rw-r--r--www/ruby-uri/pkg/DESCR6
-rw-r--r--www/ruby-uri/pkg/PLIST8
4 files changed, 55 insertions, 0 deletions
diff --git a/www/ruby-uri/Makefile b/www/ruby-uri/Makefile
new file mode 100644
index 00000000000..79ab266364e
--- /dev/null
+++ b/www/ruby-uri/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/01 14:29:22 taca Exp $
+# FreeBSD: ports/net/ruby-uri/Makefile,v 1.7 2000/12/25 15:54:08 knu Exp
+
+DISTNAME= uri-4.27
+PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+CATEGORIES= www
+MASTER_SITES= http://www02.so-net.ne.jp/~greentea/ruby/uri/
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://www02.so-net.ne.jp/%7Egreentea/ruby/uri/
+COMMENT= Ruby interface to parse URIs according to RFC 2396
+
+DIST_SUBDIR= ruby
+USE_RUBY= yes
+NO_BUILD= yes
+
+WRKSRC= ${WRKDIR}/uri
+
+MODULES= uri.rb urireg.rb
+DOCS= index.html
+EXAMPLES= in-uri.txt test-uri.rb
+
+do-install:
+.for f in ${MODULES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_SITELIBDIR}
+.endfor
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/uri
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/uri
+.endfor
+ ${MKDIR} ${RUBY_DOCDIR}/uri
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/uri
+.endfor
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/ruby-uri/distinfo b/www/ruby-uri/distinfo
new file mode 100644
index 00000000000..9eb499143e0
--- /dev/null
+++ b/www/ruby-uri/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/07/01 14:29:22 taca Exp $
+
+SHA1 (ruby/uri-4.27.tar.gz) = 8c4bb7656fa844716b7b2f77a6ea0c85e0963c3e
+Size (ruby/uri-4.27.tar.gz) = 43534 bytes
diff --git a/www/ruby-uri/pkg/DESCR b/www/ruby-uri/pkg/DESCR
new file mode 100644
index 00000000000..9ac6852e558
--- /dev/null
+++ b/www/ruby-uri/pkg/DESCR
@@ -0,0 +1,6 @@
+This is a Ruby interface to parse URIs according to RFC 2396. FTP and
+HTTP URLs are supported for the present.
+
+
+Author: Tomoyuki Kosimizu <greentea@fa2.so-net.ne.jp>
+WWW: http://www02.so-net.ne.jp/%7Egreentea/ruby/uri/
diff --git a/www/ruby-uri/pkg/PLIST b/www/ruby-uri/pkg/PLIST
new file mode 100644
index 00000000000..d3d6198df2e
--- /dev/null
+++ b/www/ruby-uri/pkg/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/01 14:29:22 taca Exp $
+${RUBY_SITELIBDIR}/uri.rb
+${RUBY_SITELIBDIR}/urireg.rb
+${RUBY_EXAMPLESDIR}/uri/test-uri.rb
+${RUBY_EXAMPLESDIR}/uri/in-uri.txt
+@dirrm ${RUBY_EXAMPLESDIR}/uri
+${RUBY_DOCDIR}/uri/index.html
+@dirrm ${RUBY_DOCDIR}/uri