1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Add ruby-webrick, an HTTP server toolkit for Ruby. You can write your

custom web server very easily.
This commit is contained in:
Akinori MUSHA 2002-02-06 22:21:12 +00:00
parent e784ad66a8
commit a8f92052a7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54270
6 changed files with 94 additions and 0 deletions

View File

@ -305,6 +305,7 @@
SUBDIR += ruboard
SUBDIR += ruby-http-access
SUBDIR += ruby-tmpl
SUBDIR += ruby-webrick
SUBDIR += ruby-webunit
SUBDIR += screem
SUBDIR += sidplug

38
www/ruby-webrick/Makefile Normal file
View File

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

View File

@ -0,0 +1 @@
MD5 (ruby/webrick-1.1.4.tar.gz) = 5e9f8971abdc1b3f29c9ca8ead25cf80

View File

@ -0,0 +1 @@
An HTTP server toolkit for Ruby

View File

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

View File

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