aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-xmlscan-old
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-08-22 16:26:47 +0800
committerknu <knu@FreeBSD.org>2001-08-22 16:26:47 +0800
commit0287139b0ae0b3a873bf03fb6d64f279797fc0a7 (patch)
tree8aa342530bb3aa7ae61b1410d746422b109bfead /textproc/ruby-xmlscan-old
parent5a65111f7306185df64b92a24532d56924eac110 (diff)
downloadfreebsd-ports-gnome-0287139b0ae0b3a873bf03fb6d64f279797fc0a7.tar.gz
freebsd-ports-gnome-0287139b0ae0b3a873bf03fb6d64f279797fc0a7.tar.zst
freebsd-ports-gnome-0287139b0ae0b3a873bf03fb6d64f279797fc0a7.zip
Add ruby-xmlscan, pure Ruby XML/HTML scanner and XPath
processor/compiler modules.
Diffstat (limited to 'textproc/ruby-xmlscan-old')
-rw-r--r--textproc/ruby-xmlscan-old/Makefile32
-rw-r--r--textproc/ruby-xmlscan-old/distinfo1
-rw-r--r--textproc/ruby-xmlscan-old/pkg-comment1
-rw-r--r--textproc/ruby-xmlscan-old/pkg-descr4
-rw-r--r--textproc/ruby-xmlscan-old/pkg-plist10
5 files changed, 48 insertions, 0 deletions
diff --git a/textproc/ruby-xmlscan-old/Makefile b/textproc/ruby-xmlscan-old/Makefile
new file mode 100644
index 000000000000..7b4170cfe394
--- /dev/null
+++ b/textproc/ruby-xmlscan-old/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-old/distinfo b/textproc/ruby-xmlscan-old/distinfo
new file mode 100644
index 000000000000..f57e35dfeda5
--- /dev/null
+++ b/textproc/ruby-xmlscan-old/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/xmlscan-0.0.10.tar.gz) = f3c6543ee6637a2971a51408578c2eaf
diff --git a/textproc/ruby-xmlscan-old/pkg-comment b/textproc/ruby-xmlscan-old/pkg-comment
new file mode 100644
index 000000000000..b1bf7914eee5
--- /dev/null
+++ b/textproc/ruby-xmlscan-old/pkg-comment
@@ -0,0 +1 @@
+Pure Ruby XML/HTML scanner and XPath processor/compiler modules
diff --git a/textproc/ruby-xmlscan-old/pkg-descr b/textproc/ruby-xmlscan-old/pkg-descr
new file mode 100644
index 000000000000..248c4453f6d5
--- /dev/null
+++ b/textproc/ruby-xmlscan-old/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-old/pkg-plist b/textproc/ruby-xmlscan-old/pkg-plist
new file mode 100644
index 000000000000..f1d1ff35bace
--- /dev/null
+++ b/textproc/ruby-xmlscan-old/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