aboutsummaryrefslogtreecommitdiffstats
path: root/www/ruby-asp
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-08-23 07:48:12 +0800
committerknu <knu@FreeBSD.org>2003-08-23 07:48:12 +0800
commit869ae4631d18f3a374abdf82c5b9e30031725a71 (patch)
treead145c66774bf4c0ca81a4348828eff37cf037ec /www/ruby-asp
parent83b4b1e7003e6a58f042b3a1494ad2acdef0a9c4 (diff)
downloadfreebsd-ports-gnome-869ae4631d18f3a374abdf82c5b9e30031725a71.tar.gz
freebsd-ports-gnome-869ae4631d18f3a374abdf82c5b9e30031725a71.tar.zst
freebsd-ports-gnome-869ae4631d18f3a374abdf82c5b9e30031725a71.zip
Add ruby-asp, an Active Server Pages port to Apache with Ruby
scripting.
Diffstat (limited to 'www/ruby-asp')
-rw-r--r--www/ruby-asp/Makefile55
-rw-r--r--www/ruby-asp/distinfo1
-rw-r--r--www/ruby-asp/pkg-descr6
-rw-r--r--www/ruby-asp/pkg-plist41
4 files changed, 103 insertions, 0 deletions
diff --git a/www/ruby-asp/Makefile b/www/ruby-asp/Makefile
new file mode 100644
index 000000000000..b5018c5b21cc
--- /dev/null
+++ b/www/ruby-asp/Makefile
@@ -0,0 +1,55 @@
+# New ports collection makefile for: Ruby-ASP
+# Date created: 23 August 2003
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= asp
+PORTVERSION= 0.1.3
+CATEGORIES= www ruby
+MASTER_SITES= http://webtime-project.net/ruby-asp/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}_${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+COMMENT= An Active Server Pages port to Apache with Ruby scripting
+
+USE_RUBY= yes
+USE_RUBY_SETUP= yes
+RUBY_SETUP= install.rb
+
+WRKSRC= ${WRKDIR}/ruby-${PORTNAME}
+
+RUBY_RD_FILES= doc/classes.en.rd \
+ doc/install.en.rd \
+ doc/subsmatch.en.rd \
+ doc/index.en.rd
+
+DOCS= AUTHORS \
+ README \
+ ${RUBY_RD_FILES} \
+ ${RUBY_RD_HTML_FILES}
+EXAMPLES= tests/*
+
+post-build:
+.if !defined(NOPORTDOCS) && defined(RUBY_RD_HTML)
+ cd ${BUILD_WRKSRC}/doc; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS}
+.endif
+
+post-install: doc-install
+
+.include <bsd.port.mk>
+
+doc-install:
+.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
diff --git a/www/ruby-asp/distinfo b/www/ruby-asp/distinfo
new file mode 100644
index 000000000000..ab199cacd855
--- /dev/null
+++ b/www/ruby-asp/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-asp_0.1.3.tar.gz) = fe656dadad60b04c1bd7a9dc249a89d4
diff --git a/www/ruby-asp/pkg-descr b/www/ruby-asp/pkg-descr
new file mode 100644
index 000000000000..5a2d366a60f2
--- /dev/null
+++ b/www/ruby-asp/pkg-descr
@@ -0,0 +1,6 @@
+Ruby-ASP provides an Active Server Pages port to the Apache Web Server
+with Ruby scripting only, and enables developing of dynamic web
+applications with session management and embedded Ruby code.
+
+Author: Gregoire Lejeune <glejeune.lejeune@free.fr>
+WWW: http://www.webtime-project.net/projects.asp
diff --git a/www/ruby-asp/pkg-plist b/www/ruby-asp/pkg-plist
new file mode 100644
index 000000000000..d30bbdac6d9c
--- /dev/null
+++ b/www/ruby-asp/pkg-plist
@@ -0,0 +1,41 @@
+%%RUBY_SITELIBDIR%%/apache/aspruby-run.rb
+%%RUBY_SITELIBDIR%%/asp/application.rb
+%%RUBY_SITELIBDIR%%/asp/common.rb
+%%RUBY_SITELIBDIR%%/asp/compile.rb
+%%RUBY_SITELIBDIR%%/asp/globalasa.rb
+%%RUBY_SITELIBDIR%%/asp/goto.rb
+%%RUBY_SITELIBDIR%%/asp/request.rb
+%%RUBY_SITELIBDIR%%/asp/response.rb
+%%RUBY_SITELIBDIR%%/asp/server.rb
+%%RUBY_SITELIBDIR%%/asp/session.rb
+%%RUBY_SITELIBDIR%%/asp/subsmatch.rb
+@dirrm %%RUBY_SITELIBDIR%%/asp
+@dirrm %%RUBY_SITELIBDIR%%/apache
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/_htaccess
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/cookie.asp
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/end.asp
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/error.html
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/global-asa/global.asa
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/global-asa/test.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/index.asp
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/load.asp
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sess.asp
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/session.asp
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/subsmatch.asp
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test.asp
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test.inc
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/trans.asp
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/xslt.asp
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/global-asa
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/AUTHORS
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes.en.rd
+%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/classes.en.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/install.en.rd
+%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/install.en.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/subsmatch.en.rd
+%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/subsmatch.en.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/index.en.rd
+%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/index.en.html
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%