1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Add ruby-asp, an Active Server Pages port to Apache with Ruby

scripting.
This commit is contained in:
Akinori MUSHA 2003-08-22 23:48:12 +00:00
parent 0d64d8bed2
commit 3cb934d40c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87534
5 changed files with 104 additions and 0 deletions

View File

@ -436,6 +436,7 @@
SUBDIR += rt3
SUBDIR += rt3-elixus
SUBDIR += ruboard
SUBDIR += ruby-asp
SUBDIR += ruby-borges
SUBDIR += ruby-div
SUBDIR += ruby-fcgi

55
www/ruby-asp/Makefile Normal file
View File

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

1
www/ruby-asp/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (ruby/ruby-asp_0.1.3.tar.gz) = fe656dadad60b04c1bd7a9dc249a89d4

6
www/ruby-asp/pkg-descr Normal file
View File

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

41
www/ruby-asp/pkg-plist Normal file
View File

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