diff options
author | taca <taca@pkgsrc.org> | 2002-01-27 15:27:28 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2002-01-27 15:27:28 +0000 |
commit | 85db5ce03f994f022d2cab8fde2d5548b9bf0f05 (patch) | |
tree | f90bd3422a46a6b386e1556c4fa2086b67fb8dcd | |
parent | 21d0f7d14a055c3eac04fe19f5bed288db7a5fd2 (diff) | |
download | pkgsrc-85db5ce03f994f022d2cab8fde2d5548b9bf0f05.tar.gz |
Importing ruby-nqxml package 1.1.3.1, XML parser written in pure Ruby.
Based on PR pkg/14301 with slightly modification and newer version 1.1.3p1.
-rw-r--r-- | textproc/ruby-nqxml/DESCR | 4 | ||||
-rw-r--r-- | textproc/ruby-nqxml/Makefile | 54 | ||||
-rw-r--r-- | textproc/ruby-nqxml/PLIST | 39 | ||||
-rw-r--r-- | textproc/ruby-nqxml/distinfo | 4 |
4 files changed, 101 insertions, 0 deletions
diff --git a/textproc/ruby-nqxml/DESCR b/textproc/ruby-nqxml/DESCR new file mode 100644 index 00000000000..cd31a0c6704 --- /dev/null +++ b/textproc/ruby-nqxml/DESCR @@ -0,0 +1,4 @@ +NQXML is a pure Ruby implementation of a non-validating XML processor. It +includes an XML tokenizer, a SAX-style streaming XML parser, a DOM-style +tree parser, an XML writer, and a context-sensitive callback mechanism. +``NQ'' stands for ``Not Quite''. diff --git a/textproc/ruby-nqxml/Makefile b/textproc/ruby-nqxml/Makefile new file mode 100644 index 00000000000..4feb1060fd7 --- /dev/null +++ b/textproc/ruby-nqxml/Makefile @@ -0,0 +1,54 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/01/27 15:27:28 taca Exp $ +# + +DISTNAME= nqxml-1.1.3p1 +PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME:S/p/./} +CATEGORIES= textproc +MASTER_SITES= http://rrr.jin.gr.jp/download/ \ + http://www.io.com/~jimm/downloads/nqxml/ + +MAINTAINER= neumann@s-direktnet.de +HOMEPAGE= http://www.io.com/~jimm/downloads/nqxml/index.html +COMMENT= XML parser written in pure Ruby + +DIST_SUBDIR= ruby +USE_RUBY= yes +NO_BUILD= yes + +DOC= README +EXAMPLES= data.xml doc.xml dumpXML.rb parseTestStream.rb \ + parseTestTree.rb printEntityClassNames.rb \ + reverseTags.rb reverseText.rb write.rb \ + write.rb writeManualDoc.rb writeParsedDoc.rb +CONTRIB_LIB= autodis_1.rb autodis_2.rb +TESTS= dispatchertester.rb oasis.rb streamingparsertester.rb test.rb \ + testresource.rb tokenizertester.rb treeparsertester.rb \ + writertester.rb +REPLACE_RUBY= examples/dumpXML.rb examples/parseTestStream.rb \ + examples/parseTestTree.rb examples/printEntityClassNames.rb \ + examples/reverseTags.rb examples/reverseText.rb \ + examples/write.rb examples/writeManualDoc.rb \ + examples/writeParsedDoc.rb tests/oasis.rb tests/test.rb + +do-install: + cd ${WRKSRC}; ${RUBY} install.rb + +post-install: + ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/nqxml +.for f in ${DOC} + ${INSTALL_DATA} ${WRKSRC}/$f ${RUBY_DOCDIR}/nqxml +.endfor + ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/nqxml/contrib +.for f in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/examples/$f ${RUBY_EXAMPLESDIR}/nqxml +.endfor +.for f in ${CONTRIB_LIB} + ${INSTALL_DATA} ${WRKSRC}/contrib/$f ${RUBY_EXAMPLESDIR}/nqxml/contrib +.endfor + ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/nqxml/tests +.for f in ${TESTS} + ${INSTALL_DATA} ${WRKSRC}/tests/$f ${RUBY_EXAMPLESDIR}/nqxml/tests +.endfor + +.include "../../lang/ruby-base/Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/ruby-nqxml/PLIST b/textproc/ruby-nqxml/PLIST new file mode 100644 index 00000000000..6dc28b8846f --- /dev/null +++ b/textproc/ruby-nqxml/PLIST @@ -0,0 +1,39 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/01/27 15:27:28 taca Exp $ +${RUBY_SITELIBDIR}/nqxml/dispatcher.rb +${RUBY_SITELIBDIR}/nqxml/document.rb +${RUBY_SITELIBDIR}/nqxml/entities.rb +${RUBY_SITELIBDIR}/nqxml/error.rb +${RUBY_SITELIBDIR}/nqxml/info.rb +${RUBY_SITELIBDIR}/nqxml/parser.rb +${RUBY_SITELIBDIR}/nqxml/streamingparser.rb +${RUBY_SITELIBDIR}/nqxml/tokenizer.rb +${RUBY_SITELIBDIR}/nqxml/treeparser.rb +${RUBY_SITELIBDIR}/nqxml/utils.rb +${RUBY_SITELIBDIR}/nqxml/writer.rb +@dirrm ${RUBY_SITELIBDIR}/nqxml +${RUBY_DOCDIR}/nqxml/README +@dirrm ${RUBY_DOCDIR}/nqxml +${RUBY_EXAMPLESDIR}/nqxml/contrib/autodis_1.rb +${RUBY_EXAMPLESDIR}/nqxml/contrib/autodis_2.rb +@dirrm ${RUBY_EXAMPLESDIR}/nqxml/contrib +${RUBY_EXAMPLESDIR}/nqxml/data.xml +${RUBY_EXAMPLESDIR}/nqxml/doc.xml +${RUBY_EXAMPLESDIR}/nqxml/dumpXML.rb +${RUBY_EXAMPLESDIR}/nqxml/parseTestStream.rb +${RUBY_EXAMPLESDIR}/nqxml/parseTestTree.rb +${RUBY_EXAMPLESDIR}/nqxml/printEntityClassNames.rb +${RUBY_EXAMPLESDIR}/nqxml/reverseTags.rb +${RUBY_EXAMPLESDIR}/nqxml/reverseText.rb +${RUBY_EXAMPLESDIR}/nqxml/tests/dispatchertester.rb +${RUBY_EXAMPLESDIR}/nqxml/tests/oasis.rb +${RUBY_EXAMPLESDIR}/nqxml/tests/streamingparsertester.rb +${RUBY_EXAMPLESDIR}/nqxml/tests/test.rb +${RUBY_EXAMPLESDIR}/nqxml/tests/testresource.rb +${RUBY_EXAMPLESDIR}/nqxml/tests/tokenizertester.rb +${RUBY_EXAMPLESDIR}/nqxml/tests/treeparsertester.rb +${RUBY_EXAMPLESDIR}/nqxml/tests/writertester.rb +@dirrm ${RUBY_EXAMPLESDIR}/nqxml/tests +${RUBY_EXAMPLESDIR}/nqxml/write.rb +${RUBY_EXAMPLESDIR}/nqxml/writeManualDoc.rb +${RUBY_EXAMPLESDIR}/nqxml/writeParsedDoc.rb +@dirrm ${RUBY_EXAMPLESDIR}/nqxml diff --git a/textproc/ruby-nqxml/distinfo b/textproc/ruby-nqxml/distinfo new file mode 100644 index 00000000000..ebde3704118 --- /dev/null +++ b/textproc/ruby-nqxml/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/01/27 15:27:28 taca Exp $ + +SHA1 (ruby/nqxml-1.1.3p1.tar.gz) = abac255fdfd09dfc269bf7488029b41081cff44e +Size (ruby/nqxml-1.1.3p1.tar.gz) = 63165 bytes |