1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Add ruby-xml-script, a Ruby module for scripting an XML stream using

an ASP-like notation.
This commit is contained in:
Akinori MUSHA 2004-12-25 19:25:59 +00:00
parent 8ef31664af
commit 9065dd74d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125152
5 changed files with 75 additions and 0 deletions

View File

@ -572,6 +572,7 @@
SUBDIR += ruby-spreadsheet-excel
SUBDIR += ruby-tempura
SUBDIR += ruby-text-format
SUBDIR += ruby-xml-script
SUBDIR += ruby-xmlconfigfile
SUBDIR += ruby-xmlparser
SUBDIR += ruby-xmlscan

View File

@ -0,0 +1,43 @@
# New ports collection makefile for: Ruby/XML/Script
# Date created: 26 December 2004
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= xml-script
PORTVERSION= 0.1.0
CATEGORIES= textproc ruby
MASTER_SITES= http://gregoire.lejeune.free.fr/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}_${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= A Ruby module for scripting an XML stream using an ASP-like notation
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/js.so:${PORTSDIR}/lang/ruby-js \
${RUBY_SITEARCHLIBDIR}/lua.so:${PORTSDIR}/lang/ruby-lua4
USE_RUBY= yes
USE_RUBY_SETUP= yes
WRKSRC= ${WRKDIR}/ruby-${PORTNAME}
DOCS= AUTHORS \
README
EXAMPLES= tests/*
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
.endfor
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (ruby/ruby-xml-script_0.1.0.tar.gz) = 469ce0473838c39b0074920695f71895
SIZE (ruby/ruby-xml-script_0.1.0.tar.gz) = 19219

View File

@ -0,0 +1,7 @@
Ruby/XML/Script allows you to script a XML stream using an ASP-like
notation <% ... %>.
Supported scripting languages are JavaScript, Lua and Ruby.
Author: Gregoire Lejeune <greg@webtime-project.net>
WWW: http://gregoire.lejeune.free.fr/

View File

@ -0,0 +1,22 @@
%%RUBY_SITELIBDIR%%/XmlScriptError.rb
%%RUBY_SITELIBDIR%%/xml/script.rb
%%RUBY_SITELIBDIR%%/xml/script/base.rb
%%RUBY_SITELIBDIR%%/xml/script/javascript/compiler.rb
%%RUBY_SITELIBDIR%%/xml/script/lua/compiler.rb
%%RUBY_SITELIBDIR%%/xml/script/ruby/compiler.rb
@dirrm %%RUBY_SITELIBDIR%%/xml/script/ruby
@dirrm %%RUBY_SITELIBDIR%%/xml/script/lua
@dirrm %%RUBY_SITELIBDIR%%/xml/script/javascript
@dirrm %%RUBY_SITELIBDIR%%/xml/script
@dirrm %%RUBY_SITELIBDIR%%/xml
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/javascript-test.xml
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/languages.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/lua-test.xml
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/raise.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/ruby-error.xml
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/ruby-test.xml
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test.rb
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/AUTHORS
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%