1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Add ruby-erb, another eRuby implementation which can be invoked from

within a script.
This commit is contained in:
Akinori MUSHA 2001-02-21 04:38:19 +00:00
parent abbe92fc7c
commit 008ccef274
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38539
6 changed files with 64 additions and 0 deletions

View File

@ -118,6 +118,7 @@
SUBDIR += py-xml
SUBDIR += rand
SUBDIR += rman
SUBDIR += ruby-erb
SUBDIR += ruby-html-parser
SUBDIR += ruby-qt2xml
SUBDIR += ruby-rdtool

View File

@ -0,0 +1,37 @@
# New ports collection makefile for: Ruby-ERb
# Date created: 21 February 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= erb
PORTVERSION= 1.3.3
CATEGORIES= textproc ruby
MASTER_SITES= http://www2a.biglobe.ne.jp/~seki/ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
NO_BUILD= yes
post-extract:
${MKDIR} ${WRKSRC}/sample/ja
${MV} ${WRKSRC}/sample/sample.rhtml ${WRKSRC}/sample/ja
post-patch:
${RUBY} -i -pe '$$. == 1 and $$_ = "#!${RUBY}\n" + $$_' \
${WRKSRC}/lib/erb/erb.rb
do-install:
@cd ${WRKSRC}; \
${RUBY} install.rb
${LN} -s ${RUBY_SITELIBDIR}/erb/erb.rb ${PREFIX}/bin/erb
.if !defined(NOPORTDOCS)
${CP} -R ${WRKSRC}/sample ${RUBY_EXAMPLESDIR}/erb/
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (ruby/erb-1.3.3.tar.gz) = c32910a629f69546dc491e4ce235d433

View File

@ -0,0 +1 @@
Another eRuby implementation which can be invoked from within a script

View File

@ -0,0 +1,7 @@
ERb - Tiny eRuby.
ERb is another eRuby implementation which can be invoked from within a
script as a library.
Author: Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=ERb+-+Tiny+eRuby

View File

@ -0,0 +1,17 @@
bin/erb
%%RUBY_SITELIBDIR%%/erb/compile.rb
%%RUBY_SITELIBDIR%%/erb/erb.rb
%%RUBY_SITELIBDIR%%/erb/erbcgi.rb
%%RUBY_SITELIBDIR%%/erb/erbl.rb
%%RUBY_SITELIBDIR%%/erb/erbu.rb
%%RUBY_SITELIBDIR%%/erb/main.rb
%%RUBY_SITELIBDIR%%/erb/strio.rb
@dirrm %%RUBY_SITELIBDIR%%/erb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/erb/cgi_test.rhtml
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/erb/dot.htaccess
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/erb/erbux.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/erb/err.rhtml
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/erb/succ.rhtml
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/erb/ja/sample.rhtml
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/erb/ja
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/erb