summaryrefslogtreecommitdiff
path: root/textproc/ruby-erb
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2001-07-03 14:32:35 +0000
committertaca <taca@pkgsrc.org>2001-07-03 14:32:35 +0000
commitdd1730fa4200af3bc55114c460c1fee5ad2d07cb (patch)
treea8f10570aa07d37837f7923c99fa6a61327251ae /textproc/ruby-erb
parented6c47d7a3320239b67a1735c09cc09d2ef034f1 (diff)
downloadpkgsrc-dd1730fa4200af3bc55114c460c1fee5ad2d07cb.tar.gz
Update ruby-eruby package to 0.9.7. Quote from ChangeLog is below.
Wed Oct 17 14:58:24 2001 Shugo Maeda <shugo@modruby.net> * version 0.9.7 released. Mon Oct 15 13:54:18 2001 Shugo Maeda <shugo@modruby.net> * eruby_main.c (run): fix prototype of Init_stack(). Wed Oct 10 15:15:48 2001 Shugo Maeda <shugo@modruby.net> * eruby_main.c (run): call ruby_finalize(). * eruby_main.c (run): print error messages to stderr if $DEBUG is false. Tue Sep 4 15:33:38 2001 Shugo Maeda <shugo@modruby.net> * eruby_main.c (run): call Init_stack().
Diffstat (limited to 'textproc/ruby-erb')
-rw-r--r--textproc/ruby-erb/Makefile39
-rw-r--r--textproc/ruby-erb/distinfo4
2 files changed, 43 insertions, 0 deletions
diff --git a/textproc/ruby-erb/Makefile b/textproc/ruby-erb/Makefile
new file mode 100644
index 00000000000..130bad8188c
--- /dev/null
+++ b/textproc/ruby-erb/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/03 14:32:36 taca Exp $
+#
+
+DISTNAME= erb-1.3.3
+PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+CATEGORIES= textproc
+MASTER_SITES= http://www2a.biglobe.ne.jp/~seki/ruby/
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://www2a.biglobe.ne.jp/~seki/ruby/
+COMMENT= implementation of eRuby (embedded ruby)
+
+DIST_SUBDIR= ruby
+USE_RUBY= yes
+
+REPLACE_RUBY= lib/erb/erbcgi.rb
+REPLACE_ERBCGI= sample/cgi_test.rhtml sample/sample.rhtml
+FIX_MODES= lib/erb/erb.rb lib/erb/erbl.rb
+EXAMPLES= cgi_test.rhtml dot.htaccess erbux.rb err.rhtml \
+ sample.rhtml succ.rhtml
+
+do-build:
+.for f in ${REPLACE_ERBCGI}
+ @${ECHO_MSG} "===> Fixing the #! line of $f"; \
+ ${RUBY} -i -pe '$$. == 1 and sub /^#!.*\/([a-z]+\.rb)/, "#!${RUBY_SITELIBDIR}/\\1"' ${WRKSRC}/$f
+.endfor
+.for f in ${FIX_MODES}
+ ${CHMOD} -x ${WRKSRC}/$f
+.endfor
+
+do-install:
+ cd ${WRKSRC}; ${RUBY} install.rb
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/erb
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/sample/$f ${RUBY_EXAMPLESDIR}/erb
+.endfor
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ruby-erb/distinfo b/textproc/ruby-erb/distinfo
new file mode 100644
index 00000000000..8adbfd7a2a7
--- /dev/null
+++ b/textproc/ruby-erb/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/07/03 14:32:36 taca Exp $
+
+SHA1 (ruby/erb-1.3.3.tar.gz) = 008bc7214feefa53ad2a2f5760859b3c987fcb95
+Size (ruby/erb-1.3.3.tar.gz) = 5128 bytes