summaryrefslogtreecommitdiff
path: root/textproc/ruby-xmlscan
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-08-22 08:26:47 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-08-22 08:26:47 +0000
commit187a8be20c563339d8ae06059b3c8505bb2b5bcf (patch)
tree21e7f0946049e94b6dbd69f6137bdbcf3ad9284e /textproc/ruby-xmlscan
parentAdd ruby-avl, AVL tree class for Ruby. (diff)
Add ruby-xmlscan, pure Ruby XML/HTML scanner and XPath
processor/compiler modules.
Notes
Notes: svn path=/head/; revision=46627
Diffstat (limited to 'textproc/ruby-xmlscan')
-rw-r--r--textproc/ruby-xmlscan/Makefile32
-rw-r--r--textproc/ruby-xmlscan/distinfo1
-rw-r--r--textproc/ruby-xmlscan/pkg-comment1
-rw-r--r--textproc/ruby-xmlscan/pkg-descr4
-rw-r--r--textproc/ruby-xmlscan/pkg-plist10
5 files changed, 48 insertions, 0 deletions
diff --git a/textproc/ruby-xmlscan/Makefile b/textproc/ruby-xmlscan/Makefile
new file mode 100644
index 000000000000..7b4170cfe394
--- /dev/null
+++ b/textproc/ruby-xmlscan/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: ruby-xmlscan
+# Date created: 7 August 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xmlscan
+PORTVERSION= 0.0.10
+CATEGORIES= textproc ruby
+MASTER_SITES= http://www.blue.sky.or.jp/atelier/ruby/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= racc:${PORTSDIR}/devel/ruby-racc
+RUN_DEPENDS= ${RUBY_SITELIBDIR}/racc/parser.rb:${PORTSDIR}/devel/ruby-racc-runtime
+
+USE_RUBY= yes
+
+do-build:
+ cd ${WRKSRC}; racc -v -g -c -o xmldtd.rb xmldtd.ry
+
+do-install:
+ cd ${WRKSRC}; ${INSTALL_DATA} [hx]*.rb ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
+ ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/ja/
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/ruby-xmlscan/distinfo b/textproc/ruby-xmlscan/distinfo
new file mode 100644
index 000000000000..f57e35dfeda5
--- /dev/null
+++ b/textproc/ruby-xmlscan/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/xmlscan-0.0.10.tar.gz) = f3c6543ee6637a2971a51408578c2eaf
diff --git a/textproc/ruby-xmlscan/pkg-comment b/textproc/ruby-xmlscan/pkg-comment
new file mode 100644
index 000000000000..b1bf7914eee5
--- /dev/null
+++ b/textproc/ruby-xmlscan/pkg-comment
@@ -0,0 +1 @@
+Pure Ruby XML/HTML scanner and XPath processor/compiler modules
diff --git a/textproc/ruby-xmlscan/pkg-descr b/textproc/ruby-xmlscan/pkg-descr
new file mode 100644
index 000000000000..248c4453f6d5
--- /dev/null
+++ b/textproc/ruby-xmlscan/pkg-descr
@@ -0,0 +1,4 @@
+This a set of pure Ruby XML/HTML scanner and XPath processor/compiler
+modules.
+
+Author: Ueno Katsuhiro <katsu@blue.sky.or.jp>
diff --git a/textproc/ruby-xmlscan/pkg-plist b/textproc/ruby-xmlscan/pkg-plist
new file mode 100644
index 000000000000..f1d1ff35bace
--- /dev/null
+++ b/textproc/ruby-xmlscan/pkg-plist
@@ -0,0 +1,10 @@
+%%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_DOCDIR%%/xmlscan/ja/README
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/xmlscan/ja
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/xmlscan