diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-02-21 04:38:19 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-02-21 04:38:19 +0000 |
commit | 008ccef274d2fc41e5fdca210c7269ae1ef13348 (patch) | |
tree | fa81c31725f5e68c2c6f9e178bb40193ed390b2d /textproc/ruby-erb | |
parent | abbe92fc7c4f94cc68d34a8463f57eb43140a743 (diff) | |
download | ports-008ccef274d2fc41e5fdca210c7269ae1ef13348.tar.gz ports-008ccef274d2fc41e5fdca210c7269ae1ef13348.zip |
Add ruby-erb, another eRuby implementation which can be invoked from
within a script.
Notes
Notes:
svn path=/head/; revision=38539
Diffstat (limited to 'textproc/ruby-erb')
-rw-r--r-- | textproc/ruby-erb/Makefile | 37 | ||||
-rw-r--r-- | textproc/ruby-erb/distinfo | 1 | ||||
-rw-r--r-- | textproc/ruby-erb/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/ruby-erb/pkg-descr | 7 | ||||
-rw-r--r-- | textproc/ruby-erb/pkg-plist | 17 |
5 files changed, 63 insertions, 0 deletions
diff --git a/textproc/ruby-erb/Makefile b/textproc/ruby-erb/Makefile new file mode 100644 index 000000000000..75a9b3873226 --- /dev/null +++ b/textproc/ruby-erb/Makefile @@ -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> diff --git a/textproc/ruby-erb/distinfo b/textproc/ruby-erb/distinfo new file mode 100644 index 000000000000..cb51a70875ae --- /dev/null +++ b/textproc/ruby-erb/distinfo @@ -0,0 +1 @@ +MD5 (ruby/erb-1.3.3.tar.gz) = c32910a629f69546dc491e4ce235d433 diff --git a/textproc/ruby-erb/pkg-comment b/textproc/ruby-erb/pkg-comment new file mode 100644 index 000000000000..0c44c453895f --- /dev/null +++ b/textproc/ruby-erb/pkg-comment @@ -0,0 +1 @@ +Another eRuby implementation which can be invoked from within a script diff --git a/textproc/ruby-erb/pkg-descr b/textproc/ruby-erb/pkg-descr new file mode 100644 index 000000000000..5608b8d2d9a7 --- /dev/null +++ b/textproc/ruby-erb/pkg-descr @@ -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 diff --git a/textproc/ruby-erb/pkg-plist b/textproc/ruby-erb/pkg-plist new file mode 100644 index 000000000000..a26ce2a4d180 --- /dev/null +++ b/textproc/ruby-erb/pkg-plist @@ -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 |