summaryrefslogtreecommitdiff
path: root/textproc/ruby-erb
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2002-03-16 03:39:30 +0000
committertaca <taca@pkgsrc.org>2002-03-16 03:39:30 +0000
commitafcedda6ca9d14540098468c7fc2edf0a9447a51 (patch)
tree17e84e4d23adf546b097e64cc392c7f95766c84c /textproc/ruby-erb
parentcaa1e8d3e7ff4dd13309d63033cf4b14a03fbcb7 (diff)
downloadpkgsrc-afcedda6ca9d14540098468c7fc2edf0a9447a51.tar.gz
Update ruby-erb package to 1.4.0.
2002-03-10 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp> * compile.rb: keep lineno after translation. 2002-03-06 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> * ERbLight#def_method: set fname and lineno for error message. 2002-02-12 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp> * add def_method/module/class method. 2002-02-11 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp> * remove load_erb method. * add u method.
Diffstat (limited to 'textproc/ruby-erb')
-rw-r--r--textproc/ruby-erb/Makefile24
-rw-r--r--textproc/ruby-erb/PLIST9
-rw-r--r--textproc/ruby-erb/distinfo6
3 files changed, 8 insertions, 31 deletions
diff --git a/textproc/ruby-erb/Makefile b/textproc/ruby-erb/Makefile
index 130bad8188c..57bcc57f620 100644
--- a/textproc/ruby-erb/Makefile
+++ b/textproc/ruby-erb/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/07/03 14:32:36 taca Exp $
+# $NetBSD: Makefile,v 1.2 2002/03/16 03:39:30 taca Exp $
#
-DISTNAME= erb-1.3.3
+DISTNAME= erb-1.4.0
PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
CATEGORIES= textproc
MASTER_SITES= http://www2a.biglobe.ne.jp/~seki/ruby/
@@ -11,29 +11,13 @@ HOMEPAGE= http://www2a.biglobe.ne.jp/~seki/ruby/
COMMENT= implementation of eRuby (embedded ruby)
DIST_SUBDIR= ruby
-USE_RUBY= yes
+USE_RUBY= # defined
+NO_BUILD= # defined
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/PLIST b/textproc/ruby-erb/PLIST
index f88b42c5fbb..02268d00284 100644
--- a/textproc/ruby-erb/PLIST
+++ b/textproc/ruby-erb/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:58:36 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/03/16 03:39:30 taca Exp $
${RUBY_SITELIBDIR}/erb/compile.rb
${RUBY_SITELIBDIR}/erb/erb.rb
${RUBY_SITELIBDIR}/erb/erbcgi.rb
@@ -7,10 +7,3 @@ ${RUBY_SITELIBDIR}/erb/erbu.rb
${RUBY_SITELIBDIR}/erb/main.rb
${RUBY_SITELIBDIR}/erb/strio.rb
@dirrm ${RUBY_SITELIBDIR}/erb
-${RUBY_EXAMPLESDIR}/erb/cgi_test.rhtml
-${RUBY_EXAMPLESDIR}/erb/dot.htaccess
-${RUBY_EXAMPLESDIR}/erb/erbux.rb
-${RUBY_EXAMPLESDIR}/erb/err.rhtml
-${RUBY_EXAMPLESDIR}/erb/sample.rhtml
-${RUBY_EXAMPLESDIR}/erb/succ.rhtml
-@dirrm ${RUBY_EXAMPLESDIR}/erb
diff --git a/textproc/ruby-erb/distinfo b/textproc/ruby-erb/distinfo
index 8adbfd7a2a7..d832c20f215 100644
--- a/textproc/ruby-erb/distinfo
+++ b/textproc/ruby-erb/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/07/03 14:32:36 taca Exp $
+$NetBSD: distinfo,v 1.2 2002/03/16 03:39:30 taca Exp $
-SHA1 (ruby/erb-1.3.3.tar.gz) = 008bc7214feefa53ad2a2f5760859b3c987fcb95
-Size (ruby/erb-1.3.3.tar.gz) = 5128 bytes
+SHA1 (ruby/erb-1.4.0.tar.gz) = 2285b68f52358ce2067242d8cc55e29a5bce4aab
+Size (ruby/erb-1.4.0.tar.gz) = 4294 bytes