pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/ruby-erb Update ruby-erb package to 2.0.4 mig...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5d4c0c220069
branches: trunk
changeset: 484530:5d4c0c220069
user: taca <taca%pkgsrc.org@localhost>
date: Sun Nov 28 04:27:13 2004 +0000
description:
Update ruby-erb package to 2.0.4 migrating to use new framework
for Ruby packages. This pacakge is only for ruby16 since Ruby
1.8.1 bundled this ectention library.
Changes are huge, please refer HOMEPAGE or ChangeLog in source
files.
diffstat:
textproc/ruby-erb/Makefile | 22 +++++++++++-----------
textproc/ruby-erb/PLIST | 20 +++++++++++---------
textproc/ruby-erb/distinfo | 6 +++---
3 files changed, 25 insertions(+), 23 deletions(-)
diffs (73 lines):
diff -r 0cde439cb78e -r 5d4c0c220069 textproc/ruby-erb/Makefile
--- a/textproc/ruby-erb/Makefile Sun Nov 28 04:22:48 2004 +0000
+++ b/textproc/ruby-erb/Makefile Sun Nov 28 04:27:13 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2004/03/16 02:01:11 taca Exp $
+# $NetBSD: Makefile,v 1.9 2004/11/28 04:27:13 taca Exp $
#
-DISTNAME= erb-1.4.3
-PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+DISTNAME= erb-2.0.4
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= textproc ruby
MASTER_SITES= http://www2a.biglobe.ne.jp/~seki/ruby/
@@ -10,14 +10,14 @@
HOMEPAGE= http://www2a.biglobe.ne.jp/~seki/ruby/
COMMENT= Implementation of eRuby (embedded ruby)
-DIST_SUBDIR= ruby
-USE_RUBY= # defined
-NO_BUILD= # defined
-
-REPLACE_RUBY= lib/erb/erbcgi.rb
+RUBY_VERSION= ${RUBY16_VERSION}
+USE_RUBY_INSTALL= yes
+NO_BUILD= yes
+REPLACE_RUBY= bin/erb sample/erbcgi
-do-install:
- cd ${WRKSRC}; ${RUBY} install.rb
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/erb
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/erb
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 0cde439cb78e -r 5d4c0c220069 textproc/ruby-erb/PLIST
--- a/textproc/ruby-erb/PLIST Sun Nov 28 04:22:48 2004 +0000
+++ b/textproc/ruby-erb/PLIST Sun Nov 28 04:27:13 2004 +0000
@@ -1,9 +1,11 @@
-@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
-${RUBY_SITELIBDIR}/erb/erbl.rb
-${RUBY_SITELIBDIR}/erb/erbu.rb
-${RUBY_SITELIBDIR}/erb/main.rb
-${RUBY_SITELIBDIR}/erb/strio.rb
-@dirrm ${RUBY_SITELIBDIR}/erb
+@comment $NetBSD: PLIST,v 1.3 2004/11/28 04:27:13 taca Exp $
+${RUBY_SITELIBDIR}/erb.rb
+${RUBY_EXAMPLESDIR}/erb/bgattr.rb
+${RUBY_EXAMPLESDIR}/erb/cgi_test.rhtml
+${RUBY_EXAMPLESDIR}/erb/dot.htaccess
+${RUBY_EXAMPLESDIR}/erb/erbcgi
+${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 -r 0cde439cb78e -r 5d4c0c220069 textproc/ruby-erb/distinfo
--- a/textproc/ruby-erb/distinfo Sun Nov 28 04:22:48 2004 +0000
+++ b/textproc/ruby-erb/distinfo Sun Nov 28 04:27:13 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2002/03/30 09:30:37 taca Exp $
+$NetBSD: distinfo,v 1.6 2004/11/28 04:27:13 taca Exp $
-SHA1 (ruby/erb-1.4.3.tar.gz) = 21b898c084309de70c6e8d014ccfd6ba66cf82dc
-Size (ruby/erb-1.4.3.tar.gz) = 4553 bytes
+SHA1 (ruby/erb-2.0.4.tar.gz) = 4a2c5b87ac4a896bf691e9e129114521dd0f8ee3
+Size (ruby/erb-2.0.4.tar.gz) = 9025 bytes
Home |
Main Index |
Thread Index |
Old Index