aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/ruby-borges/Makefile39
-rw-r--r--www/ruby-borges/distinfo1
-rw-r--r--www/ruby-borges/pkg-comment1
-rw-r--r--www/ruby-borges/pkg-descr6
-rw-r--r--www/ruby-borges/pkg-plist32
6 files changed, 80 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index fb25ec3fc951..2fb4d779263a 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -375,6 +375,7 @@
SUBDIR += roxen
SUBDIR += rt2
SUBDIR += ruboard
+ SUBDIR += ruby-borges
SUBDIR += ruby-fcgi
SUBDIR += ruby-google
SUBDIR += ruby-http-access
diff --git a/www/ruby-borges/Makefile b/www/ruby-borges/Makefile
new file mode 100644
index 000000000000..06278a43a3f7
--- /dev/null
+++ b/www/ruby-borges/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: Ruby-Borges
+# Date created: 31 January 2003
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= borges
+PORTVERSION= 0.1.0
+CATEGORIES= www ruby
+MASTER_SITES= http://segment7.net/ruby-code/borges/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+RUN_DEPENDS= ${RUBY_SITELIBDIR}/webrick.rb:${PORTSDIR}/www/ruby-webrick
+
+USE_RUBY= yes
+
+NO_BUILD= yes
+
+DOCS= CHANGELOG README TODO
+EXAMPLES= data/examples/ruby/borges/*
+
+do-install:
+ ${CP} -R ${WRKSRC}/lib/* ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+.for f in ${EXAMPLES}
+ ${CP} -R ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
+.endfor
+ ${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/www/ruby-borges/distinfo b/www/ruby-borges/distinfo
new file mode 100644
index 000000000000..7ee5f2477790
--- /dev/null
+++ b/www/ruby-borges/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/borges-0.1.0.tar.gz) = 6dd6621601fd9441375fff5c87c9d1fc
diff --git a/www/ruby-borges/pkg-comment b/www/ruby-borges/pkg-comment
new file mode 100644
index 000000000000..a8019e1619dc
--- /dev/null
+++ b/www/ruby-borges/pkg-comment
@@ -0,0 +1 @@
+A web application framework for Ruby that allows linear programming
diff --git a/www/ruby-borges/pkg-descr b/www/ruby-borges/pkg-descr
new file mode 100644
index 000000000000..b64051591760
--- /dev/null
+++ b/www/ruby-borges/pkg-descr
@@ -0,0 +1,6 @@
+Borges is a web application framework based on Seaside that allows
+linear programming of web applications. Borges runs on Webrick and
+features a simple rendering interface.
+
+Author: Eric Hodel <drbrain@segment7.net>
+WWW: http://segment7.net/ruby-code/borges/borges.html
diff --git a/www/ruby-borges/pkg-plist b/www/ruby-borges/pkg-plist
new file mode 100644
index 000000000000..9733740fa8e5
--- /dev/null
+++ b/www/ruby-borges/pkg-plist
@@ -0,0 +1,32 @@
+%%RUBY_SITELIBDIR%%/borges.rb
+%%RUBY_SITELIBDIR%%/borges/Apache+DRb.rb
+%%RUBY_SITELIBDIR%%/borges/Application.rb
+%%RUBY_SITELIBDIR%%/borges/HTML.rb
+%%RUBY_SITELIBDIR%%/borges/Page.rb
+%%RUBY_SITELIBDIR%%/borges/Renderer.rb
+%%RUBY_SITELIBDIR%%/borges/Session.rb
+%%RUBY_SITELIBDIR%%/borges/Utilities.rb
+%%RUBY_SITELIBDIR%%/borges/Webrick.rb
+%%RUBY_SITELIBDIR%%/borges/console_ask.rb
+%%RUBY_SITELIBDIR%%/borges/template_ask.rb
+%%RUBY_SITELIBDIR%%/borges/web_ask.rb
+@dirrm %%RUBY_SITELIBDIR%%/borges
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/counter.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/pagecounter.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/status.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/train/README
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/train/application.html
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/train/ask.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/train/index.html
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/train/patterns
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/train/renderask.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/train/renderer.html
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/train/respond.html
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/train/train.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/train/webask.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/train
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGELOG
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/TODO
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%