aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2007-04-02 04:20:16 +0800
committerknu <knu@FreeBSD.org>2007-04-02 04:20:16 +0800
commit8664a8e78c4f112f380499424893f9b0c6148e6d (patch)
tree737a29d4828926cf171f11d538b36c2aa8d11580 /www
parent3b0749cf1de56cb9dc75385eafa23b3d4c550ce8 (diff)
downloadfreebsd-ports-graphics-8664a8e78c4f112f380499424893f9b0c6148e6d.tar.gz
freebsd-ports-graphics-8664a8e78c4f112f380499424893f9b0c6148e6d.tar.zst
freebsd-ports-graphics-8664a8e78c4f112f380499424893f9b0c6148e6d.zip
Add ruby-fcgiwrap, a handy FastCGI wrapper library for CGI scripts
written in Ruby.
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/ruby-fcgiwrap/Makefile33
-rw-r--r--www/ruby-fcgiwrap/distinfo3
-rw-r--r--www/ruby-fcgiwrap/pkg-descr6
-rw-r--r--www/ruby-fcgiwrap/pkg-plist4
5 files changed, 47 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 520f1c2a6c1..776382de162 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1026,6 +1026,7 @@
SUBDIR += ruby-borges
SUBDIR += ruby-div
SUBDIR += ruby-fcgi
+ SUBDIR += ruby-fcgiwrap
SUBDIR += ruby-google
SUBDIR += ruby-gtkhtml2
SUBDIR += ruby-gtkmozembed
diff --git a/www/ruby-fcgiwrap/Makefile b/www/ruby-fcgiwrap/Makefile
new file mode 100644
index 00000000000..670dc4164bd
--- /dev/null
+++ b/www/ruby-fcgiwrap/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: Ruby/fcgiwrap
+# Date created: 31 March 2007
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fcgiwrap
+PORTVERSION= 0.1.5
+CATEGORIES= www ruby
+MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
+MASTER_SITE_SUBDIR= fcgi
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+COMMENT= Handy FastCGI wrapper library for CGI scripts written in Ruby
+
+RUN_DEPENDS= ${RUBY_SITELIBDIR}/fcgi.rb:${PORTSDIR}/www/ruby-fcgi
+
+USE_RUBY= yes
+
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/lib/fcgiwrap.rb ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODDOCDIR}
+ ${INSTALL} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${RUBY_MODDOCDIR}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/www/ruby-fcgiwrap/distinfo b/www/ruby-fcgiwrap/distinfo
new file mode 100644
index 00000000000..23b61976e2f
--- /dev/null
+++ b/www/ruby-fcgiwrap/distinfo
@@ -0,0 +1,3 @@
+MD5 (ruby/fcgiwrap-0.1.5.tgz) = ecbfcf1d3d9f6c5635662ce6e72d7cb2
+SHA256 (ruby/fcgiwrap-0.1.5.tgz) = 1387d069d1f2557a95f3e302f314029eea81b5482a635cc7fc788739f76256d3
+SIZE (ruby/fcgiwrap-0.1.5.tgz) = 1526
diff --git a/www/ruby-fcgiwrap/pkg-descr b/www/ruby-fcgiwrap/pkg-descr
new file mode 100644
index 00000000000..0463169bf8f
--- /dev/null
+++ b/www/ruby-fcgiwrap/pkg-descr
@@ -0,0 +1,6 @@
+FastCGI Wrapper (fcgiwrap) is a handy FastCGI wrapper library for
+Ruby, with which you can easily write a FastCGI wrapper script for an
+existing CGI script written in Ruby.
+
+Author: Tatsuki Sugiura <sugi@nemui.org>
+WWW: http://rubyforge.org/projects/fcgi/
diff --git a/www/ruby-fcgiwrap/pkg-plist b/www/ruby-fcgiwrap/pkg-plist
new file mode 100644
index 00000000000..fbd8d3a7adf
--- /dev/null
+++ b/www/ruby-fcgiwrap/pkg-plist
@@ -0,0 +1,4 @@
+%%RUBY_SITELIBDIR%%/fcgiwrap.rb
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%