aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-11-13 05:29:26 +0800
committerknu <knu@FreeBSD.org>2002-11-13 05:29:26 +0800
commit3be148904c47fd91b09534f180885e7953d0626e (patch)
treeae5b372c8df752bf3b190e969d8189d2ed7bfaf0 /net
parent4343186182ec92f8c868ed169146759e0bc6ed3d (diff)
downloadfreebsd-ports-gnome-3be148904c47fd91b09534f180885e7953d0626e.tar.gz
freebsd-ports-gnome-3be148904c47fd91b09534f180885e7953d0626e.tar.zst
freebsd-ports-gnome-3be148904c47fd91b09534f180885e7953d0626e.zip
Add ruby-tserver, a Ruby library for writing a preforking server like
Apache.
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/ruby-tserver/Makefile32
-rw-r--r--net/ruby-tserver/distinfo1
-rw-r--r--net/ruby-tserver/pkg-comment1
-rw-r--r--net/ruby-tserver/pkg-descr4
-rw-r--r--net/ruby-tserver/pkg-plist6
6 files changed, 45 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 60fb9deee121..df337c7e9ad7 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -509,6 +509,7 @@
SUBDIR += ruby-snmp
SUBDIR += ruby-soap
SUBDIR += ruby-tcpsocketpipe
+ SUBDIR += ruby-tserver
SUBDIR += ruby-xmlrpc
SUBDIR += rwhois
SUBDIR += samba
diff --git a/net/ruby-tserver/Makefile b/net/ruby-tserver/Makefile
new file mode 100644
index 000000000000..b62feab00dd5
--- /dev/null
+++ b/net/ruby-tserver/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: Ruby/TServer
+# Date created: 13 November 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tserver
+PORTVERSION= 0.0.2
+CATEGORIES= net ruby
+MASTER_SITES= http://www.tmtm.org/ruby/tserver/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+
+RUBY_SHEBANG_FILES= ${WRKSRC}/sample/*
+
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/tserver.rb ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODDOCDIR}/ja
+ ${INSTALL_DATA} ${WRKSRC}/README.ja ${RUBY_MODDOCDIR}/ja/
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/ruby-tserver/distinfo b/net/ruby-tserver/distinfo
new file mode 100644
index 000000000000..12f8fe17cd1c
--- /dev/null
+++ b/net/ruby-tserver/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/tserver-0.0.2.tar.gz) = 3bee22b365ef79e3176d0529e26f1a0e
diff --git a/net/ruby-tserver/pkg-comment b/net/ruby-tserver/pkg-comment
new file mode 100644
index 000000000000..a96acf013a46
--- /dev/null
+++ b/net/ruby-tserver/pkg-comment
@@ -0,0 +1 @@
+A Ruby library for writing a preforking server like Apache
diff --git a/net/ruby-tserver/pkg-descr b/net/ruby-tserver/pkg-descr
new file mode 100644
index 000000000000..65df43250251
--- /dev/null
+++ b/net/ruby-tserver/pkg-descr
@@ -0,0 +1,4 @@
+TServer is a Ruby library for writing a preforking server like Apache.
+
+Author: TOMITA Masahiro <tommy@tmtm.org>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=TServer
diff --git a/net/ruby-tserver/pkg-plist b/net/ruby-tserver/pkg-plist
new file mode 100644
index 000000000000..158cd79d2f57
--- /dev/null
+++ b/net/ruby-tserver/pkg-plist
@@ -0,0 +1,6 @@
+%%RUBY_SITELIBDIR%%/tserver.rb
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/port-forward
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%