diff options
author | taca <taca@pkgsrc.org> | 2004-11-28 04:27:13 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2004-11-28 04:27:13 +0000 |
commit | 03d5e9708f710065b128e40ba2c23cd4eae9bc0c (patch) | |
tree | dbe86aa42a139e3ee14f00a6e493ceaa721142e2 /textproc/ruby-erb | |
parent | ec6c63ab8ca8e0bafe9d0f9d137153aed57c8a15 (diff) | |
download | pkgsrc-03d5e9708f710065b128e40ba2c23cd4eae9bc0c.tar.gz |
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 (limited to 'textproc/ruby-erb')
-rw-r--r-- | textproc/ruby-erb/Makefile | 22 | ||||
-rw-r--r-- | textproc/ruby-erb/PLIST | 20 | ||||
-rw-r--r-- | textproc/ruby-erb/distinfo | 6 |
3 files changed, 25 insertions, 23 deletions
diff --git a/textproc/ruby-erb/Makefile b/textproc/ruby-erb/Makefile index 9d0bc305c98..defe4bdab18 100644 --- a/textproc/ruby-erb/Makefile +++ b/textproc/ruby-erb/Makefile @@ -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 @@ MAINTAINER= taca@NetBSD.org HOMEPAGE= http://www2a.biglobe.ne.jp/~seki/ruby/ COMMENT= Implementation of eRuby (embedded ruby) -DIST_SUBDIR= ruby -USE_RUBY= # defined -NO_BUILD= # defined +RUBY_VERSION= ${RUBY16_VERSION} +USE_RUBY_INSTALL= yes +NO_BUILD= yes +REPLACE_RUBY= bin/erb sample/erbcgi -REPLACE_RUBY= lib/erb/erbcgi.rb +post-install: + ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/erb + ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/erb -do-install: - cd ${WRKSRC}; ${RUBY} install.rb - -.include "../../lang/ruby-base/Makefile.common" +.include "../../lang/ruby/modules.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/ruby-erb/PLIST b/textproc/ruby-erb/PLIST index 02268d00284..a75cd54aad5 100644 --- a/textproc/ruby-erb/PLIST +++ b/textproc/ruby-erb/PLIST @@ -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 --git a/textproc/ruby-erb/distinfo b/textproc/ruby-erb/distinfo index 3c9e19a01bf..a526153255c 100644 --- a/textproc/ruby-erb/distinfo +++ b/textproc/ruby-erb/distinfo @@ -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 |