diff options
author | knu <knu@FreeBSD.org> | 2000-08-14 07:09:57 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-08-14 07:09:57 +0000 |
commit | 45e7f4ea29ddf76a90bad988c462081df796573d (patch) | |
tree | 77c1c45046464e07fb27289d3ab33ccd11b54804 /net/ruby-uri | |
parent | f9bcd4aa73db29d9c5863396d228808bbbdbfb24 (diff) | |
download | FreeBSD-ports-45e7f4ea29ddf76a90bad988c462081df796573d.zip FreeBSD-ports-45e7f4ea29ddf76a90bad988c462081df796573d.tar.gz |
Add ruby-uri, Ruby interface to parse URIs according to RFC 2396.
Diffstat (limited to 'net/ruby-uri')
-rw-r--r-- | net/ruby-uri/Makefile | 48 | ||||
-rw-r--r-- | net/ruby-uri/distinfo | 1 | ||||
-rw-r--r-- | net/ruby-uri/pkg-comment | 1 | ||||
-rw-r--r-- | net/ruby-uri/pkg-descr | 6 | ||||
-rw-r--r-- | net/ruby-uri/pkg-plist | 7 |
5 files changed, 63 insertions, 0 deletions
diff --git a/net/ruby-uri/Makefile b/net/ruby-uri/Makefile new file mode 100644 index 0000000..d861bb0 --- /dev/null +++ b/net/ruby-uri/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: Ruby-uri +# Date created: 14 Aug 2000 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= uri +PORTVERSION= 3.54 +CATEGORIES= net # ruby +MASTER_SITES= http://www02.so-net.ne.jp/%7Egreentea/ruby/uri/ +PKGNAMEPREFIX= ruby- +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby + +NO_BUILD= yes + +WRKSRC= ${WRKDIR}/${PORTNAME} +PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}" + +RUBY?= ${LOCALBASE}/bin/ruby +RUBY_VER?= 1.4 +RUBY_ARCH?= ${ARCH}-freebsd${OSREL} + +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} ${PREFIX}/lib/ruby/site_ruby/ +.endfor +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/examples/ruby/uri +.for f in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/examples/ruby/uri/ +.endfor + ${MKDIR} ${PREFIX}/share/doc/ruby/uri +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/uri/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/net/ruby-uri/distinfo b/net/ruby-uri/distinfo new file mode 100644 index 0000000..4bb6a7e --- /dev/null +++ b/net/ruby-uri/distinfo @@ -0,0 +1 @@ +MD5 (ruby/uri-3.54.tar.gz) = 8aa74042d798d58e0616c3530a81584d diff --git a/net/ruby-uri/pkg-comment b/net/ruby-uri/pkg-comment new file mode 100644 index 0000000..4e1ca37 --- /dev/null +++ b/net/ruby-uri/pkg-comment @@ -0,0 +1 @@ +Ruby interface to parse URIs according to RFC 2396 diff --git a/net/ruby-uri/pkg-descr b/net/ruby-uri/pkg-descr new file mode 100644 index 0000000..9ac6852 --- /dev/null +++ b/net/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/net/ruby-uri/pkg-plist b/net/ruby-uri/pkg-plist new file mode 100644 index 0000000..17673f4 --- /dev/null +++ b/net/ruby-uri/pkg-plist @@ -0,0 +1,7 @@ +lib/ruby/site_ruby/uri.rb +lib/ruby/site_ruby/urireg.rb +share/examples/ruby/uri/test-uri.rb +share/examples/ruby/uri/in-uri.txt +@dirrm share/examples/ruby/uri +share/doc/ruby/uri/index.html +@dirrm share/doc/ruby/uri |