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.
This commit is contained in:
parent
0d18c34cb1
commit
f591cb2536
4 changed files with 64 additions and 79 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
Loading…
Reference in a new issue