summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-03-30 15:40:26 +0000
committerminskim <minskim@pkgsrc.org>2005-03-30 15:40:26 +0000
commitde13c6b68e281bbb2e1fb36630ba5fc42f0f1195 (patch)
tree8b397fdbe93db067606e389a95b5c382fef92720
parentea3b0754ae1fa039dc9f28b9fd29b9d828971565 (diff)
downloadpkgsrc-de13c6b68e281bbb2e1fb36630ba5fc42f0f1195.tar.gz
Import ruby-xmlscan from pkgsrc-wip. Packaged by OBATA Akio.
This is a High-performance non-validating XML parser written in 100% pure Ruby.
-rw-r--r--textproc/ruby-xmlscan/DESCR1
-rw-r--r--textproc/ruby-xmlscan/Makefile45
-rw-r--r--textproc/ruby-xmlscan/PLIST43
-rw-r--r--textproc/ruby-xmlscan/distinfo4
4 files changed, 93 insertions, 0 deletions
diff --git a/textproc/ruby-xmlscan/DESCR b/textproc/ruby-xmlscan/DESCR
new file mode 100644
index 00000000000..422ef7713fe
--- /dev/null
+++ b/textproc/ruby-xmlscan/DESCR
@@ -0,0 +1 @@
+High-performance non-validating XML parser written in 100% pure Ruby.
diff --git a/textproc/ruby-xmlscan/Makefile b/textproc/ruby-xmlscan/Makefile
new file mode 100644
index 00000000000..7c188c77dad
--- /dev/null
+++ b/textproc/ruby-xmlscan/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/03/30 15:40:26 minskim Exp $
+#
+
+DISTNAME= xmlscan-${VER}
+PKGNAME= ${RUBY_PKGPREFIX}-xmlscan-${VER}
+CATEGORIES= textproc ruby
+MASTER_SITES= http://www.blue.sky.or.jp/atelier/ruby/xmlscan/
+
+MAINTAINER= obata@lins.jp
+HOMEPAGE= http://www.blue.sky.or.jp/atelier/ruby/xmlscan/
+COMMENT= Pure Ruby XML parser
+
+VER= 0.2.3
+
+NO_BUILD= yes
+NO_CONFIGURE= yes
+USE_RUBY_INSTALL= yes
+
+REPLACE_RUBY= samples/getxmlchar.rb samples/xmlbench.rb \
+ samples/xmlconftest.rb
+
+DOCS= ChangeLog README THANKS
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/xmlscan
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/xmlscan
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/doc/changes.html ${RUBY_DOCDIR}/xmlscan
+ ${INSTALL_DATA} ${WRKSRC}/doc/changes.rd ${RUBY_DOCDIR}/xmlscan
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/xmlscan/en
+ ${INSTALL_DATA} ${WRKSRC}/doc/en/conformance.html ${RUBY_DOCDIR}/xmlscan/en
+ ${INSTALL_DATA} ${WRKSRC}/doc/en/conformance.rd ${RUBY_DOCDIR}/xmlscan/en
+ ${INSTALL_DATA} ${WRKSRC}/doc/en/manual.html ${RUBY_DOCDIR}/xmlscan/en
+ ${INSTALL_DATA} ${WRKSRC}/doc/en/manual.rd ${RUBY_DOCDIR}/xmlscan/en
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/xmlscan/ja
+ ${INSTALL_DATA} ${WRKSRC}/doc/ja/conformance.ja.html ${RUBY_DOCDIR}/xmlscan/ja
+ ${INSTALL_DATA} ${WRKSRC}/doc/ja/conformance.ja.rd ${RUBY_DOCDIR}/xmlscan/ja
+ ${INSTALL_DATA} ${WRKSRC}/doc/ja/manual.ja.html ${RUBY_DOCDIR}/xmlscan/ja
+ ${INSTALL_DATA} ${WRKSRC}/doc/ja/manual.ja.rd ${RUBY_DOCDIR}/xmlscan/ja
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/xmlscan
+ cd ${WRKSRC}/samples && ${PAX} -rw -pp * ${RUBY_EXAMPLESDIR}/xmlscan
+
+.include "../../lang/ruby/modules.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ruby-xmlscan/PLIST b/textproc/ruby-xmlscan/PLIST
new file mode 100644
index 00000000000..7ee8f1ebfae
--- /dev/null
+++ b/textproc/ruby-xmlscan/PLIST
@@ -0,0 +1,43 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/30 15:40:27 minskim Exp $
+${RUBY_SITELIBDIR}/xmlscan/encoding.rb
+${RUBY_SITELIBDIR}/xmlscan/htmlscan.rb
+${RUBY_SITELIBDIR}/xmlscan/namespace.rb
+${RUBY_SITELIBDIR}/xmlscan/parser.rb
+${RUBY_SITELIBDIR}/xmlscan/scanner.rb
+${RUBY_SITELIBDIR}/xmlscan/version.rb
+${RUBY_SITELIBDIR}/xmlscan/visitor.rb
+${RUBY_SITELIBDIR}/xmlscan/xmlchar.rb
+@dirrm ${RUBY_SITELIBDIR}/xmlscan
+${RUBY_DOCDIR}/xmlscan/ChangeLog
+${RUBY_DOCDIR}/xmlscan/README
+${RUBY_DOCDIR}/xmlscan/THANKS
+${RUBY_DOCDIR}/xmlscan/changes.html
+${RUBY_DOCDIR}/xmlscan/changes.rd
+${RUBY_DOCDIR}/xmlscan/en/conformance.html
+${RUBY_DOCDIR}/xmlscan/en/conformance.rd
+${RUBY_DOCDIR}/xmlscan/en/manual.html
+${RUBY_DOCDIR}/xmlscan/en/manual.rd
+${RUBY_DOCDIR}/xmlscan/ja/conformance.ja.html
+${RUBY_DOCDIR}/xmlscan/ja/conformance.ja.rd
+${RUBY_DOCDIR}/xmlscan/ja/manual.ja.html
+${RUBY_DOCDIR}/xmlscan/ja/manual.ja.rd
+@dirrm ${RUBY_DOCDIR}/xmlscan/en
+@dirrm ${RUBY_DOCDIR}/xmlscan/ja
+@dirrm ${RUBY_DOCDIR}/xmlscan
+${RUBY_EXAMPLESDIR}/xmlscan/chibixml.rb
+${RUBY_EXAMPLESDIR}/xmlscan/getxmlchar.rb
+${RUBY_EXAMPLESDIR}/xmlscan/rexml.rb
+${RUBY_EXAMPLESDIR}/xmlscan/xmlbench.rb
+${RUBY_EXAMPLESDIR}/xmlscan/xmlconftest.rb
+${RUBY_EXAMPLESDIR}/xmlscan/xmlbench/xmlbench-lib.rb
+${RUBY_EXAMPLESDIR}/xmlscan/xmlbench/parser/chibixml.rb
+${RUBY_EXAMPLESDIR}/xmlscan/xmlbench/parser/nqxml.rb
+${RUBY_EXAMPLESDIR}/xmlscan/xmlbench/parser/rexml.rb
+${RUBY_EXAMPLESDIR}/xmlscan/xmlbench/parser/xmlparser.rb
+${RUBY_EXAMPLESDIR}/xmlscan/xmlbench/parser/xmlscan-0.0.10.rb
+${RUBY_EXAMPLESDIR}/xmlscan/xmlbench/parser/xmlscan-chibixml.rb
+${RUBY_EXAMPLESDIR}/xmlscan/xmlbench/parser/xmlscan-rexml.rb
+${RUBY_EXAMPLESDIR}/xmlscan/xmlbench/parser/xmlscan.rb
+@dirrm ${RUBY_EXAMPLESDIR}/xmlscan/xmlbench/parser
+@dirrm ${RUBY_EXAMPLESDIR}/xmlscan/xmlbench
+@dirrm ${RUBY_EXAMPLESDIR}/xmlscan
diff --git a/textproc/ruby-xmlscan/distinfo b/textproc/ruby-xmlscan/distinfo
new file mode 100644
index 00000000000..2ed9ca09d61
--- /dev/null
+++ b/textproc/ruby-xmlscan/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/03/30 15:40:26 minskim Exp $
+
+SHA1 (ruby/xmlscan-0.2.3.tar.gz) = 70c989d3782c916179170238a40b1d7defa9dc47
+Size (ruby/xmlscan-0.2.3.tar.gz) = 88414 bytes