1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

Add ruby-tempura, TEMPlate Utility for Ruby Application.

This commit is contained in:
Akinori MUSHA 2004-03-18 08:44:34 +00:00
parent 0185b36a1b
commit 18d67651d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104407
5 changed files with 120 additions and 0 deletions

View File

@ -460,6 +460,7 @@
SUBDIR += ruby-sablot
SUBDIR += ruby-sary
SUBDIR += ruby-spreadsheet-excel
SUBDIR += ruby-tempura
SUBDIR += ruby-text-format
SUBDIR += ruby-wordnet
SUBDIR += ruby-xmlconfigfile

View File

@ -0,0 +1,41 @@
# New ports collection makefile for: Ruby-Tempura
# Date created: 18 March 2004
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= tempura
PORTVERSION= 0.1.2
CATEGORIES= textproc ruby
MASTER_SITES= http://www.imasy.or.jp/~hisa/ruby/tempura/files/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= TEMPlate Utility for Ruby Application
USE_RUBY= yes
RUBY_FEATURES= rexml
NO_BUILD= yes
DOCS_EN= ChangeLog README
DOCS_JA= README.ja doc
do-install:
cd ${WRKSRC}; ${RUBY} install.rb
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}/
${CP} -R ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (ruby/tempura-0.1.2.tgz) = 2a923b5321f5a22acf65696e98c433bf
SIZE (ruby/tempura-0.1.2.tgz) = 50215

View File

@ -0,0 +1,17 @@
Tempura - TEMPlate Utility for Ruby Application
===============================================
Tempura is a template library for Ruby to create a live XML document
that combines real data into an XML template.
Features:
* Template is in XML format that preview can be viewed as HTML
* Only some special XML attributes effect a result to expand a template
* Model data is an arbitrary Ruby object
* Separate view from model
* Support for event-driven web application
* Includes library parts for the Div as web application framework
Author: FUJIMOTO, Hisakuni <hisa@imasy.or.jp>
WWW in Japanese: http://www.imasy.or.jp/~hisa/ruby/tempura/

View File

@ -0,0 +1,59 @@
%%RUBY_SITELIBDIR%%/tempura/charconv.rb
%%RUBY_SITELIBDIR%%/tempura/charconv_euc.rb
%%RUBY_SITELIBDIR%%/tempura/div.rb
%%RUBY_SITELIBDIR%%/tempura/expander.rb
%%RUBY_SITELIBDIR%%/tempura/source.rb
%%RUBY_SITELIBDIR%%/tempura/source_container.rb
%%RUBY_SITELIBDIR%%/tempura/template.rb
%%RUBY_SITELIBDIR%%/tempura/version.rb
@dirrm %%RUBY_SITELIBDIR%%/tempura
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/README
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/README.ja
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/cgi/.htaccess
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/cgi/app.cgi
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/cgi/controller.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/cgi/model.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/cgi/view.html
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/cgi/view.ja.html
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/div/controller.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/div/model.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/div/start_app.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/div/view.html
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/div/view.ja.html
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/first/base.html
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/first/sum.html
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/first/tofu-runner.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/first/yourapp.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/first_variation/base.erb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/first_variation/base.html
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/first_variation/sum.erb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/first_variation/sum.html
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/first_variation/tofu-runner.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/first_variation/yourapp.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/template/main.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/template/model.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/template/view.en.html
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/template/view.ja.html
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/template
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/first_variation
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/first
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/div
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/cgi
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/doc/Makefile
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/doc/changes.ja.rd
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/doc/html/changes.ja.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/doc/html/references.ja.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/doc/html/rubyStyle.css
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/doc/html/tempura.ja.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/doc/references.ja.rd
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/doc/rubyStyle.css
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/doc/tempura.ja.rd
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja/doc/html
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja/doc
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%