summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2005-11-03 05:16:51 +0000
committertaca <taca@pkgsrc.org>2005-11-03 05:16:51 +0000
commit1bf4861c71d88d7b5a2ca8eaa3eceffed7a1698c (patch)
tree505f4c66051ea131c05651655b5ae60786b7283d /textproc
parenta243c19bd9b4159c7c4fa8d1ca092a4704365543 (diff)
downloadpkgsrc-1bf4861c71d88d7b5a2ca8eaa3eceffed7a1698c.tar.gz
- Update ruby-html-parser pacakge to 19990912p2.
- Use USE_RUBY_INSTALL. 2001-07-10 Fix array concatination statement in install_rb() of the install.rb for Ruby 1.6.2 or later. Reported by Ed L Cashin <ecashin@terry.uga.edu>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ruby-html-parser/Makefile13
-rw-r--r--textproc/ruby-html-parser/distinfo9
-rw-r--r--textproc/ruby-html-parser/patches/patch-aa13
3 files changed, 22 insertions, 13 deletions
diff --git a/textproc/ruby-html-parser/Makefile b/textproc/ruby-html-parser/Makefile
index f05b58367ab..b37447fb1dc 100644
--- a/textproc/ruby-html-parser/Makefile
+++ b/textproc/ruby-html-parser/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2005/06/17 03:50:37 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2005/11/03 05:16:51 taca Exp $
DISTNAME= html-parser-${VERSION}
PKGNAME= ${RUBY_PKGPREFIX}-html-parser-${VERSION}
-PKGREVISION= 1
CATEGORIES= textproc ruby
MASTER_SITES= http://www.jin.gr.jp/~nahi/Ruby/html-parser/
@@ -13,14 +12,10 @@ COMMENT= HTML-parser package for Ruby
NO_BUILD= yes
NO_CONFIGURE= yes
-MODULES= formatter.rb html-parser.rb sgml-parser.rb
-VERSION= 19990912p1
+USE_RUBY_INSTALL= yes
+VERSION= 19990912p2
-do-install:
- ${INSTALL_DATA_DIR} ${RUBY_SITELIBDIR}
-.for f in ${MODULES}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_SITELIBDIR}
-.endfor
+post-install:
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/html-parser
${INSTALL_DATA} ${WRKSRC}/README.html ${RUBY_DOCDIR}/html-parser
diff --git a/textproc/ruby-html-parser/distinfo b/textproc/ruby-html-parser/distinfo
index 169875945e9..cdd077898d3 100644
--- a/textproc/ruby-html-parser/distinfo
+++ b/textproc/ruby-html-parser/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 14:48:49 agc Exp $
+$NetBSD: distinfo,v 1.3 2005/11/03 05:16:51 taca Exp $
-SHA1 (ruby/html-parser-19990912p1.tar.gz) = 7a99d322bf10ace62ab2ec6f85da928b64f98284
-RMD160 (ruby/html-parser-19990912p1.tar.gz) = 2db40ed03ee75f1c07044c3fe2568e6034714825
-Size (ruby/html-parser-19990912p1.tar.gz) = 7103 bytes
+SHA1 (ruby/html-parser-19990912p2.tar.gz) = 9af1a9c5cd952f5b392ef6cfa13b8778184253e7
+RMD160 (ruby/html-parser-19990912p2.tar.gz) = aad044d8ae91e98f59888dc52e51aee8aa184e57
+Size (ruby/html-parser-19990912p2.tar.gz) = 7216 bytes
+SHA1 (patch-aa) = 4a5ca1551f28bf03ba4d77e323da48846273dc7e
diff --git a/textproc/ruby-html-parser/patches/patch-aa b/textproc/ruby-html-parser/patches/patch-aa
new file mode 100644
index 00000000000..038db772763
--- /dev/null
+++ b/textproc/ruby-html-parser/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2005/11/03 05:16:51 taca Exp $
+
+--- install.rb.orig 2001-07-10 20:10:05.000000000 +0900
++++ install.rb
+@@ -11,7 +11,7 @@ $srcdir = CONFIG["srcdir"]
+ $version = CONFIG["MAJOR"]+"."+CONFIG["MINOR"]
+ $libdir = File.join(CONFIG["libdir"], "ruby", $version)
+ $archdir = File.join($libdir, CONFIG["arch"])
+-$site_libdir = CONFIG["sitedir"]
++$site_libdir = CONFIG["sitelibdir"]
+ if !$site_libdir
+ $site_libdir = $:.find {|x| x =~ /site_ruby$/}
+ end