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:
parent
abbe92fc7c
commit
008ccef274
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38539
@ -118,6 +118,7 @@
|
||||
SUBDIR += py-xml
|
||||
SUBDIR += rand
|
||||
SUBDIR += rman
|
||||
SUBDIR += ruby-erb
|
||||
SUBDIR += ruby-html-parser
|
||||
SUBDIR += ruby-qt2xml
|
||||
SUBDIR += ruby-rdtool
|
||||
|
37
textproc/ruby-erb/Makefile
Normal file
37
textproc/ruby-erb/Makefile
Normal 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>
|
1
textproc/ruby-erb/distinfo
Normal file
1
textproc/ruby-erb/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/erb-1.3.3.tar.gz) = c32910a629f69546dc491e4ce235d433
|
1
textproc/ruby-erb/pkg-comment
Normal file
1
textproc/ruby-erb/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Another eRuby implementation which can be invoked from within a script
|
7
textproc/ruby-erb/pkg-descr
Normal file
7
textproc/ruby-erb/pkg-descr
Normal 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
|
17
textproc/ruby-erb/pkg-plist
Normal file
17
textproc/ruby-erb/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user