summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-02-06 22:21:12 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-02-06 22:21:12 +0000
commita8f92052a7db9521276b2747489e117d5d0bdbc2 (patch)
tree51336b5c30f67406efa8a1ee93b3cf8bee2a1283 /www
parentUpdate to 0.56. (diff)
Add ruby-webrick, an HTTP server toolkit for Ruby. You can write your
custom web server very easily.
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/ruby-webrick/Makefile38
-rw-r--r--www/ruby-webrick/distinfo1
-rw-r--r--www/ruby-webrick/pkg-comment1
-rw-r--r--www/ruby-webrick/pkg-descr4
-rw-r--r--www/ruby-webrick/pkg-plist49
6 files changed, 94 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index be8c92249562..b9adad241323 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -305,6 +305,7 @@
SUBDIR += ruboard
SUBDIR += ruby-http-access
SUBDIR += ruby-tmpl
+ SUBDIR += ruby-webrick
SUBDIR += ruby-webunit
SUBDIR += screem
SUBDIR += sidplug
diff --git a/www/ruby-webrick/Makefile b/www/ruby-webrick/Makefile
new file mode 100644
index 000000000000..a1018623a595
--- /dev/null
+++ b/www/ruby-webrick/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: WEBrick
+# Date created: 7 February 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= webrick
+PORTVERSION= 1.1.4
+CATEGORIES= www ruby
+MASTER_SITES= http://www.notwork.org/ipr/webrick/src/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+# optional dependencies
+#RUN_DEPENDS= ${RUBY_SITELIBDIR}/erb/erb.rb:${PORTSDIR}/textproc/ruby-erb \
+# ${RUBY_SITELIBDIR}/openssl.rb:${PORTSDIR}/security/ruby-openssl
+
+USE_RUBY= yes
+
+NO_BUILD= yes
+
+DOCS= ChangeLog README doc/*
+
+do-install:
+ cd ${WRKSRC}; ${RUBY} install.rb
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${CP} -R ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS}
+ ${CP} -R ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/www/ruby-webrick/distinfo b/www/ruby-webrick/distinfo
new file mode 100644
index 000000000000..dfb1d63a5100
--- /dev/null
+++ b/www/ruby-webrick/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/webrick-1.1.4.tar.gz) = 5e9f8971abdc1b3f29c9ca8ead25cf80
diff --git a/www/ruby-webrick/pkg-comment b/www/ruby-webrick/pkg-comment
new file mode 100644
index 000000000000..f92e5e073f73
--- /dev/null
+++ b/www/ruby-webrick/pkg-comment
@@ -0,0 +1 @@
+An HTTP server toolkit for Ruby
diff --git a/www/ruby-webrick/pkg-descr b/www/ruby-webrick/pkg-descr
new file mode 100644
index 000000000000..462ffae5d4dd
--- /dev/null
+++ b/www/ruby-webrick/pkg-descr
@@ -0,0 +1,4 @@
+This is an HTTP server toolkit for Ruby. You can write your custom
+web server very easily.
+
+WWW: http://www.notwork.org/ipr/webrick/
diff --git a/www/ruby-webrick/pkg-plist b/www/ruby-webrick/pkg-plist
new file mode 100644
index 000000000000..6851a262446e
--- /dev/null
+++ b/www/ruby-webrick/pkg-plist
@@ -0,0 +1,49 @@
+%%RUBY_SITELIBDIR%%/webrick.rb
+%%RUBY_SITELIBDIR%%/webrick/compat.rb
+%%RUBY_SITELIBDIR%%/webrick/config.rb
+%%RUBY_SITELIBDIR%%/webrick/cookie.rb
+%%RUBY_SITELIBDIR%%/webrick/htmlutils.rb
+%%RUBY_SITELIBDIR%%/webrick/httpauth.rb
+%%RUBY_SITELIBDIR%%/webrick/httpdate.rb
+%%RUBY_SITELIBDIR%%/webrick/httprequest.rb
+%%RUBY_SITELIBDIR%%/webrick/httpresponse.rb
+%%RUBY_SITELIBDIR%%/webrick/https.rb
+%%RUBY_SITELIBDIR%%/webrick/httpserver.rb
+%%RUBY_SITELIBDIR%%/webrick/httpservlet.rb
+%%RUBY_SITELIBDIR%%/webrick/httpservlet/abstract.rb
+%%RUBY_SITELIBDIR%%/webrick/httpservlet/cgi_runner.rb
+%%RUBY_SITELIBDIR%%/webrick/httpservlet/cgihandler.rb
+%%RUBY_SITELIBDIR%%/webrick/httpservlet/erbhandler.rb
+%%RUBY_SITELIBDIR%%/webrick/httpservlet/filehandler.rb
+%%RUBY_SITELIBDIR%%/webrick/httpservlet/prochandler.rb
+%%RUBY_SITELIBDIR%%/webrick/httpstatus.rb
+%%RUBY_SITELIBDIR%%/webrick/httputils.rb
+%%RUBY_SITELIBDIR%%/webrick/log.rb
+%%RUBY_SITELIBDIR%%/webrick/mime.types
+%%RUBY_SITELIBDIR%%/webrick/server.rb
+%%RUBY_SITELIBDIR%%/webrick/uri.rb
+%%RUBY_SITELIBDIR%%/webrick/utils.rb
+%%RUBY_SITELIBDIR%%/webrick/version.rb
+@dirrm %%RUBY_SITELIBDIR%%/webrick/httpservlet
+@dirrm %%RUBY_SITELIBDIR%%/webrick
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/webrick/httpd/conf/sample.crt
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/webrick/httpd/conf/sample.key
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/webrick/httpd/htdocs/test.cgi
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/webrick/httpd/htdocs/test.rhtml
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/webrick/httpd/httpd.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/webrick/httpd/httpsd.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/webrick/rfc/cache/.keep_me
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/webrick/rfc/rfc.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/webrick/webdic/ndtp.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/webrick/webdic/webdic.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/webrick/webdic
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/webrick/rfc/cache
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/webrick/rfc
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/webrick/httpd/htdocs
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/webrick/httpd/conf
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/webrick/httpd
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/webrick
+%%PORTDOCS%%%%RUBY_DOCDIR%%/webrick/ChangeLog
+%%PORTDOCS%%%%RUBY_DOCDIR%%/webrick/README
+%%PORTDOCS%%%%RUBY_DOCDIR%%/webrick/webrick.rd
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/webrick