diff options
author | taca <taca@pkgsrc.org> | 2010-09-10 08:48:31 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2010-09-10 08:48:31 +0000 |
commit | 080c33c5e8b7016637e9e8e9878159278d5f5f3c (patch) | |
tree | 4d49079f0faf528dadc922386f737b722341a0b9 /textproc/ruby-xmlparser | |
parent | 093a3408f90f6e094495378b5ed22b6364708622 (diff) | |
download | pkgsrc-080c33c5e8b7016637e9e8e9878159278d5f5f3c.tar.gz |
Update textproc/ruby-xmlparser to 0.7.1.
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.
* Add PKG_DESTDIR_SUPPORT.
* Ajust new ruby package's framework.
Changes of version 0.7.1
* convert the encoding of an input string automatically (Ruby 1.9.1).
Changes of version 0.7.0
* suppot Ruby 1.9.1.
* remove some experimental libraries.
* remove all example programs.
Diffstat (limited to 'textproc/ruby-xmlparser')
-rw-r--r-- | textproc/ruby-xmlparser/Makefile | 21 | ||||
-rw-r--r-- | textproc/ruby-xmlparser/PLIST | 100 | ||||
-rw-r--r-- | textproc/ruby-xmlparser/distinfo | 9 | ||||
-rw-r--r-- | textproc/ruby-xmlparser/patches/patch-ac | 13 |
4 files changed, 64 insertions, 79 deletions
diff --git a/textproc/ruby-xmlparser/Makefile b/textproc/ruby-xmlparser/Makefile index 114890ef842..ce5284a0e14 100644 --- a/textproc/ruby-xmlparser/Makefile +++ b/textproc/ruby-xmlparser/Makefile @@ -1,17 +1,26 @@ -# $NetBSD: Makefile,v 1.13 2008/06/19 15:21:35 taca Exp $ +# $NetBSD: Makefile,v 1.14 2010/09/10 08:48:31 taca Exp $ -DISTNAME= xmlparser-0.6.81 -PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +DISTNAME= xmlparser-0.7.1 CATEGORIES= textproc +MASTER_SITES= http://www.yoshidam.net/ MAINTAINER= taca@NetBSD.org HOMEPAGE= http://www.yoshidam.net/Ruby.html#xmlparser COMMENT= Ruby bindings to the Expat XML parsing library -DEPENDS+= ${RUBY_PKGPREFIX}-mkrf>=0.2.1:../../devel/ruby-mkrf +PKG_DESTDIR_SUPPORT= user-destdir -.include "../../misc/rubygems/rubygem.mk" +WRKSRC= ${WRKDIR}/${DISTNAME:C/-.*//} +USE_RUBY_EXTCONF= YES +DOCS= README README.ja Encodings/README.ja +DOCDIR= ${RUBY_DOC}/xmlparser +INSTALLATION_DIRS+= ${DOCDIR}/Encodings +post-install: +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}/${f} +.endfor + +.include "../../lang/ruby/modules.mk" .include "../../textproc/expat/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/ruby-xmlparser/PLIST b/textproc/ruby-xmlparser/PLIST index 84d508cbf90..d2e6c9b75d0 100644 --- a/textproc/ruby-xmlparser/PLIST +++ b/textproc/ruby-xmlparser/PLIST @@ -1,55 +1,45 @@ -@comment $NetBSD: PLIST,v 1.6 2009/06/14 21:36:33 joerg Exp $ -${GEM_HOME}/cache/xmlparser-${PKGVERSION}.gem -${GEM_LIBDIR}/MANIFEST -${GEM_LIBDIR}/README -${GEM_LIBDIR}/README.ja -${GEM_LIBDIR}/Rakefile -${GEM_LIBDIR}/ext/encoding.h -${GEM_LIBDIR}/ext/xmlparser/mkrf_conf.rb -${GEM_LIBDIR}/ext/xmlparser/xmlparser.c -${GEM_LIBDIR}/lib/sax.rb -${GEM_LIBDIR}/lib/saxdriver.rb -${GEM_LIBDIR}/lib/wget.rb -${GEM_LIBDIR}/lib/xml/dom/builder-ja.rb -${GEM_LIBDIR}/lib/xml/dom/builder.rb -${GEM_LIBDIR}/lib/xml/dom/core.rb -${GEM_LIBDIR}/lib/xml/dom/digest.rb -${GEM_LIBDIR}/lib/xml/dom/visitor.rb -${GEM_LIBDIR}/lib/xml/dom2/attr.rb -${GEM_LIBDIR}/lib/xml/dom2/cdatasection.rb -${GEM_LIBDIR}/lib/xml/dom2/characterdata.rb -${GEM_LIBDIR}/lib/xml/dom2/comment.rb -${GEM_LIBDIR}/lib/xml/dom2/core.rb -${GEM_LIBDIR}/lib/xml/dom2/document.rb -${GEM_LIBDIR}/lib/xml/dom2/documentfragment.rb -${GEM_LIBDIR}/lib/xml/dom2/documenttype.rb -${GEM_LIBDIR}/lib/xml/dom2/dombuilder.rb -${GEM_LIBDIR}/lib/xml/dom2/dombuilderfilter.rb -${GEM_LIBDIR}/lib/xml/dom2/domentityresolver.rb -${GEM_LIBDIR}/lib/xml/dom2/domentityresolverimpl.rb -${GEM_LIBDIR}/lib/xml/dom2/domexception.rb -${GEM_LIBDIR}/lib/xml/dom2/domimplementation.rb -${GEM_LIBDIR}/lib/xml/dom2/dominputsource.rb -${GEM_LIBDIR}/lib/xml/dom2/element.rb -${GEM_LIBDIR}/lib/xml/dom2/entity.rb -${GEM_LIBDIR}/lib/xml/dom2/entityreference.rb -${GEM_LIBDIR}/lib/xml/dom2/namednodemap.rb -${GEM_LIBDIR}/lib/xml/dom2/node.rb -${GEM_LIBDIR}/lib/xml/dom2/nodelist.rb -${GEM_LIBDIR}/lib/xml/dom2/notation.rb -${GEM_LIBDIR}/lib/xml/dom2/processinginstruction.rb -${GEM_LIBDIR}/lib/xml/dom2/text.rb -${GEM_LIBDIR}/lib/xml/dom2/xpath.rb -${GEM_LIBDIR}/lib/xml/encoding-ja.rb -${GEM_LIBDIR}/lib/xml/parser.rb -${GEM_LIBDIR}/lib/xml/parserns.rb -${GEM_LIBDIR}/lib/xml/sax.rb -${GEM_LIBDIR}/lib/xml/saxdriver.rb -${GEM_LIBDIR}/lib/xml/xpath.rb -${GEM_LIBDIR}/lib/xml/xpath.ry -${GEM_LIBDIR}/lib/xmldigest.rb -${GEM_LIBDIR}/lib/xmlparser.${RUBY_DLEXT} -${GEM_LIBDIR}/lib/xmltree.rb -${GEM_LIBDIR}/lib/xmltreebuilder.rb -${GEM_LIBDIR}/lib/xmltreevisitor.rb -${GEM_HOME}/specifications/xmlparser-${PKGVERSION}.gemspec +@comment $NetBSD: PLIST,v 1.7 2010/09/10 08:48:31 taca Exp $ +${RUBY_VENDORLIB}/sax.rb +${RUBY_VENDORLIB}/saxdriver.rb +${RUBY_VENDORLIB}/wget.rb +${RUBY_VENDORARCHLIB}/xmlparser.${RUBY_DLEXT} +${RUBY_VENDORLIB}/xml/dom/builder.rb +${RUBY_VENDORLIB}/xml/dom/core.rb +${RUBY_VENDORLIB}/xml/dom/visitor.rb +${RUBY_VENDORLIB}/xml/dom2/attr.rb +${RUBY_VENDORLIB}/xml/dom2/cdatasection.rb +${RUBY_VENDORLIB}/xml/dom2/characterdata.rb +${RUBY_VENDORLIB}/xml/dom2/comment.rb +${RUBY_VENDORLIB}/xml/dom2/core.rb +${RUBY_VENDORLIB}/xml/dom2/document.rb +${RUBY_VENDORLIB}/xml/dom2/documentfragment.rb +${RUBY_VENDORLIB}/xml/dom2/documenttype.rb +${RUBY_VENDORLIB}/xml/dom2/dombuilder.rb +${RUBY_VENDORLIB}/xml/dom2/dombuilderfilter.rb +${RUBY_VENDORLIB}/xml/dom2/domentityresolver.rb +${RUBY_VENDORLIB}/xml/dom2/domentityresolverimpl.rb +${RUBY_VENDORLIB}/xml/dom2/domexception.rb +${RUBY_VENDORLIB}/xml/dom2/domimplementation.rb +${RUBY_VENDORLIB}/xml/dom2/dominputsource.rb +${RUBY_VENDORLIB}/xml/dom2/element.rb +${RUBY_VENDORLIB}/xml/dom2/entity.rb +${RUBY_VENDORLIB}/xml/dom2/entityreference.rb +${RUBY_VENDORLIB}/xml/dom2/namednodemap.rb +${RUBY_VENDORLIB}/xml/dom2/node.rb +${RUBY_VENDORLIB}/xml/dom2/nodelist.rb +${RUBY_VENDORLIB}/xml/dom2/notation.rb +${RUBY_VENDORLIB}/xml/dom2/processinginstruction.rb +${RUBY_VENDORLIB}/xml/dom2/text.rb +${RUBY_VENDORLIB}/xml/dom2/xpath.rb +${RUBY_VENDORLIB}/xml/parser.rb +${RUBY_VENDORLIB}/xml/parserns.rb +${RUBY_VENDORLIB}/xml/sax.rb +${RUBY_VENDORLIB}/xml/saxdriver.rb +${RUBY_VENDORLIB}/xml/xpath.rb +${RUBY_VENDORLIB}/xmldigest.rb +${RUBY_VENDORLIB}/xmltree.rb +${RUBY_VENDORLIB}/xmltreebuilder.rb +${RUBY_VENDORLIB}/xmltreevisitor.rb +${RUBY_DOC}/xmlparser/Encodings/README.ja +${RUBY_DOC}/xmlparser/README +${RUBY_DOC}/xmlparser/README.ja diff --git a/textproc/ruby-xmlparser/distinfo b/textproc/ruby-xmlparser/distinfo index d7f4f92fe43..f8fe30b71ef 100644 --- a/textproc/ruby-xmlparser/distinfo +++ b/textproc/ruby-xmlparser/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.5 2008/04/04 15:22:24 jlam Exp $ +$NetBSD: distinfo,v 1.6 2010/09/10 08:48:31 taca Exp $ -SHA1 (xmlparser-0.6.81.gem) = 8c1000bbc5b4e7a4fd84a06f8a51955323ace594 -RMD160 (xmlparser-0.6.81.gem) = dc8e1d7801239315ae780d036a13ec6404b789ed -Size (xmlparser-0.6.81.gem) = 91648 bytes -SHA1 (patch-ac) = 0087db1fc0a44b22541018de4efbb4caef53f81c +SHA1 (xmlparser-0.7.1.tar.gz) = 402e9abc24667c609ce4a8aa6ae4e8c41ef25225 +RMD160 (xmlparser-0.7.1.tar.gz) = 821e52621da1b149e5cf7eaf72a9787529015c78 +Size (xmlparser-0.7.1.tar.gz) = 120244 bytes diff --git a/textproc/ruby-xmlparser/patches/patch-ac b/textproc/ruby-xmlparser/patches/patch-ac deleted file mode 100644 index f9284741e4a..00000000000 --- a/textproc/ruby-xmlparser/patches/patch-ac +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ac,v 1.1 2008/04/04 15:22:24 jlam Exp $ - ---- Rakefile.orig 1969-12-31 19:00:00.000000000 -0500 -+++ Rakefile -@@ -28,7 +28,7 @@ setup_gem(name, version) do |spec| - spec.extensions << "Rakefile" - spec.files = FileList["lib/**/*","ext/**/*"].exclude("rdoc").to_a - spec.has_rdoc = false -- spec.extra_rdoc_files=['README', 'README.ja', 'MANIFEST', 'samples'] -+ spec.extra_rdoc_files=['README', 'README.ja', 'MANIFEST'] - spec.rubyforge_project = 'xmlparser' - end - |