aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-xmlscan
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-02-01 04:30:18 +0800
committerknu <knu@FreeBSD.org>2003-02-01 04:30:18 +0800
commit22d2b18b7e2b170617d73a2e0bf043444155ede5 (patch)
tree0c32ae0c56df54e42e065172b5353038060c062c /textproc/ruby-xmlscan
parent8e0fc15d68c536efa91826806af529dcdd496025 (diff)
downloadfreebsd-ports-gnome-22d2b18b7e2b170617d73a2e0bf043444155ede5.tar.gz
freebsd-ports-gnome-22d2b18b7e2b170617d73a2e0bf043444155ede5.tar.zst
freebsd-ports-gnome-22d2b18b7e2b170617d73a2e0bf043444155ede5.zip
Update to 0.2.1. Note that this version is incompatible with the
previous version, which is preserved as textproc/ruby-xmlscan-old.
Diffstat (limited to 'textproc/ruby-xmlscan')
-rw-r--r--textproc/ruby-xmlscan/Makefile28
-rw-r--r--textproc/ruby-xmlscan/distinfo2
-rw-r--r--textproc/ruby-xmlscan/pkg-comment2
-rw-r--r--textproc/ruby-xmlscan/pkg-descr4
-rw-r--r--textproc/ruby-xmlscan/pkg-plist47
5 files changed, 62 insertions, 21 deletions
diff --git a/textproc/ruby-xmlscan/Makefile b/textproc/ruby-xmlscan/Makefile
index 7d05269d8e42..ddcc00b9fdc1 100644
--- a/textproc/ruby-xmlscan/Makefile
+++ b/textproc/ruby-xmlscan/Makefile
@@ -6,27 +6,37 @@
#
PORTNAME= xmlscan
-PORTVERSION= 0.0.10
+PORTVERSION= 0.2.1
CATEGORIES= textproc ruby
-MASTER_SITES= http://www.blue.sky.or.jp/atelier/ruby/xmlscan/old/
+MASTER_SITES= http://www.blue.sky.or.jp/atelier/ruby/xmlscan/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
-BUILD_DEPENDS= racc:${PORTSDIR}/devel/ruby-racc
-
USE_RUBY= yes
-USE_RUBY_FEATURES= racc-runtime
-do-build:
- cd ${WRKSRC}; racc -v -g -c -o xmldtd.rb xmldtd.ry
+NO_BUILD= yes
+
+DOCS_EN= ChangeLog \
+ README \
+ THANKS \
+ doc/changes.* \
+ doc/en/*
+DOCS_JA= doc/ja/*
do-install:
- cd ${WRKSRC}; ${INSTALL_DATA} [hx]*.rb ${RUBY_SITELIBDIR}/
+ ${CP} -R ${WRKSRC}/lib/xmlscan ${RUBY_SITELIBDIR}/
.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ ${CP} -R ${WRKSRC}/samples/* ${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${RUBY_MODDOCDIR}/ja
- ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}/ja/
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/textproc/ruby-xmlscan/distinfo b/textproc/ruby-xmlscan/distinfo
index f57e35dfeda5..720fb0352b51 100644
--- a/textproc/ruby-xmlscan/distinfo
+++ b/textproc/ruby-xmlscan/distinfo
@@ -1 +1 @@
-MD5 (ruby/xmlscan-0.0.10.tar.gz) = f3c6543ee6637a2971a51408578c2eaf
+MD5 (ruby/xmlscan-0.2.1.tar.gz) = 3d8a664d0641b3d816be57cf6856714c
diff --git a/textproc/ruby-xmlscan/pkg-comment b/textproc/ruby-xmlscan/pkg-comment
index b1bf7914eee5..4ba0e21c4252 100644
--- a/textproc/ruby-xmlscan/pkg-comment
+++ b/textproc/ruby-xmlscan/pkg-comment
@@ -1 +1 @@
-Pure Ruby XML/HTML scanner and XPath processor/compiler modules
+High-performance non-validating XML parser written in 100% pure Ruby
diff --git a/textproc/ruby-xmlscan/pkg-descr b/textproc/ruby-xmlscan/pkg-descr
index 248c4453f6d5..02b713374ca4 100644
--- a/textproc/ruby-xmlscan/pkg-descr
+++ b/textproc/ruby-xmlscan/pkg-descr
@@ -1,4 +1,4 @@
-This a set of pure Ruby XML/HTML scanner and XPath processor/compiler
-modules.
+Ruby/xmlscan is a high-performance non-validating XML parser written
+in 100% pure Ruby.
Author: Ueno Katsuhiro <katsu@blue.sky.or.jp>
diff --git a/textproc/ruby-xmlscan/pkg-plist b/textproc/ruby-xmlscan/pkg-plist
index 9e45d181b98a..1fb290d5e9db 100644
--- a/textproc/ruby-xmlscan/pkg-plist
+++ b/textproc/ruby-xmlscan/pkg-plist
@@ -1,10 +1,41 @@
-%%RUBY_SITELIBDIR%%/htmlscan.rb
-%%RUBY_SITELIBDIR%%/xmldtd.rb
-%%RUBY_SITELIBDIR%%/xmlscan.rb
-%%RUBY_SITELIBDIR%%/xmltoken.rb
-%%RUBY_SITELIBDIR%%/xpath-dom.rb
-%%RUBY_SITELIBDIR%%/xpath.rb
-%%RUBY_SITELIBDIR%%/xpathtree.rb
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README
+%%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
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/THANKS
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/changes.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/changes.rd
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/conformance.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/conformance.rd
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/manual.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/manual.rd
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/conformance.ja.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/conformance.ja.rd
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/manual.ja.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/manual.ja.rd
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/chibixml.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/getxmlchar.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rexml.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/xmlbench.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/xmlbench/parser/chibixml.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/xmlbench/parser/nqxml.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/xmlbench/parser/rexml.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/xmlbench/parser/xmlparser.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/xmlbench/parser/xmlscan-0.0.10.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/xmlbench/parser/xmlscan-chibixml.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/xmlbench/parser/xmlscan-rexml.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/xmlbench/parser/xmlscan.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/xmlbench/xmlbench-lib.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/xmlconftest.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/xmlbench/parser
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/xmlbench
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%